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_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3385 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3386 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3391 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3392 PyObject
*pyobj
= 0;
3396 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3405 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
= 0;
3407 wxWindow
*arg1
= (wxWindow
*) 0 ;
3408 int arg2
= (int) -1 ;
3409 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3410 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3415 long arg6
= (long) 0 ;
3416 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3417 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3418 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3419 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3420 wxButton
*result
= 0 ;
3425 bool temp3
= false ;
3432 bool temp8
= false ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3435 PyObject
* obj2
= 0 ;
3436 PyObject
* obj3
= 0 ;
3437 PyObject
* obj4
= 0 ;
3438 PyObject
* obj5
= 0 ;
3439 PyObject
* obj6
= 0 ;
3440 PyObject
* obj7
= 0 ;
3441 char * kwnames
[] = {
3442 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3447 if (!SWIG_IsOK(res1
)) {
3448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3453 if (!SWIG_IsOK(ecode2
)) {
3454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3456 arg2
= static_cast< int >(val2
);
3460 arg3
= wxString_in_helper(obj2
);
3461 if (arg3
== NULL
) SWIG_fail
;
3468 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3474 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3478 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3479 if (!SWIG_IsOK(ecode6
)) {
3480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3482 arg6
= static_cast< long >(val6
);
3485 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3486 if (!SWIG_IsOK(res7
)) {
3487 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3492 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3496 arg8
= wxString_in_helper(obj7
);
3497 if (arg8
== NULL
) SWIG_fail
;
3502 if (!wxPyCheckForApp()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3531 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3532 PyObject
*resultobj
= 0;
3533 wxButton
*result
= 0 ;
3535 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3537 if (!wxPyCheckForApp()) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (wxButton
*)new wxButton();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3550 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
= 0;
3552 wxButton
*arg1
= (wxButton
*) 0 ;
3553 wxWindow
*arg2
= (wxWindow
*) 0 ;
3554 int arg3
= (int) -1 ;
3555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3561 long arg7
= (long) 0 ;
3562 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3563 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3564 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3565 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3573 bool temp4
= false ;
3580 bool temp9
= false ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3583 PyObject
* obj2
= 0 ;
3584 PyObject
* obj3
= 0 ;
3585 PyObject
* obj4
= 0 ;
3586 PyObject
* obj5
= 0 ;
3587 PyObject
* obj6
= 0 ;
3588 PyObject
* obj7
= 0 ;
3589 PyObject
* obj8
= 0 ;
3590 char * kwnames
[] = {
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3596 if (!SWIG_IsOK(res1
)) {
3597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3599 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3601 if (!SWIG_IsOK(res2
)) {
3602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3604 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3607 if (!SWIG_IsOK(ecode3
)) {
3608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3610 arg3
= static_cast< int >(val3
);
3614 arg4
= wxString_in_helper(obj3
);
3615 if (arg4
== NULL
) SWIG_fail
;
3622 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3628 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3633 if (!SWIG_IsOK(ecode7
)) {
3634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3636 arg7
= static_cast< long >(val7
);
3639 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3640 if (!SWIG_IsOK(res8
)) {
3641 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3646 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3650 arg9
= wxString_in_helper(obj8
);
3651 if (arg9
== NULL
) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3686 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3687 PyObject
*resultobj
= 0;
3688 wxButton
*arg1
= (wxButton
*) 0 ;
3691 PyObject
*swig_obj
[1] ;
3693 if (!args
) SWIG_fail
;
3695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3696 if (!SWIG_IsOK(res1
)) {
3697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3699 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->SetDefault();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_Py_Void();
3713 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3714 PyObject
*resultobj
= 0;
3717 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= wxButton::GetDefaultSize();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3731 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
= 0;
3733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3734 SwigValueWrapper
<wxVisualAttributes
> result
;
3737 PyObject
* obj0
= 0 ;
3738 char * kwnames
[] = {
3739 (char *) "variant", NULL
3742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3745 if (!SWIG_IsOK(ecode1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3748 arg1
= static_cast< wxWindowVariant
>(val1
);
3751 if (!wxPyCheckForApp()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= wxButton::GetClassDefaultAttributes(arg1
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3764 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3767 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3768 return SWIG_Py_Void();
3771 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3772 return SWIG_Python_InitShadowInstance(args
);
3775 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
= 0;
3777 wxWindow
*arg1
= (wxWindow
*) 0 ;
3778 int arg2
= (int) -1 ;
3779 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3780 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3785 long arg6
= (long) wxBU_AUTODRAW
;
3786 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3787 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3788 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3790 wxBitmapButton
*result
= 0 ;
3803 bool temp8
= false ;
3804 PyObject
* obj0
= 0 ;
3805 PyObject
* obj1
= 0 ;
3806 PyObject
* obj2
= 0 ;
3807 PyObject
* obj3
= 0 ;
3808 PyObject
* obj4
= 0 ;
3809 PyObject
* obj5
= 0 ;
3810 PyObject
* obj6
= 0 ;
3811 PyObject
* obj7
= 0 ;
3812 char * kwnames
[] = {
3813 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3818 if (!SWIG_IsOK(res1
)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3824 if (!SWIG_IsOK(ecode2
)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3827 arg2
= static_cast< int >(val2
);
3830 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3831 if (!SWIG_IsOK(res3
)) {
3832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3837 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3853 if (!SWIG_IsOK(ecode6
)) {
3854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3856 arg6
= static_cast< long >(val6
);
3859 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3860 if (!SWIG_IsOK(res7
)) {
3861 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3866 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3870 arg8
= wxString_in_helper(obj7
);
3871 if (arg8
== NULL
) SWIG_fail
;
3876 if (!wxPyCheckForApp()) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3897 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxBitmapButton
*result
= 0 ;
3901 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxBitmapButton
*)new wxBitmapButton();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3916 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
= 0;
3918 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3919 wxWindow
*arg2
= (wxWindow
*) 0 ;
3920 int arg3
= (int) -1 ;
3921 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3922 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3923 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3924 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3925 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3926 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3927 long arg7
= (long) wxBU_AUTODRAW
;
3928 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3929 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3930 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3947 bool temp9
= false ;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3950 PyObject
* obj2
= 0 ;
3951 PyObject
* obj3
= 0 ;
3952 PyObject
* obj4
= 0 ;
3953 PyObject
* obj5
= 0 ;
3954 PyObject
* obj6
= 0 ;
3955 PyObject
* obj7
= 0 ;
3956 PyObject
* obj8
= 0 ;
3957 char * kwnames
[] = {
3958 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3963 if (!SWIG_IsOK(res1
)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3966 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3968 if (!SWIG_IsOK(res2
)) {
3969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3974 if (!SWIG_IsOK(ecode3
)) {
3975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3977 arg3
= static_cast< int >(val3
);
3980 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3981 if (!SWIG_IsOK(res4
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3987 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3992 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3998 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4002 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4003 if (!SWIG_IsOK(ecode7
)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4006 arg7
= static_cast< long >(val7
);
4009 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4010 if (!SWIG_IsOK(res8
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4016 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4020 arg9
= wxString_in_helper(obj8
);
4021 if (arg9
== NULL
) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4048 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4049 PyObject
*resultobj
= 0;
4050 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4054 PyObject
*swig_obj
[1] ;
4056 if (!args
) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4062 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (arg1
)->GetBitmapLabel();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4076 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 PyObject
*resultobj
= 0;
4078 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4082 PyObject
*swig_obj
[1] ;
4084 if (!args
) SWIG_fail
;
4086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4087 if (!SWIG_IsOK(res1
)) {
4088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4090 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (arg1
)->GetBitmapDisabled();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4104 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4105 PyObject
*resultobj
= 0;
4106 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4110 PyObject
*swig_obj
[1] ;
4112 if (!args
) SWIG_fail
;
4114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4115 if (!SWIG_IsOK(res1
)) {
4116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4118 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (arg1
)->GetBitmapFocus();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4132 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4133 PyObject
*resultobj
= 0;
4134 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4138 PyObject
*swig_obj
[1] ;
4140 if (!args
) SWIG_fail
;
4142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4143 if (!SWIG_IsOK(res1
)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4146 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (arg1
)->GetBitmapSelected();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4160 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4161 PyObject
*resultobj
= 0;
4162 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4166 PyObject
*swig_obj
[1] ;
4168 if (!args
) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4174 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (arg1
)->GetBitmapHover();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4188 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
= 0;
4190 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4191 wxBitmap
*arg2
= 0 ;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4198 char * kwnames
[] = {
4199 (char *) "self",(char *) "bitmap", NULL
4202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4204 if (!SWIG_IsOK(res1
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4207 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4209 if (!SWIG_IsOK(res2
)) {
4210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4215 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_Py_Void();
4229 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
= 0;
4231 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4232 wxBitmap
*arg2
= 0 ;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4239 char * kwnames
[] = {
4240 (char *) "self",(char *) "bitmap", NULL
4243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4245 if (!SWIG_IsOK(res1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4248 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4250 if (!SWIG_IsOK(res2
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4256 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= 0;
4272 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4273 wxBitmap
*arg2
= 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "bitmap", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4289 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4291 if (!SWIG_IsOK(res2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4297 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_Py_Void();
4311 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
= 0;
4313 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4314 wxBitmap
*arg2
= 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4321 char * kwnames
[] = {
4322 (char *) "self",(char *) "bitmap", NULL
4325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4327 if (!SWIG_IsOK(res1
)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4330 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4332 if (!SWIG_IsOK(res2
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4338 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_Py_Void();
4352 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
= 0;
4354 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4355 wxBitmap
*arg2
= 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 char * kwnames
[] = {
4363 (char *) "self",(char *) "hover", NULL
4366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4368 if (!SWIG_IsOK(res1
)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4371 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4373 if (!SWIG_IsOK(res2
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4379 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4406 PyObject
* obj2
= 0 ;
4407 char * kwnames
[] = {
4408 (char *) "self",(char *) "x",(char *) "y", NULL
4411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4418 if (!SWIG_IsOK(ecode2
)) {
4419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4421 arg2
= static_cast< int >(val2
);
4422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4423 if (!SWIG_IsOK(ecode3
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4426 arg3
= static_cast< int >(val3
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetMargins(arg2
,arg3
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_Py_Void();
4440 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4441 PyObject
*resultobj
= 0;
4442 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4446 PyObject
*swig_obj
[1] ;
4448 if (!args
) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4454 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_From_int(static_cast< int >(result
));
4468 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4469 PyObject
*resultobj
= 0;
4470 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4474 PyObject
*swig_obj
[1] ;
4476 if (!args
) SWIG_fail
;
4478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4479 if (!SWIG_IsOK(res1
)) {
4480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4482 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 resultobj
= SWIG_From_int(static_cast< int >(result
));
4496 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4499 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4500 return SWIG_Py_Void();
4503 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4504 return SWIG_Python_InitShadowInstance(args
);
4507 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4508 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4513 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4514 PyObject
*pyobj
= 0;
4518 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4527 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
= 0;
4529 wxWindow
*arg1
= (wxWindow
*) 0 ;
4530 int arg2
= (int) -1 ;
4531 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4532 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4537 long arg6
= (long) 0 ;
4538 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4539 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4540 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4541 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4542 wxCheckBox
*result
= 0 ;
4547 bool temp3
= false ;
4554 bool temp8
= false ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4557 PyObject
* obj2
= 0 ;
4558 PyObject
* obj3
= 0 ;
4559 PyObject
* obj4
= 0 ;
4560 PyObject
* obj5
= 0 ;
4561 PyObject
* obj6
= 0 ;
4562 PyObject
* obj7
= 0 ;
4563 char * kwnames
[] = {
4564 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4569 if (!SWIG_IsOK(res1
)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4575 if (!SWIG_IsOK(ecode2
)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4578 arg2
= static_cast< int >(val2
);
4582 arg3
= wxString_in_helper(obj2
);
4583 if (arg3
== NULL
) SWIG_fail
;
4590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4600 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4601 if (!SWIG_IsOK(ecode6
)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4604 arg6
= static_cast< long >(val6
);
4607 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4608 if (!SWIG_IsOK(res7
)) {
4609 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4614 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4618 arg8
= wxString_in_helper(obj7
);
4619 if (arg8
== NULL
) SWIG_fail
;
4624 if (!wxPyCheckForApp()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4653 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4654 PyObject
*resultobj
= 0;
4655 wxCheckBox
*result
= 0 ;
4657 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4659 if (!wxPyCheckForApp()) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (wxCheckBox
*)new wxCheckBox();
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4672 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
= 0;
4674 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4675 wxWindow
*arg2
= (wxWindow
*) 0 ;
4676 int arg3
= (int) -1 ;
4677 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4683 long arg7
= (long) 0 ;
4684 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4685 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4686 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4687 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4695 bool temp4
= false ;
4702 bool temp9
= false ;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4705 PyObject
* obj2
= 0 ;
4706 PyObject
* obj3
= 0 ;
4707 PyObject
* obj4
= 0 ;
4708 PyObject
* obj5
= 0 ;
4709 PyObject
* obj6
= 0 ;
4710 PyObject
* obj7
= 0 ;
4711 PyObject
* obj8
= 0 ;
4712 char * kwnames
[] = {
4713 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4721 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res2
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4729 if (!SWIG_IsOK(ecode3
)) {
4730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4732 arg3
= static_cast< int >(val3
);
4736 arg4
= wxString_in_helper(obj3
);
4737 if (arg4
== NULL
) SWIG_fail
;
4744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4754 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4755 if (!SWIG_IsOK(ecode7
)) {
4756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4758 arg7
= static_cast< long >(val7
);
4761 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4762 if (!SWIG_IsOK(res8
)) {
4763 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4768 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4772 arg9
= wxString_in_helper(obj8
);
4773 if (arg9
== NULL
) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4808 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4809 PyObject
*resultobj
= 0;
4810 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4814 PyObject
*swig_obj
[1] ;
4816 if (!args
) SWIG_fail
;
4818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4819 if (!SWIG_IsOK(res1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4822 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->GetValue();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4838 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4839 PyObject
*resultobj
= 0;
4840 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4844 PyObject
*swig_obj
[1] ;
4846 if (!args
) SWIG_fail
;
4848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4849 if (!SWIG_IsOK(res1
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4852 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (bool)(arg1
)->IsChecked();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
= 0;
4870 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 char * kwnames
[] = {
4879 (char *) "self",(char *) "state", NULL
4882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4887 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4888 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4889 if (!SWIG_IsOK(ecode2
)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4892 arg2
= static_cast< bool >(val2
);
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetValue(arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_Py_Void();
4906 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4907 PyObject
*resultobj
= 0;
4908 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4909 wxCheckBoxState result
;
4912 PyObject
*swig_obj
[1] ;
4914 if (!args
) SWIG_fail
;
4916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4917 if (!SWIG_IsOK(res1
)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4920 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_From_int(static_cast< int >(result
));
4934 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
= 0;
4936 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4937 wxCheckBoxState arg2
;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 char * kwnames
[] = {
4945 (char *) "self",(char *) "state", NULL
4948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4953 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4958 arg2
= static_cast< wxCheckBoxState
>(val2
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->Set3StateValue(arg2
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_Py_Void();
4972 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4974 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4978 PyObject
*swig_obj
[1] ;
4980 if (!args
) SWIG_fail
;
4982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4983 if (!SWIG_IsOK(res1
)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4986 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5003 PyObject
*resultobj
= 0;
5004 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5008 PyObject
*swig_obj
[1] ;
5010 if (!args
) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5016 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5032 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
= 0;
5034 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5035 SwigValueWrapper
<wxVisualAttributes
> result
;
5038 PyObject
* obj0
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "variant", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5046 if (!SWIG_IsOK(ecode1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5049 arg1
= static_cast< wxWindowVariant
>(val1
);
5052 if (!wxPyCheckForApp()) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5065 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5068 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5069 return SWIG_Py_Void();
5072 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5073 return SWIG_Python_InitShadowInstance(args
);
5076 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5077 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5082 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5083 PyObject
*pyobj
= 0;
5087 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5096 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
= 0;
5098 wxWindow
*arg1
= (wxWindow
*) 0 ;
5099 int arg2
= (int) -1 ;
5100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5104 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5105 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5106 long arg6
= (long) 0 ;
5107 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5108 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5109 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5111 wxChoice
*result
= 0 ;
5118 bool temp5
= false ;
5123 bool temp8
= false ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5126 PyObject
* obj2
= 0 ;
5127 PyObject
* obj3
= 0 ;
5128 PyObject
* obj4
= 0 ;
5129 PyObject
* obj5
= 0 ;
5130 PyObject
* obj6
= 0 ;
5131 PyObject
* obj7
= 0 ;
5132 char * kwnames
[] = {
5133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5138 if (!SWIG_IsOK(res1
)) {
5139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5144 if (!SWIG_IsOK(ecode2
)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5147 arg2
= static_cast< int >(val2
);
5152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5163 if (! PySequence_Check(obj4
)) {
5164 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5167 arg5
= new wxArrayString
;
5169 int i
, len
=PySequence_Length(obj4
);
5170 for (i
=0; i
<len
; i
++) {
5171 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5172 wxString
* s
= wxString_in_helper(item
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5181 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5182 if (!SWIG_IsOK(ecode6
)) {
5183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5185 arg6
= static_cast< long >(val6
);
5188 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5189 if (!SWIG_IsOK(res7
)) {
5190 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5195 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5199 arg8
= wxString_in_helper(obj7
);
5200 if (arg8
== NULL
) SWIG_fail
;
5205 if (!wxPyCheckForApp()) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5213 if (temp5
) delete arg5
;
5222 if (temp5
) delete arg5
;
5232 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5233 PyObject
*resultobj
= 0;
5234 wxChoice
*result
= 0 ;
5236 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5238 if (!wxPyCheckForApp()) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (wxChoice
*)new wxChoice();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5251 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
= 0;
5253 wxChoice
*arg1
= (wxChoice
*) 0 ;
5254 wxWindow
*arg2
= (wxWindow
*) 0 ;
5255 int arg3
= (int) -1 ;
5256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5260 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5261 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5262 long arg7
= (long) 0 ;
5263 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5264 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5265 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5266 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5276 bool temp6
= false ;
5281 bool temp9
= false ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5284 PyObject
* obj2
= 0 ;
5285 PyObject
* obj3
= 0 ;
5286 PyObject
* obj4
= 0 ;
5287 PyObject
* obj5
= 0 ;
5288 PyObject
* obj6
= 0 ;
5289 PyObject
* obj7
= 0 ;
5290 PyObject
* obj8
= 0 ;
5291 char * kwnames
[] = {
5292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5297 if (!SWIG_IsOK(res1
)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5300 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5302 if (!SWIG_IsOK(res2
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5308 if (!SWIG_IsOK(ecode3
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5311 arg3
= static_cast< int >(val3
);
5316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5327 if (! PySequence_Check(obj5
)) {
5328 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5331 arg6
= new wxArrayString
;
5333 int i
, len
=PySequence_Length(obj5
);
5334 for (i
=0; i
<len
; i
++) {
5335 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5336 wxString
* s
= wxString_in_helper(item
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5345 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5346 if (!SWIG_IsOK(ecode7
)) {
5347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5349 arg7
= static_cast< long >(val7
);
5352 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5353 if (!SWIG_IsOK(res8
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5359 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5363 arg9
= wxString_in_helper(obj8
);
5364 if (arg9
== NULL
) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 if (temp6
) delete arg6
;
5387 if (temp6
) delete arg6
;
5397 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5399 wxChoice
*arg1
= (wxChoice
*) 0 ;
5403 PyObject
*swig_obj
[1] ;
5405 if (!args
) SWIG_fail
;
5407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5408 if (!SWIG_IsOK(res1
)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5411 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_From_int(static_cast< int >(result
));
5425 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5428 SwigValueWrapper
<wxVisualAttributes
> result
;
5431 PyObject
* obj0
= 0 ;
5432 char * kwnames
[] = {
5433 (char *) "variant", NULL
5436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5439 if (!SWIG_IsOK(ecode1
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5442 arg1
= static_cast< wxWindowVariant
>(val1
);
5445 if (!wxPyCheckForApp()) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5458 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5461 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5462 return SWIG_Py_Void();
5465 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5466 return SWIG_Python_InitShadowInstance(args
);
5469 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5470 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5475 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5476 PyObject
*pyobj
= 0;
5480 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5489 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
= 0;
5491 wxWindow
*arg1
= (wxWindow
*) 0 ;
5492 int arg2
= (int) -1 ;
5493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5499 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5500 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5501 long arg7
= (long) 0 ;
5502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5504 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5506 wxComboBox
*result
= 0 ;
5511 bool temp3
= false ;
5514 bool temp6
= false ;
5519 bool temp9
= false ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 PyObject
* obj2
= 0 ;
5523 PyObject
* obj3
= 0 ;
5524 PyObject
* obj4
= 0 ;
5525 PyObject
* obj5
= 0 ;
5526 PyObject
* obj6
= 0 ;
5527 PyObject
* obj7
= 0 ;
5528 PyObject
* obj8
= 0 ;
5529 char * kwnames
[] = {
5530 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5535 if (!SWIG_IsOK(res1
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5541 if (!SWIG_IsOK(ecode2
)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5544 arg2
= static_cast< int >(val2
);
5548 arg3
= wxString_in_helper(obj2
);
5549 if (arg3
== NULL
) SWIG_fail
;
5556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5567 if (! PySequence_Check(obj5
)) {
5568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5571 arg6
= new wxArrayString
;
5573 int i
, len
=PySequence_Length(obj5
);
5574 for (i
=0; i
<len
; i
++) {
5575 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5576 wxString
* s
= wxString_in_helper(item
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5585 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5586 if (!SWIG_IsOK(ecode7
)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5589 arg7
= static_cast< long >(val7
);
5592 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5593 if (!SWIG_IsOK(res8
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5599 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5603 arg9
= wxString_in_helper(obj8
);
5604 if (arg9
== NULL
) SWIG_fail
;
5609 if (!wxPyCheckForApp()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 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
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5621 if (temp6
) delete arg6
;
5634 if (temp6
) delete arg6
;
5644 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5645 PyObject
*resultobj
= 0;
5646 wxComboBox
*result
= 0 ;
5648 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5650 if (!wxPyCheckForApp()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (wxComboBox
*)new wxComboBox();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5663 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
= 0;
5665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5666 wxWindow
*arg2
= (wxWindow
*) 0 ;
5667 int arg3
= (int) -1 ;
5668 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5669 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5670 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5671 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5672 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5673 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5674 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5675 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5676 long arg8
= (long) 0 ;
5677 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5678 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5679 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5680 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5688 bool temp4
= false ;
5691 bool temp7
= false ;
5696 bool temp10
= false ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5699 PyObject
* obj2
= 0 ;
5700 PyObject
* obj3
= 0 ;
5701 PyObject
* obj4
= 0 ;
5702 PyObject
* obj5
= 0 ;
5703 PyObject
* obj6
= 0 ;
5704 PyObject
* obj7
= 0 ;
5705 PyObject
* obj8
= 0 ;
5706 PyObject
* obj9
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5713 if (!SWIG_IsOK(res1
)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5716 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5718 if (!SWIG_IsOK(res2
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5721 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5724 if (!SWIG_IsOK(ecode3
)) {
5725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5727 arg3
= static_cast< int >(val3
);
5731 arg4
= wxString_in_helper(obj3
);
5732 if (arg4
== NULL
) SWIG_fail
;
5739 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5745 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5750 if (! PySequence_Check(obj6
)) {
5751 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5754 arg7
= new wxArrayString
;
5756 int i
, len
=PySequence_Length(obj6
);
5757 for (i
=0; i
<len
; i
++) {
5758 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5759 wxString
* s
= wxString_in_helper(item
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5768 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5769 if (!SWIG_IsOK(ecode8
)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5772 arg8
= static_cast< long >(val8
);
5775 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5776 if (!SWIG_IsOK(res9
)) {
5777 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5782 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5786 arg10
= wxString_in_helper(obj9
);
5787 if (arg10
== NULL
) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 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
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 if (temp7
) delete arg7
;
5818 if (temp7
) delete arg7
;
5828 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5829 PyObject
*resultobj
= 0;
5830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5834 PyObject
*swig_obj
[1] ;
5836 if (!args
) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5842 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= ((wxComboBox
const *)arg1
)->GetValue();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5862 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5864 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5865 wxString
*arg2
= 0 ;
5868 bool temp2
= false ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 char * kwnames
[] = {
5872 (char *) "self",(char *) "value", NULL
5875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5880 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5882 arg2
= wxString_in_helper(obj1
);
5883 if (arg2
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetValue((wxString
const &)*arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 PyObject
*swig_obj
[1] ;
5914 if (!args
) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5920 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5935 PyObject
*resultobj
= 0;
5936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5939 PyObject
*swig_obj
[1] ;
5941 if (!args
) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5947 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_Py_Void();
5961 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5962 PyObject
*resultobj
= 0;
5963 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5966 PyObject
*swig_obj
[1] ;
5968 if (!args
) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5974 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_Py_Void();
5988 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
= 0;
5990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 char * kwnames
[] = {
5999 (char *) "self",(char *) "pos", NULL
6002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6007 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6012 arg2
= static_cast< long >(val2
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->SetInsertionPoint(arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_Py_Void();
6026 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6027 PyObject
*resultobj
= 0;
6028 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6032 PyObject
*swig_obj
[1] ;
6034 if (!args
) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6040 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= SWIG_From_long(static_cast< long >(result
));
6054 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6055 PyObject
*resultobj
= 0;
6056 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6060 PyObject
*swig_obj
[1] ;
6062 if (!args
) SWIG_fail
;
6064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6065 if (!SWIG_IsOK(res1
)) {
6066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6068 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= SWIG_From_long(static_cast< long >(result
));
6082 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
= 0;
6084 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6087 wxString
*arg4
= 0 ;
6094 bool temp4
= false ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 PyObject
* obj2
= 0 ;
6098 PyObject
* obj3
= 0 ;
6099 char * kwnames
[] = {
6100 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6105 if (!SWIG_IsOK(res1
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6108 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6109 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6110 if (!SWIG_IsOK(ecode2
)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6113 arg2
= static_cast< long >(val2
);
6114 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6115 if (!SWIG_IsOK(ecode3
)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6118 arg3
= static_cast< long >(val3
);
6120 arg4
= wxString_in_helper(obj3
);
6121 if (arg4
== NULL
) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_Py_Void();
6145 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6159 char * kwnames
[] = {
6160 (char *) "self",(char *) "from",(char *) "to", NULL
6163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6165 if (!SWIG_IsOK(res1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6168 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6169 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6170 if (!SWIG_IsOK(ecode2
)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6173 arg2
= static_cast< long >(val2
);
6174 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6175 if (!SWIG_IsOK(ecode3
)) {
6176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6178 arg3
= static_cast< long >(val3
);
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 (arg1
)->SetSelection(arg2
,arg3
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_Py_Void();
6192 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6193 PyObject
*resultobj
= 0;
6194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6195 long *arg2
= (long *) 0 ;
6196 long *arg3
= (long *) 0 ;
6200 int res2
= SWIG_TMPOBJ
;
6202 int res3
= SWIG_TMPOBJ
;
6203 PyObject
*swig_obj
[1] ;
6207 if (!args
) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6213 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->GetSelection(arg2
,arg3
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_Py_Void();
6221 if (SWIG_IsTmpObj(res2
)) {
6222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6224 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6227 if (SWIG_IsTmpObj(res3
)) {
6228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6239 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6245 PyObject
*swig_obj
[1] ;
6247 if (!args
) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6253 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_From_int(static_cast< int >(result
));
6267 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6269 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6270 wxString
*arg2
= 0 ;
6274 bool temp2
= false ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "self",(char *) "string", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6286 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6288 arg2
= wxString_in_helper(obj1
);
6289 if (arg2
== NULL
) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7443 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7448 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7449 PyObject
*pyobj
= 0;
7453 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7455 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7462 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
= 0;
7464 wxWindow
*arg1
= (wxWindow
*) 0 ;
7465 int arg2
= (int) -1 ;
7466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7472 long arg6
= (long) 0 ;
7473 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7475 wxStaticBox
*result
= 0 ;
7480 bool temp3
= false ;
7485 bool temp7
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 PyObject
* obj2
= 0 ;
7489 PyObject
* obj3
= 0 ;
7490 PyObject
* obj4
= 0 ;
7491 PyObject
* obj5
= 0 ;
7492 PyObject
* obj6
= 0 ;
7493 char * kwnames
[] = {
7494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7505 if (!SWIG_IsOK(ecode2
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7508 arg2
= static_cast< int >(val2
);
7512 arg3
= wxString_in_helper(obj2
);
7513 if (arg3
== NULL
) SWIG_fail
;
7520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7530 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7531 if (!SWIG_IsOK(ecode6
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7534 arg6
= static_cast< long >(val6
);
7538 arg7
= wxString_in_helper(obj6
);
7539 if (arg7
== NULL
) SWIG_fail
;
7544 if (!wxPyCheckForApp()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7573 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7574 PyObject
*resultobj
= 0;
7575 wxStaticBox
*result
= 0 ;
7577 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7579 if (!wxPyCheckForApp()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxStaticBox
*)new wxStaticBox();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7592 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
= 0;
7594 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7595 wxWindow
*arg2
= (wxWindow
*) 0 ;
7596 int arg3
= (int) -1 ;
7597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7603 long arg7
= (long) 0 ;
7604 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7605 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7613 bool temp4
= false ;
7618 bool temp8
= false ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7622 PyObject
* obj3
= 0 ;
7623 PyObject
* obj4
= 0 ;
7624 PyObject
* obj5
= 0 ;
7625 PyObject
* obj6
= 0 ;
7626 PyObject
* obj7
= 0 ;
7627 char * kwnames
[] = {
7628 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7636 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7638 if (!SWIG_IsOK(res2
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7644 if (!SWIG_IsOK(ecode3
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7647 arg3
= static_cast< int >(val3
);
7651 arg4
= wxString_in_helper(obj3
);
7652 if (arg4
== NULL
) SWIG_fail
;
7659 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7665 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7669 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7670 if (!SWIG_IsOK(ecode7
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7673 arg7
= static_cast< long >(val7
);
7677 arg8
= wxString_in_helper(obj7
);
7678 if (arg8
== NULL
) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7713 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7716 SwigValueWrapper
<wxVisualAttributes
> result
;
7719 PyObject
* obj0
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "variant", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7727 if (!SWIG_IsOK(ecode1
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7730 arg1
= static_cast< wxWindowVariant
>(val1
);
7733 if (!wxPyCheckForApp()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7746 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7749 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7750 return SWIG_Py_Void();
7753 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7754 return SWIG_Python_InitShadowInstance(args
);
7757 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= 0;
7759 wxWindow
*arg1
= (wxWindow
*) 0 ;
7760 int arg2
= (int) -1 ;
7761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7765 long arg5
= (long) wxLI_HORIZONTAL
;
7766 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7768 wxStaticLine
*result
= 0 ;
7777 bool temp6
= false ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7780 PyObject
* obj2
= 0 ;
7781 PyObject
* obj3
= 0 ;
7782 PyObject
* obj4
= 0 ;
7783 PyObject
* obj5
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7796 if (!SWIG_IsOK(ecode2
)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7799 arg2
= static_cast< int >(val2
);
7804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7814 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7815 if (!SWIG_IsOK(ecode5
)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7818 arg5
= static_cast< long >(val5
);
7822 arg6
= wxString_in_helper(obj5
);
7823 if (arg6
== NULL
) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7849 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7850 PyObject
*resultobj
= 0;
7851 wxStaticLine
*result
= 0 ;
7853 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7868 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
= 0;
7870 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7871 wxWindow
*arg2
= (wxWindow
*) 0 ;
7872 int arg3
= (int) -1 ;
7873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7877 long arg6
= (long) wxLI_HORIZONTAL
;
7878 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7891 bool temp7
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7899 char * kwnames
[] = {
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7905 if (!SWIG_IsOK(res1
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7908 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7910 if (!SWIG_IsOK(res2
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7916 if (!SWIG_IsOK(ecode3
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7919 arg3
= static_cast< int >(val3
);
7924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7934 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7935 if (!SWIG_IsOK(ecode6
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7938 arg6
= static_cast< long >(val6
);
7942 arg7
= wxString_in_helper(obj6
);
7943 if (arg7
== NULL
) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7984 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8004 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (int)wxStaticLine::GetDefaultSize();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_From_int(static_cast< int >(result
));
8018 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
= 0;
8020 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8021 SwigValueWrapper
<wxVisualAttributes
> result
;
8024 PyObject
* obj0
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "variant", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8032 if (!SWIG_IsOK(ecode1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8035 arg1
= static_cast< wxWindowVariant
>(val1
);
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8051 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxWindow
*arg1
= (wxWindow
*) 0 ;
8065 int arg2
= (int) -1 ;
8066 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8072 long arg6
= (long) 0 ;
8073 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8075 wxStaticText
*result
= 0 ;
8080 bool temp3
= false ;
8085 bool temp7
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8089 PyObject
* obj3
= 0 ;
8090 PyObject
* obj4
= 0 ;
8091 PyObject
* obj5
= 0 ;
8092 PyObject
* obj6
= 0 ;
8093 char * kwnames
[] = {
8094 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8105 if (!SWIG_IsOK(ecode2
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8108 arg2
= static_cast< int >(val2
);
8112 arg3
= wxString_in_helper(obj2
);
8113 if (arg3
== NULL
) SWIG_fail
;
8120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8130 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8131 if (!SWIG_IsOK(ecode6
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8134 arg6
= static_cast< long >(val6
);
8138 arg7
= wxString_in_helper(obj6
);
8139 if (arg7
== NULL
) SWIG_fail
;
8144 if (!wxPyCheckForApp()) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8173 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8174 PyObject
*resultobj
= 0;
8175 wxStaticText
*result
= 0 ;
8177 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8179 if (!wxPyCheckForApp()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (wxStaticText
*)new wxStaticText();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8192 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8195 wxWindow
*arg2
= (wxWindow
*) 0 ;
8196 int arg3
= (int) -1 ;
8197 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8198 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8199 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8200 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8201 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8202 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8203 long arg7
= (long) 0 ;
8204 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8213 bool temp4
= false ;
8218 bool temp8
= false ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 PyObject
* obj2
= 0 ;
8222 PyObject
* obj3
= 0 ;
8223 PyObject
* obj4
= 0 ;
8224 PyObject
* obj5
= 0 ;
8225 PyObject
* obj6
= 0 ;
8226 PyObject
* obj7
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8236 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8238 if (!SWIG_IsOK(res2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8244 if (!SWIG_IsOK(ecode3
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8247 arg3
= static_cast< int >(val3
);
8251 arg4
= wxString_in_helper(obj3
);
8252 if (arg4
== NULL
) SWIG_fail
;
8259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8269 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8270 if (!SWIG_IsOK(ecode7
)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8273 arg7
= static_cast< long >(val7
);
8277 arg8
= wxString_in_helper(obj7
);
8278 if (arg8
== NULL
) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= 0;
8315 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 char * kwnames
[] = {
8324 (char *) "self",(char *) "width", NULL
8327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8332 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8334 if (!SWIG_IsOK(ecode2
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8337 arg2
= static_cast< int >(val2
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_Py_Void();
8351 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= 0;
8353 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8354 SwigValueWrapper
<wxVisualAttributes
> result
;
8357 PyObject
* obj0
= 0 ;
8358 char * kwnames
[] = {
8359 (char *) "variant", NULL
8362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8365 if (!SWIG_IsOK(ecode1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8368 arg1
= static_cast< wxWindowVariant
>(val1
);
8371 if (!wxPyCheckForApp()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8384 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8387 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8388 return SWIG_Py_Void();
8391 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 return SWIG_Python_InitShadowInstance(args
);
8395 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= 0;
8397 wxWindow
*arg1
= (wxWindow
*) 0 ;
8398 int arg2
= (int) -1 ;
8399 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8400 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8405 long arg6
= (long) 0 ;
8406 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8408 wxStaticBitmap
*result
= 0 ;
8419 bool temp7
= false ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj2
= 0 ;
8423 PyObject
* obj3
= 0 ;
8424 PyObject
* obj4
= 0 ;
8425 PyObject
* obj5
= 0 ;
8426 PyObject
* obj6
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8439 if (!SWIG_IsOK(ecode2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8442 arg2
= static_cast< int >(val2
);
8445 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8446 if (!SWIG_IsOK(res3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8452 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8468 if (!SWIG_IsOK(ecode6
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8471 arg6
= static_cast< long >(val6
);
8475 arg7
= wxString_in_helper(obj6
);
8476 if (arg7
== NULL
) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxStaticBitmap
*result
= 0 ;
8506 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8521 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8524 wxWindow
*arg2
= (wxWindow
*) 0 ;
8525 int arg3
= (int) -1 ;
8526 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8527 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8528 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8529 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8530 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8531 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8532 long arg7
= (long) 0 ;
8533 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8548 bool temp8
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8553 PyObject
* obj4
= 0 ;
8554 PyObject
* obj5
= 0 ;
8555 PyObject
* obj6
= 0 ;
8556 PyObject
* obj7
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8566 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8568 if (!SWIG_IsOK(res2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8574 if (!SWIG_IsOK(ecode3
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8577 arg3
= static_cast< int >(val3
);
8580 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8581 if (!SWIG_IsOK(res4
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8587 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8603 if (!SWIG_IsOK(ecode7
)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8606 arg7
= static_cast< long >(val7
);
8610 arg8
= wxString_in_helper(obj7
);
8611 if (arg8
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8638 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8644 PyObject
*swig_obj
[1] ;
8646 if (!args
) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8652 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (arg1
)->GetBitmap();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8666 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8669 wxBitmap
*arg2
= 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "bitmap", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8685 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8687 if (!SWIG_IsOK(res2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= 0;
8709 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 char * kwnames
[] = {
8718 (char *) "self",(char *) "icon", NULL
8721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8726 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8728 if (!SWIG_IsOK(res2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_Py_Void();
8748 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
= 0;
8750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8751 SwigValueWrapper
<wxVisualAttributes
> result
;
8754 PyObject
* obj0
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "variant", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8762 if (!SWIG_IsOK(ecode1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8765 arg1
= static_cast< wxWindowVariant
>(val1
);
8768 if (!wxPyCheckForApp()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8781 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8785 return SWIG_Py_Void();
8788 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8789 return SWIG_Python_InitShadowInstance(args
);
8792 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8793 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8798 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8799 PyObject
*pyobj
= 0;
8803 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8805 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8812 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxWindow
*arg1
= (wxWindow
*) 0 ;
8815 int arg2
= (int) -1 ;
8816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8820 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8821 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8822 long arg6
= (long) 0 ;
8823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8825 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8827 wxListBox
*result
= 0 ;
8834 bool temp5
= false ;
8839 bool temp8
= false ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 PyObject
* obj5
= 0 ;
8846 PyObject
* obj6
= 0 ;
8847 PyObject
* obj7
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8860 if (!SWIG_IsOK(ecode2
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8863 arg2
= static_cast< int >(val2
);
8868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8879 if (! PySequence_Check(obj4
)) {
8880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8883 arg5
= new wxArrayString
;
8885 int i
, len
=PySequence_Length(obj4
);
8886 for (i
=0; i
<len
; i
++) {
8887 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8888 wxString
* s
= wxString_in_helper(item
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8898 if (!SWIG_IsOK(ecode6
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8901 arg6
= static_cast< long >(val6
);
8904 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8905 if (!SWIG_IsOK(res7
)) {
8906 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8911 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8915 arg8
= wxString_in_helper(obj7
);
8916 if (arg8
== NULL
) SWIG_fail
;
8921 if (!wxPyCheckForApp()) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8929 if (temp5
) delete arg5
;
8938 if (temp5
) delete arg5
;
8948 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxListBox
*result
= 0 ;
8952 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxListBox
*)new wxListBox();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8967 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= 0;
8969 wxListBox
*arg1
= (wxListBox
*) 0 ;
8970 wxWindow
*arg2
= (wxWindow
*) 0 ;
8971 int arg3
= (int) -1 ;
8972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8976 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8977 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8978 long arg7
= (long) 0 ;
8979 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8980 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8981 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8982 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8992 bool temp6
= false ;
8997 bool temp9
= false ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9000 PyObject
* obj2
= 0 ;
9001 PyObject
* obj3
= 0 ;
9002 PyObject
* obj4
= 0 ;
9003 PyObject
* obj5
= 0 ;
9004 PyObject
* obj6
= 0 ;
9005 PyObject
* obj7
= 0 ;
9006 PyObject
* obj8
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9013 if (!SWIG_IsOK(res1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9016 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9018 if (!SWIG_IsOK(res2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9024 if (!SWIG_IsOK(ecode3
)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9027 arg3
= static_cast< int >(val3
);
9032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9043 if (! PySequence_Check(obj5
)) {
9044 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9047 arg6
= new wxArrayString
;
9049 int i
, len
=PySequence_Length(obj5
);
9050 for (i
=0; i
<len
; i
++) {
9051 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9052 wxString
* s
= wxString_in_helper(item
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9061 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9062 if (!SWIG_IsOK(ecode7
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9065 arg7
= static_cast< long >(val7
);
9068 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9069 if (!SWIG_IsOK(res8
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9075 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9079 arg9
= wxString_in_helper(obj8
);
9080 if (arg9
== NULL
) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 if (temp6
) delete arg6
;
9103 if (temp6
) delete arg6
;
9113 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= 0;
9115 wxListBox
*arg1
= (wxListBox
*) 0 ;
9116 wxString
*arg2
= 0 ;
9118 PyObject
*arg4
= (PyObject
*) NULL
;
9121 bool temp2
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9137 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9139 arg2
= wxString_in_helper(obj1
);
9140 if (arg2
== NULL
) SWIG_fail
;
9143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9144 if (!SWIG_IsOK(ecode3
)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9147 arg3
= static_cast< int >(val3
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxListBox
*arg1
= (wxListBox
*) 0 ;
9175 wxArrayString
*arg2
= 0 ;
9179 bool temp2
= false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "self",(char *) "items",(char *) "pos", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9194 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9196 if (! PySequence_Check(obj1
)) {
9197 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9200 arg2
= new wxArrayString
;
9202 int i
, len
=PySequence_Length(obj1
);
9203 for (i
=0; i
<len
; i
++) {
9204 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9205 wxString
* s
= wxString_in_helper(item
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9212 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9213 if (!SWIG_IsOK(ecode3
)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9216 arg3
= static_cast< unsigned int >(val3
);
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_Py_Void();
9225 if (temp2
) delete arg2
;
9230 if (temp2
) delete arg2
;
9236 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxListBox
*arg1
= (wxListBox
*) 0 ;
9239 wxArrayString
*arg2
= 0 ;
9242 bool temp2
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 char * kwnames
[] = {
9246 (char *) "self",(char *) "items", NULL
9249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9254 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9256 if (! PySequence_Check(obj1
)) {
9257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9260 arg2
= new wxArrayString
;
9262 int i
, len
=PySequence_Length(obj1
);
9263 for (i
=0; i
<len
; i
++) {
9264 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9265 wxString
* s
= wxString_in_helper(item
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 (arg1
)->Set((wxArrayString
const &)*arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_Py_Void();
9280 if (temp2
) delete arg2
;
9285 if (temp2
) delete arg2
;
9291 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxListBox
*arg1
= (wxListBox
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "n", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9311 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9313 if (!SWIG_IsOK(ecode2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9316 arg2
= static_cast< int >(val2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9332 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxListBox
*arg1
= (wxListBox
*) 0 ;
9336 bool arg3
= (bool) true ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "n",(char *) "select", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9355 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9357 if (!SWIG_IsOK(ecode2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9360 arg2
= static_cast< int >(val2
);
9362 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9363 if (!SWIG_IsOK(ecode3
)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9366 arg3
= static_cast< bool >(val3
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SetSelection(arg2
,arg3
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxListBox
*arg1
= (wxListBox
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "n", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9400 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9402 if (!SWIG_IsOK(ecode2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9405 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->Select(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxListBox
*arg1
= (wxListBox
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "n", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->Deselect(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxListBox
*arg1
= (wxListBox
*) 0 ;
9460 int arg2
= (int) -1 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "itemToLeaveSelected", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9476 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9479 if (!SWIG_IsOK(ecode2
)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9482 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->DeselectAll(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxListBox
*arg1
= (wxListBox
*) 0 ;
9500 wxString
*arg2
= 0 ;
9501 bool arg3
= (bool) true ;
9505 bool temp2
= false ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "s",(char *) "select", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 arg2
= wxString_in_helper(obj1
);
9523 if (arg2
== NULL
) SWIG_fail
;
9527 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9528 if (!SWIG_IsOK(ecode3
)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9531 arg3
= static_cast< bool >(val3
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 PyObject
*resultobj
= 0;
9558 wxListBox
*arg1
= (wxListBox
*) 0 ;
9559 PyObject
*result
= 0 ;
9562 PyObject
*swig_obj
[1] ;
9564 if (!args
) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9570 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9584 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxListBox
*arg1
= (wxListBox
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "self",(char *) "n", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9605 if (!SWIG_IsOK(ecode2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9608 arg2
= static_cast< int >(val2
);
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetFirstItem(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxListBox
*arg1
= (wxListBox
*) 0 ;
9625 wxString
*arg2
= 0 ;
9628 bool temp2
= false ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "self",(char *) "s", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9640 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9642 arg2
= wxString_in_helper(obj1
);
9643 if (arg2
== NULL
) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxListBox
*arg1
= (wxListBox
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "n", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9688 if (!SWIG_IsOK(ecode2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9691 arg2
= static_cast< int >(val2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->EnsureVisible(arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 wxString
*arg2
= 0 ;
9711 bool temp2
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "self",(char *) "s", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9723 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9725 arg2
= wxString_in_helper(obj1
);
9726 if (arg2
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_Py_Void();
9750 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9756 PyObject
*swig_obj
[1] ;
9758 if (!args
) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9764 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9780 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "pt", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9799 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int(static_cast< int >(result
));
9817 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= 0;
9819 wxListBox
*arg1
= (wxListBox
*) 0 ;
9821 wxColour
*arg3
= 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9839 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9844 arg2
= static_cast< int >(val2
);
9847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxListBox
*arg1
= (wxListBox
*) 0 ;
9866 wxColour
*arg3
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 PyObject
* obj2
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "self",(char *) "item",(char *) "c", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9884 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9889 arg2
= static_cast< int >(val2
);
9892 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxListBox
*arg1
= (wxListBox
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "item",(char *) "f", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9937 if (!SWIG_IsOK(res3
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_Py_Void();
9957 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9960 SwigValueWrapper
<wxVisualAttributes
> result
;
9963 PyObject
* obj0
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "variant", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9971 if (!SWIG_IsOK(ecode1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9974 arg1
= static_cast< wxWindowVariant
>(val1
);
9977 if (!wxPyCheckForApp()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9990 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9993 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9994 return SWIG_Py_Void();
9997 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9998 return SWIG_Python_InitShadowInstance(args
);
10001 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= 0;
10003 wxWindow
*arg1
= (wxWindow
*) 0 ;
10004 int arg2
= (int) -1 ;
10005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10009 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10010 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10011 long arg6
= (long) 0 ;
10012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10014 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10016 wxCheckListBox
*result
= 0 ;
10023 bool temp5
= false ;
10028 bool temp8
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 PyObject
* obj3
= 0 ;
10033 PyObject
* obj4
= 0 ;
10034 PyObject
* obj5
= 0 ;
10035 PyObject
* obj6
= 0 ;
10036 PyObject
* obj7
= 0 ;
10037 char * kwnames
[] = {
10038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10049 if (!SWIG_IsOK(ecode2
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10052 arg2
= static_cast< int >(val2
);
10057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10068 if (! PySequence_Check(obj4
)) {
10069 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10072 arg5
= new wxArrayString
;
10074 int i
, len
=PySequence_Length(obj4
);
10075 for (i
=0; i
<len
; i
++) {
10076 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10077 wxString
* s
= wxString_in_helper(item
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10086 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10087 if (!SWIG_IsOK(ecode6
)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10090 arg6
= static_cast< long >(val6
);
10093 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10094 if (!SWIG_IsOK(res7
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10100 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10104 arg8
= wxString_in_helper(obj7
);
10105 if (arg8
== NULL
) SWIG_fail
;
10110 if (!wxPyCheckForApp()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10118 if (temp5
) delete arg5
;
10127 if (temp5
) delete arg5
;
10137 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 PyObject
*resultobj
= 0;
10139 wxCheckListBox
*result
= 0 ;
10141 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxCheckListBox
*)new wxCheckListBox();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10156 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
= 0;
10158 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10159 wxWindow
*arg2
= (wxWindow
*) 0 ;
10160 int arg3
= (int) -1 ;
10161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10165 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10166 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10167 long arg7
= (long) 0 ;
10168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10170 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10181 bool temp6
= false ;
10186 bool temp9
= false ;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 PyObject
* obj2
= 0 ;
10190 PyObject
* obj3
= 0 ;
10191 PyObject
* obj4
= 0 ;
10192 PyObject
* obj5
= 0 ;
10193 PyObject
* obj6
= 0 ;
10194 PyObject
* obj7
= 0 ;
10195 PyObject
* obj8
= 0 ;
10196 char * kwnames
[] = {
10197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10202 if (!SWIG_IsOK(res1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10205 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10207 if (!SWIG_IsOK(res2
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10213 if (!SWIG_IsOK(ecode3
)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10216 arg3
= static_cast< int >(val3
);
10221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10232 if (! PySequence_Check(obj5
)) {
10233 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10236 arg6
= new wxArrayString
;
10238 int i
, len
=PySequence_Length(obj5
);
10239 for (i
=0; i
<len
; i
++) {
10240 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10241 wxString
* s
= wxString_in_helper(item
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10250 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10251 if (!SWIG_IsOK(ecode7
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10254 arg7
= static_cast< long >(val7
);
10257 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10258 if (!SWIG_IsOK(res8
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10264 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10268 arg9
= wxString_in_helper(obj8
);
10269 if (arg9
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 if (temp6
) delete arg6
;
10292 if (temp6
) delete arg6
;
10302 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10305 unsigned int arg2
;
10309 unsigned int val2
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "self",(char *) "index", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10322 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10323 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10327 arg2
= static_cast< unsigned int >(val2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->IsChecked(arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
= 0;
10345 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10346 unsigned int arg2
;
10347 int arg3
= (int) true ;
10350 unsigned int val2
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "index",(char *) "check", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10366 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10367 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10371 arg2
= static_cast< unsigned int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->Check(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10393 PyObject
*resultobj
= 0;
10394 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10398 PyObject
*swig_obj
[1] ;
10400 if (!args
) SWIG_fail
;
10401 swig_obj
[0] = args
;
10402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10406 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)(arg1
)->GetItemHeight();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_From_int(static_cast< int >(result
));
10420 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10423 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10424 return SWIG_Py_Void();
10427 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10428 return SWIG_Python_InitShadowInstance(args
);
10431 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10432 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10437 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10438 PyObject
*pyobj
= 0;
10442 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10444 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10451 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= 0;
10453 wxColour
const &arg1_defvalue
= wxNullColour
;
10454 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10455 wxColour
const &arg2_defvalue
= wxNullColour
;
10456 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10457 wxFont
const &arg3_defvalue
= wxNullFont
;
10458 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10459 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10460 wxTextAttr
*result
= 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char * kwnames
[] = {
10472 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10479 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10490 if (!SWIG_IsOK(res3
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10496 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10499 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10500 if (!SWIG_IsOK(ecode4
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10503 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10518 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10531 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10559 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= 0 ;
10576 wxTextAttr
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "base",(char *) "overlay", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10598 if (!SWIG_IsOK(res2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10604 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10618 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10621 wxColour
*arg2
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "self",(char *) "colText", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10636 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_Py_Void();
10654 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10656 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10657 wxColour
*arg2
= 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char * kwnames
[] = {
10664 (char *) "self",(char *) "colBack", NULL
10667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10672 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_Py_Void();
10690 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
= 0;
10692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10694 long arg3
= (long) wxTEXT_ATTR_FONT
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "font",(char *) "flags", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10715 if (!SWIG_IsOK(res2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10723 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10724 if (!SWIG_IsOK(ecode3
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10727 arg3
= static_cast< long >(val3
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_Py_Void();
10742 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= 0;
10744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10745 wxTextAttrAlignment arg2
;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "self",(char *) "alignment", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10761 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10763 if (!SWIG_IsOK(ecode2
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10766 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetAlignment(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10780 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10783 wxArrayInt
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "tabs", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10798 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10800 if (! PySequence_Check(obj1
)) {
10801 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10804 arg2
= new wxArrayInt
;
10806 int i
, len
=PySequence_Length(obj1
);
10807 for (i
=0; i
<len
; i
++) {
10808 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10809 PyObject
* number
= PyNumber_Int(item
);
10811 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10814 arg2
->Add(PyInt_AS_LONG(number
));
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_Py_Void();
10827 if (temp2
) delete arg2
;
10832 if (temp2
) delete arg2
;
10838 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
= 0;
10840 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10842 int arg3
= (int) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10861 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10866 arg2
= static_cast< int >(val2
);
10868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10869 if (!SWIG_IsOK(ecode3
)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10872 arg3
= static_cast< int >(val3
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 (arg1
)->SetLeftIndent(arg2
,arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_Py_Void();
10887 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
= 0;
10889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "indent", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10906 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10908 if (!SWIG_IsOK(ecode2
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10911 arg2
= static_cast< int >(val2
);
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->SetRightIndent(arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_Py_Void();
10925 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
= 0;
10927 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char * kwnames
[] = {
10936 (char *) "self",(char *) "flags", NULL
10939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10944 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10945 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10946 if (!SWIG_IsOK(ecode2
)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10949 arg2
= static_cast< long >(val2
);
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 (arg1
)->SetFlags(arg2
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= SWIG_Py_Void();
10963 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11149 PyObject
*swig_obj
[1] ;
11151 if (!args
) SWIG_fail
;
11152 swig_obj
[0] = args
;
11153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11154 if (!SWIG_IsOK(res1
)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11157 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
= 0;
11175 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11184 char * kwnames
[] = {
11185 (char *) "self",(char *) "flag", NULL
11188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11193 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11195 if (!SWIG_IsOK(ecode2
)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11198 arg2
= static_cast< long >(val2
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11215 PyObject
*resultobj
= 0;
11216 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11217 wxColour
*result
= 0 ;
11220 PyObject
*swig_obj
[1] ;
11222 if (!args
) SWIG_fail
;
11223 swig_obj
[0] = args
;
11224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11228 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11233 result
= (wxColour
*) &_result_ref
;
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11245 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11246 PyObject
*resultobj
= 0;
11247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11248 wxColour
*result
= 0 ;
11251 PyObject
*swig_obj
[1] ;
11253 if (!args
) SWIG_fail
;
11254 swig_obj
[0] = args
;
11255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11259 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11264 result
= (wxColour
*) &_result_ref
;
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11276 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11277 PyObject
*resultobj
= 0;
11278 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11279 wxFont
*result
= 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_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11290 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11295 result
= (wxFont
*) &_result_ref
;
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 wxFont
* resultptr
= new wxFont(*result
);
11302 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11310 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11311 PyObject
*resultobj
= 0;
11312 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11313 wxTextAttrAlignment result
;
11316 PyObject
*swig_obj
[1] ;
11318 if (!args
) SWIG_fail
;
11319 swig_obj
[0] = args
;
11320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11321 if (!SWIG_IsOK(res1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11324 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_int(static_cast< int >(result
));
11338 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11340 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11341 wxArrayInt
*result
= 0 ;
11344 PyObject
*swig_obj
[1] ;
11346 if (!args
) SWIG_fail
;
11347 swig_obj
[0] = args
;
11348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11349 if (!SWIG_IsOK(res1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11352 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11357 result
= (wxArrayInt
*) &_result_ref
;
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= wxArrayInt2PyList_helper(*result
);
11371 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11372 PyObject
*resultobj
= 0;
11373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11377 PyObject
*swig_obj
[1] ;
11379 if (!args
) SWIG_fail
;
11380 swig_obj
[0] = args
;
11381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11385 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_From_long(static_cast< long >(result
));
11399 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11400 PyObject
*resultobj
= 0;
11401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11405 PyObject
*swig_obj
[1] ;
11407 if (!args
) SWIG_fail
;
11408 swig_obj
[0] = args
;
11409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11413 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_From_long(static_cast< long >(result
));
11427 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11428 PyObject
*resultobj
= 0;
11429 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11433 PyObject
*swig_obj
[1] ;
11435 if (!args
) SWIG_fail
;
11436 swig_obj
[0] = args
;
11437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11441 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_From_long(static_cast< long >(result
));
11455 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11456 PyObject
*resultobj
= 0;
11457 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11461 PyObject
*swig_obj
[1] ;
11463 if (!args
) SWIG_fail
;
11464 swig_obj
[0] = args
;
11465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11466 if (!SWIG_IsOK(res1
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11469 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_From_long(static_cast< long >(result
));
11483 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11484 PyObject
*resultobj
= 0;
11485 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11489 PyObject
*swig_obj
[1] ;
11491 if (!args
) SWIG_fail
;
11492 swig_obj
[0] = args
;
11493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11494 if (!SWIG_IsOK(res1
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11497 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11513 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 wxTextAttr
*arg1
= 0 ;
11516 wxTextAttr
*arg2
= 0 ;
11517 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 char * kwnames
[] = {
11529 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11533 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11540 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11542 if (!SWIG_IsOK(res2
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11548 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11549 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11550 if (!SWIG_IsOK(res3
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11553 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11567 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11570 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11571 return SWIG_Py_Void();
11574 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 return SWIG_Python_InitShadowInstance(args
);
11578 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
= 0;
11580 wxWindow
*arg1
= (wxWindow
*) 0 ;
11581 int arg2
= (int) -1 ;
11582 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11588 long arg6
= (long) 0 ;
11589 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11590 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11591 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11592 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11593 wxTextCtrl
*result
= 0 ;
11598 bool temp3
= false ;
11605 bool temp8
= false ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 PyObject
* obj2
= 0 ;
11609 PyObject
* obj3
= 0 ;
11610 PyObject
* obj4
= 0 ;
11611 PyObject
* obj5
= 0 ;
11612 PyObject
* obj6
= 0 ;
11613 PyObject
* obj7
= 0 ;
11614 char * kwnames
[] = {
11615 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11626 if (!SWIG_IsOK(ecode2
)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11629 arg2
= static_cast< int >(val2
);
11633 arg3
= wxString_in_helper(obj2
);
11634 if (arg3
== NULL
) SWIG_fail
;
11641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11652 if (!SWIG_IsOK(ecode6
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11655 arg6
= static_cast< long >(val6
);
11658 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11659 if (!SWIG_IsOK(res7
)) {
11660 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11665 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11669 arg8
= wxString_in_helper(obj7
);
11670 if (arg8
== NULL
) SWIG_fail
;
11675 if (!wxPyCheckForApp()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11704 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11705 PyObject
*resultobj
= 0;
11706 wxTextCtrl
*result
= 0 ;
11708 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11710 if (!wxPyCheckForApp()) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (wxTextCtrl
*)new wxTextCtrl();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11723 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
= 0;
11725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11726 wxWindow
*arg2
= (wxWindow
*) 0 ;
11727 int arg3
= (int) -1 ;
11728 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11729 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11730 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11731 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11732 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11733 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11734 long arg7
= (long) 0 ;
11735 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11736 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11737 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11738 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11746 bool temp4
= false ;
11753 bool temp9
= false ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 PyObject
* obj2
= 0 ;
11757 PyObject
* obj3
= 0 ;
11758 PyObject
* obj4
= 0 ;
11759 PyObject
* obj5
= 0 ;
11760 PyObject
* obj6
= 0 ;
11761 PyObject
* obj7
= 0 ;
11762 PyObject
* obj8
= 0 ;
11763 char * kwnames
[] = {
11764 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11769 if (!SWIG_IsOK(res1
)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11772 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11774 if (!SWIG_IsOK(res2
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11780 if (!SWIG_IsOK(ecode3
)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11783 arg3
= static_cast< int >(val3
);
11787 arg4
= wxString_in_helper(obj3
);
11788 if (arg4
== NULL
) SWIG_fail
;
11795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11801 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11805 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11806 if (!SWIG_IsOK(ecode7
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11809 arg7
= static_cast< long >(val7
);
11812 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11813 if (!SWIG_IsOK(res8
)) {
11814 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11819 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11823 arg9
= wxString_in_helper(obj8
);
11824 if (arg9
== NULL
) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11860 PyObject
*resultobj
= 0;
11861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11865 PyObject
*swig_obj
[1] ;
11867 if (!args
) SWIG_fail
;
11868 swig_obj
[0] = args
;
11869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11873 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11893 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11896 wxString
*arg2
= 0 ;
11899 bool temp2
= false ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "value", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11913 arg2
= wxString_in_helper(obj1
);
11914 if (arg2
== NULL
) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->SetValue((wxString
const &)*arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_Py_Void();
11938 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11939 PyObject
*resultobj
= 0;
11940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11944 PyObject
*swig_obj
[1] ;
11946 if (!args
) SWIG_fail
;
11947 swig_obj
[0] = args
;
11948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11952 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11971 wxString
*arg2
= 0 ;
11974 bool temp2
= false ;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 char * kwnames
[] = {
11978 (char *) "self",(char *) "value", NULL
11981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11986 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11988 arg2
= wxString_in_helper(obj1
);
11989 if (arg2
== NULL
) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_Py_Void();
12013 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
= 0;
12015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 PyObject
* obj2
= 0 ;
12028 char * kwnames
[] = {
12029 (char *) "self",(char *) "from",(char *) "to", NULL
12032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12034 if (!SWIG_IsOK(res1
)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12037 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12038 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12039 if (!SWIG_IsOK(ecode2
)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12042 arg2
= static_cast< long >(val2
);
12043 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12044 if (!SWIG_IsOK(ecode3
)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12047 arg3
= static_cast< long >(val3
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12067 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
= 0;
12069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char * kwnames
[] = {
12079 (char *) "self",(char *) "lineNo", NULL
12082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12087 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12089 if (!SWIG_IsOK(ecode2
)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12092 arg2
= static_cast< long >(val2
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int(static_cast< int >(result
));
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char * kwnames
[] = {
12118 (char *) "self",(char *) "lineNo", NULL
12121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12126 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12128 if (!SWIG_IsOK(ecode2
)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12131 arg2
= static_cast< long >(val2
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12151 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12157 PyObject
*swig_obj
[1] ;
12159 if (!args
) SWIG_fail
;
12160 swig_obj
[0] = args
;
12161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12165 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int(static_cast< int >(result
));
12179 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 PyObject
*resultobj
= 0;
12301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12302 long *arg2
= (long *) 0 ;
12303 long *arg3
= (long *) 0 ;
12307 int res2
= SWIG_TMPOBJ
;
12309 int res3
= SWIG_TMPOBJ
;
12310 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12320 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12328 if (SWIG_IsTmpObj(res2
)) {
12329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12331 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12334 if (SWIG_IsTmpObj(res3
)) {
12335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12337 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12346 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12352 PyObject
*swig_obj
[1] ;
12354 if (!args
) SWIG_fail
;
12355 swig_obj
[0] = args
;
12356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12360 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12380 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12381 PyObject
*resultobj
= 0;
12382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12385 PyObject
*swig_obj
[1] ;
12387 if (!args
) SWIG_fail
;
12388 swig_obj
[0] = args
;
12389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12393 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12412 wxString
*arg4
= 0 ;
12419 bool temp4
= false ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 PyObject
* obj2
= 0 ;
12423 PyObject
* obj3
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12433 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12435 if (!SWIG_IsOK(ecode2
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12438 arg2
= static_cast< long >(val2
);
12439 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12440 if (!SWIG_IsOK(ecode3
)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12443 arg3
= static_cast< long >(val3
);
12445 arg4
= wxString_in_helper(obj3
);
12446 if (arg4
== NULL
) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_Py_Void();
12470 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
= 0;
12472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 PyObject
* obj2
= 0 ;
12484 char * kwnames
[] = {
12485 (char *) "self",(char *) "from",(char *) "to", NULL
12488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12493 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12494 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12495 if (!SWIG_IsOK(ecode2
)) {
12496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12498 arg2
= static_cast< long >(val2
);
12499 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12500 if (!SWIG_IsOK(ecode3
)) {
12501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12503 arg3
= static_cast< long >(val3
);
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->Remove(arg2
,arg3
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= SWIG_Py_Void();
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12520 wxString
*arg2
= 0 ;
12521 int arg3
= (int) wxTEXT_TYPE_ANY
;
12525 bool temp2
= false ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "file",(char *) "fileType", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12542 arg2
= wxString_in_helper(obj1
);
12543 if (arg2
== NULL
) SWIG_fail
;
12547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12548 if (!SWIG_IsOK(ecode3
)) {
12549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12551 arg3
= static_cast< int >(val3
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12576 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12579 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12580 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12581 int arg3
= (int) wxTEXT_TYPE_ANY
;
12585 bool temp2
= false ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 PyObject
* obj2
= 0 ;
12591 char * kwnames
[] = {
12592 (char *) "self",(char *) "file",(char *) "fileType", NULL
12595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12600 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12603 arg2
= wxString_in_helper(obj1
);
12604 if (arg2
== NULL
) SWIG_fail
;
12609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12610 if (!SWIG_IsOK(ecode3
)) {
12611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12613 arg3
= static_cast< int >(val3
);
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12643 PyObject
*swig_obj
[1] ;
12645 if (!args
) SWIG_fail
;
12646 swig_obj
[0] = args
;
12647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12651 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 (arg1
)->MarkDirty();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= SWIG_Py_Void();
12665 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12666 PyObject
*resultobj
= 0;
12667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12670 PyObject
*swig_obj
[1] ;
12672 if (!args
) SWIG_fail
;
12673 swig_obj
[0] = args
;
12674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->DiscardEdits();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= 0;
12694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char * kwnames
[] = {
12703 (char *) "self",(char *) "modified", NULL
12706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12708 if (!SWIG_IsOK(res1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12711 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12712 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12713 if (!SWIG_IsOK(ecode2
)) {
12714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12716 arg2
= static_cast< bool >(val2
);
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetModified(arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_Py_Void();
12730 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
= 0;
12732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12733 unsigned long arg2
;
12736 unsigned long val2
;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char * kwnames
[] = {
12741 (char *) "self",(char *) "len", NULL
12744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12746 if (!SWIG_IsOK(res1
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12749 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12750 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12751 if (!SWIG_IsOK(ecode2
)) {
12752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12754 arg2
= static_cast< unsigned long >(val2
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 (arg1
)->SetMaxLength(arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12771 wxString
*arg2
= 0 ;
12774 bool temp2
= false ;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 char * kwnames
[] = {
12778 (char *) "self",(char *) "text", NULL
12781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12783 if (!SWIG_IsOK(res1
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12786 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12788 arg2
= wxString_in_helper(obj1
);
12789 if (arg2
== NULL
) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->WriteText((wxString
const &)*arg2
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_Py_Void();
12813 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12816 wxString
*arg2
= 0 ;
12819 bool temp2
= false ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "text", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12833 arg2
= wxString_in_helper(obj1
);
12834 if (arg2
== NULL
) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->AppendText((wxString
const &)*arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12861 wxKeyEvent
*arg2
= 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "event", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12880 if (!SWIG_IsOK(res2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12886 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12902 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
= 0;
12904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12907 wxTextAttr
*arg4
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 PyObject
* obj2
= 0 ;
12920 PyObject
* obj3
= 0 ;
12921 char * kwnames
[] = {
12922 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12927 if (!SWIG_IsOK(res1
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12930 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12932 if (!SWIG_IsOK(ecode2
)) {
12933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12935 arg2
= static_cast< long >(val2
);
12936 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12937 if (!SWIG_IsOK(ecode3
)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12940 arg3
= static_cast< long >(val3
);
12941 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12942 if (!SWIG_IsOK(res4
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12948 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12964 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
= 0;
12966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12968 wxTextAttr
*arg3
= 0 ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 char * kwnames
[] = {
12980 (char *) "self",(char *) "position",(char *) "style", NULL
12983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12988 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12990 if (!SWIG_IsOK(ecode2
)) {
12991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12993 arg2
= static_cast< long >(val2
);
12994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12995 if (!SWIG_IsOK(res3
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13001 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13017 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
= 0;
13019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13020 wxTextAttr
*arg2
= 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "style", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13037 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13039 if (!SWIG_IsOK(res2
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13045 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13061 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13062 PyObject
*resultobj
= 0;
13063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13064 wxTextAttr
*result
= 0 ;
13067 PyObject
*swig_obj
[1] ;
13069 if (!args
) SWIG_fail
;
13070 swig_obj
[0] = args
;
13071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13072 if (!SWIG_IsOK(res1
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13075 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13080 result
= (wxTextAttr
*) &_result_ref
;
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13092 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
= 0;
13094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 PyObject
* obj2
= 0 ;
13107 char * kwnames
[] = {
13108 (char *) "self",(char *) "x",(char *) "y", NULL
13111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13113 if (!SWIG_IsOK(res1
)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13116 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13117 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13118 if (!SWIG_IsOK(ecode2
)) {
13119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13121 arg2
= static_cast< long >(val2
);
13122 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13123 if (!SWIG_IsOK(ecode3
)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13126 arg3
= static_cast< long >(val3
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_From_long(static_cast< long >(result
));
13140 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13144 long *arg3
= (long *) 0 ;
13145 long *arg4
= (long *) 0 ;
13151 int res3
= SWIG_TMPOBJ
;
13153 int res4
= SWIG_TMPOBJ
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char * kwnames
[] = {
13157 (char *) "self",(char *) "pos", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13167 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13169 if (!SWIG_IsOK(ecode2
)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13172 arg2
= static_cast< long >(val2
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_Py_Void();
13180 if (SWIG_IsTmpObj(res3
)) {
13181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13186 if (SWIG_IsTmpObj(res4
)) {
13187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13189 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13198 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char * kwnames
[] = {
13209 (char *) "self",(char *) "pos", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13217 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13219 if (!SWIG_IsOK(ecode2
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13222 arg2
= static_cast< long >(val2
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->ShowPosition(arg2
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_Py_Void();
13236 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
= 0;
13238 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13239 wxPoint
*arg2
= 0 ;
13240 long *arg3
= (long *) 0 ;
13241 long *arg4
= (long *) 0 ;
13242 wxTextCtrlHitTestResult result
;
13247 int res3
= SWIG_TMPOBJ
;
13249 int res4
= SWIG_TMPOBJ
;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char * kwnames
[] = {
13253 (char *) "self",(char *) "pt", NULL
13258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13263 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13266 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_From_int(static_cast< int >(result
));
13275 if (SWIG_IsTmpObj(res3
)) {
13276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13278 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13281 if (SWIG_IsTmpObj(res4
)) {
13282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13284 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13293 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
= 0;
13295 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13296 wxPoint
*arg2
= 0 ;
13297 long *arg3
= (long *) 0 ;
13298 wxTextCtrlHitTestResult result
;
13303 int res3
= SWIG_TMPOBJ
;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "self",(char *) "pt", NULL
13311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13313 if (!SWIG_IsOK(res1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_From_int(static_cast< int >(result
));
13328 if (SWIG_IsTmpObj(res3
)) {
13329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13331 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13340 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13341 PyObject
*resultobj
= 0;
13342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13345 PyObject
*swig_obj
[1] ;
13347 if (!args
) SWIG_fail
;
13348 swig_obj
[0] = args
;
13349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13353 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_Py_Void();
13367 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
*swig_obj
[1] ;
13374 if (!args
) SWIG_fail
;
13375 swig_obj
[0] = args
;
13376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13380 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_Py_Void();
13394 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13395 PyObject
*resultobj
= 0;
13396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13399 PyObject
*swig_obj
[1] ;
13401 if (!args
) SWIG_fail
;
13402 swig_obj
[0] = args
;
13403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13457 PyObject
*swig_obj
[1] ;
13459 if (!args
) SWIG_fail
;
13460 swig_obj
[0] = args
;
13461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13465 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13516 PyObject
*swig_obj
[1] ;
13518 if (!args
) SWIG_fail
;
13519 swig_obj
[0] = args
;
13520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13524 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13538 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13539 PyObject
*resultobj
= 0;
13540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13543 PyObject
*swig_obj
[1] ;
13545 if (!args
) SWIG_fail
;
13546 swig_obj
[0] = args
;
13547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13548 if (!SWIG_IsOK(res1
)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13551 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_Py_Void();
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
*swig_obj
[1] ;
13603 if (!args
) SWIG_fail
;
13604 swig_obj
[0] = args
;
13605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13625 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "pos", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13644 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13646 if (!SWIG_IsOK(ecode2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13649 arg2
= static_cast< long >(val2
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 (arg1
)->SetInsertionPoint(arg2
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_Py_Void();
13663 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 PyObject
*resultobj
= 0;
13665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13668 PyObject
*swig_obj
[1] ;
13670 if (!args
) SWIG_fail
;
13671 swig_obj
[0] = args
;
13672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13673 if (!SWIG_IsOK(res1
)) {
13674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13676 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->SetInsertionPointEnd();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_Py_Void();
13690 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13691 PyObject
*resultobj
= 0;
13692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13696 PyObject
*swig_obj
[1] ;
13698 if (!args
) SWIG_fail
;
13699 swig_obj
[0] = args
;
13700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13701 if (!SWIG_IsOK(res1
)) {
13702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13704 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= SWIG_From_long(static_cast< long >(result
));
13718 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13719 PyObject
*resultobj
= 0;
13720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13724 PyObject
*swig_obj
[1] ;
13726 if (!args
) SWIG_fail
;
13727 swig_obj
[0] = args
;
13728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13732 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_From_long(static_cast< long >(result
));
13746 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 PyObject
* obj2
= 0 ;
13760 char * kwnames
[] = {
13761 (char *) "self",(char *) "from",(char *) "to", NULL
13764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13766 if (!SWIG_IsOK(res1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13769 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13771 if (!SWIG_IsOK(ecode2
)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13774 arg2
= static_cast< long >(val2
);
13775 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13776 if (!SWIG_IsOK(ecode3
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13779 arg3
= static_cast< long >(val3
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->SetSelection(arg2
,arg3
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_Py_Void();
13793 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13794 PyObject
*resultobj
= 0;
13795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13798 PyObject
*swig_obj
[1] ;
13800 if (!args
) SWIG_fail
;
13801 swig_obj
[0] = args
;
13802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13806 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SelectAll();
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_Py_Void();
13820 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
= 0;
13822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 char * kwnames
[] = {
13831 (char *) "self",(char *) "editable", NULL
13834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13839 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13841 if (!SWIG_IsOK(ecode2
)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13844 arg2
= static_cast< bool >(val2
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->SetEditable(arg2
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_Py_Void();
13858 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char * kwnames
[] = {
13869 (char *) "self",(char *) "check", NULL
13872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13874 if (!SWIG_IsOK(res1
)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13878 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13879 if (!SWIG_IsOK(ecode2
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13882 arg2
= static_cast< bool >(val2
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_Py_Void();
13896 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13897 PyObject
*resultobj
= 0;
13898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13901 PyObject
*swig_obj
[1] ;
13903 if (!args
) SWIG_fail
;
13904 swig_obj
[0] = args
;
13905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13906 if (!SWIG_IsOK(res1
)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13909 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->SendTextUpdatedEvent();
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_Py_Void();
13923 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13926 bool arg2
= (bool) true ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 char * kwnames
[] = {
13935 (char *) "self",(char *) "show", NULL
13938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13940 if (!SWIG_IsOK(res1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13943 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13945 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13946 if (!SWIG_IsOK(ecode2
)) {
13947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13949 arg2
= static_cast< bool >(val2
);
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13966 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13967 PyObject
*resultobj
= 0;
13968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13972 PyObject
*swig_obj
[1] ;
13974 if (!args
) SWIG_fail
;
13975 swig_obj
[0] = args
;
13976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13977 if (!SWIG_IsOK(res1
)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13980 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (bool)(arg1
)->HideNativeCaret();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13999 wxString
*arg2
= 0 ;
14002 bool temp2
= false ;
14003 PyObject
* obj0
= 0 ;
14004 PyObject
* obj1
= 0 ;
14005 char * kwnames
[] = {
14006 (char *) "self",(char *) "text", NULL
14009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14016 arg2
= wxString_in_helper(obj1
);
14017 if (arg2
== NULL
) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_Py_Void();
14041 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
= 0;
14043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 PyObject
* obj2
= 0 ;
14056 char * kwnames
[] = {
14057 (char *) "self",(char *) "from",(char *) "to", NULL
14060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14062 if (!SWIG_IsOK(res1
)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14065 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14067 if (!SWIG_IsOK(ecode2
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14070 arg2
= static_cast< long >(val2
);
14071 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14072 if (!SWIG_IsOK(ecode3
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14075 arg3
= static_cast< long >(val3
);
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14095 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
= 0;
14097 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14098 SwigValueWrapper
<wxVisualAttributes
> result
;
14101 PyObject
* obj0
= 0 ;
14102 char * kwnames
[] = {
14103 (char *) "variant", NULL
14106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14109 if (!SWIG_IsOK(ecode1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14112 arg1
= static_cast< wxWindowVariant
>(val1
);
14115 if (!wxPyCheckForApp()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14128 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14131 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14132 return SWIG_Py_Void();
14135 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14136 return SWIG_Python_InitShadowInstance(args
);
14139 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
= 0;
14142 wxMouseEvent
*arg2
= 0 ;
14145 wxTextUrlEvent
*result
= 0 ;
14154 PyObject
* obj0
= 0 ;
14155 PyObject
* obj1
= 0 ;
14156 PyObject
* obj2
= 0 ;
14157 PyObject
* obj3
= 0 ;
14158 char * kwnames
[] = {
14159 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14163 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14164 if (!SWIG_IsOK(ecode1
)) {
14165 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14167 arg1
= static_cast< int >(val1
);
14168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14169 if (!SWIG_IsOK(res2
)) {
14170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14175 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14176 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14177 if (!SWIG_IsOK(ecode3
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14180 arg3
= static_cast< long >(val3
);
14181 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14182 if (!SWIG_IsOK(ecode4
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14185 arg4
= static_cast< long >(val4
);
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14199 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14200 PyObject
*resultobj
= 0;
14201 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14202 wxMouseEvent
*result
= 0 ;
14205 PyObject
*swig_obj
[1] ;
14207 if (!args
) SWIG_fail
;
14208 swig_obj
[0] = args
;
14209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14210 if (!SWIG_IsOK(res1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14213 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14218 result
= (wxMouseEvent
*) &_result_ref
;
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14230 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 PyObject
*resultobj
= 0;
14232 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14244 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_From_long(static_cast< long >(result
));
14258 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 PyObject
*resultobj
= 0;
14260 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14264 PyObject
*swig_obj
[1] ;
14266 if (!args
) SWIG_fail
;
14267 swig_obj
[0] = args
;
14268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14269 if (!SWIG_IsOK(res1
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14272 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_From_long(static_cast< long >(result
));
14286 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14289 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14290 return SWIG_Py_Void();
14293 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14294 return SWIG_Python_InitShadowInstance(args
);
14297 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14298 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14303 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14304 PyObject
*pyobj
= 0;
14308 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14310 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14317 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
= 0;
14319 wxWindow
*arg1
= (wxWindow
*) 0 ;
14320 int arg2
= (int) -1 ;
14321 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14322 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14323 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14324 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14325 long arg5
= (long) wxSB_HORIZONTAL
;
14326 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14327 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14328 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14330 wxScrollBar
*result
= 0 ;
14341 bool temp7
= false ;
14342 PyObject
* obj0
= 0 ;
14343 PyObject
* obj1
= 0 ;
14344 PyObject
* obj2
= 0 ;
14345 PyObject
* obj3
= 0 ;
14346 PyObject
* obj4
= 0 ;
14347 PyObject
* obj5
= 0 ;
14348 PyObject
* obj6
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14361 if (!SWIG_IsOK(ecode2
)) {
14362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14364 arg2
= static_cast< int >(val2
);
14369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14379 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14380 if (!SWIG_IsOK(ecode5
)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14383 arg5
= static_cast< long >(val5
);
14386 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14387 if (!SWIG_IsOK(res6
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14393 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14397 arg7
= wxString_in_helper(obj6
);
14398 if (arg7
== NULL
) SWIG_fail
;
14403 if (!wxPyCheckForApp()) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14424 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14425 PyObject
*resultobj
= 0;
14426 wxScrollBar
*result
= 0 ;
14428 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14430 if (!wxPyCheckForApp()) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (wxScrollBar
*)new wxScrollBar();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14443 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= 0;
14445 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14446 wxWindow
*arg2
= (wxWindow
*) 0 ;
14447 int arg3
= (int) -1 ;
14448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14452 long arg6
= (long) wxSB_HORIZONTAL
;
14453 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14454 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14455 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14456 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14470 bool temp8
= false ;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 PyObject
* obj2
= 0 ;
14474 PyObject
* obj3
= 0 ;
14475 PyObject
* obj4
= 0 ;
14476 PyObject
* obj5
= 0 ;
14477 PyObject
* obj6
= 0 ;
14478 PyObject
* obj7
= 0 ;
14479 char * kwnames
[] = {
14480 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14488 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14490 if (!SWIG_IsOK(res2
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14493 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14496 if (!SWIG_IsOK(ecode3
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14499 arg3
= static_cast< int >(val3
);
14504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14514 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14515 if (!SWIG_IsOK(ecode6
)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14518 arg6
= static_cast< long >(val6
);
14521 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14522 if (!SWIG_IsOK(res7
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14528 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14532 arg8
= wxString_in_helper(obj7
);
14533 if (arg8
== NULL
) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14560 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14561 PyObject
*resultobj
= 0;
14562 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14566 PyObject
*swig_obj
[1] ;
14568 if (!args
) SWIG_fail
;
14569 swig_obj
[0] = args
;
14570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14571 if (!SWIG_IsOK(res1
)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14574 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_From_int(static_cast< int >(result
));
14588 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14589 PyObject
*resultobj
= 0;
14590 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14594 PyObject
*swig_obj
[1] ;
14596 if (!args
) SWIG_fail
;
14597 swig_obj
[0] = args
;
14598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14599 if (!SWIG_IsOK(res1
)) {
14600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14602 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_From_int(static_cast< int >(result
));
14616 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14617 PyObject
*resultobj
= 0;
14618 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14622 PyObject
*swig_obj
[1] ;
14624 if (!args
) SWIG_fail
;
14625 swig_obj
[0] = args
;
14626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14627 if (!SWIG_IsOK(res1
)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14630 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_From_int(static_cast< int >(result
));
14644 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14645 PyObject
*resultobj
= 0;
14646 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14650 PyObject
*swig_obj
[1] ;
14652 if (!args
) SWIG_fail
;
14653 swig_obj
[0] = args
;
14654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14655 if (!SWIG_IsOK(res1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14658 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_From_int(static_cast< int >(result
));
14672 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14673 PyObject
*resultobj
= 0;
14674 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14678 PyObject
*swig_obj
[1] ;
14680 if (!args
) SWIG_fail
;
14681 swig_obj
[0] = args
;
14682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14683 if (!SWIG_IsOK(res1
)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14686 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
= 0;
14704 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char * kwnames
[] = {
14713 (char *) "self",(char *) "viewStart", NULL
14716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14718 if (!SWIG_IsOK(res1
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14721 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14723 if (!SWIG_IsOK(ecode2
)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14726 arg2
= static_cast< int >(val2
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 (arg1
)->SetThumbPosition(arg2
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_Py_Void();
14740 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
= 0;
14742 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14743 SwigValueWrapper
<wxVisualAttributes
> result
;
14746 PyObject
* obj0
= 0 ;
14747 char * kwnames
[] = {
14748 (char *) "variant", NULL
14751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14754 if (!SWIG_IsOK(ecode1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14757 arg1
= static_cast< wxWindowVariant
>(val1
);
14760 if (!wxPyCheckForApp()) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14773 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14776 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14777 return SWIG_Py_Void();
14780 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14781 return SWIG_Python_InitShadowInstance(args
);
14784 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14785 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14790 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14791 PyObject
*pyobj
= 0;
14795 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14797 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14804 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14805 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14810 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14811 PyObject
*pyobj
= 0;
14815 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14817 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14824 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
= 0;
14826 wxWindow
*arg1
= (wxWindow
*) 0 ;
14827 int arg2
= (int) -1 ;
14828 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14829 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14830 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14831 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14832 long arg5
= (long) wxSP_HORIZONTAL
;
14833 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14834 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14835 wxSpinButton
*result
= 0 ;
14844 bool temp6
= false ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 PyObject
* obj2
= 0 ;
14848 PyObject
* obj3
= 0 ;
14849 PyObject
* obj4
= 0 ;
14850 PyObject
* obj5
= 0 ;
14851 char * kwnames
[] = {
14852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14857 if (!SWIG_IsOK(res1
)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14860 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14866 arg2
= static_cast< int >(val2
);
14871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14881 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14882 if (!SWIG_IsOK(ecode5
)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14885 arg5
= static_cast< long >(val5
);
14889 arg6
= wxString_in_helper(obj5
);
14890 if (arg6
== NULL
) SWIG_fail
;
14895 if (!wxPyCheckForApp()) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14916 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14917 PyObject
*resultobj
= 0;
14918 wxSpinButton
*result
= 0 ;
14920 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14922 if (!wxPyCheckForApp()) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (wxSpinButton
*)new wxSpinButton();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14935 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
= 0;
14937 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14938 wxWindow
*arg2
= (wxWindow
*) 0 ;
14939 int arg3
= (int) -1 ;
14940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14944 long arg6
= (long) wxSP_HORIZONTAL
;
14945 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14946 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14958 bool temp7
= false ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 PyObject
* obj2
= 0 ;
14962 PyObject
* obj3
= 0 ;
14963 PyObject
* obj4
= 0 ;
14964 PyObject
* obj5
= 0 ;
14965 PyObject
* obj6
= 0 ;
14966 char * kwnames
[] = {
14967 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14972 if (!SWIG_IsOK(res1
)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14975 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14977 if (!SWIG_IsOK(res2
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14980 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14983 if (!SWIG_IsOK(ecode3
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14986 arg3
= static_cast< int >(val3
);
14991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15001 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15002 if (!SWIG_IsOK(ecode6
)) {
15003 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15005 arg6
= static_cast< long >(val6
);
15009 arg7
= wxString_in_helper(obj6
);
15010 if (arg7
== NULL
) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15037 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 PyObject
*resultobj
= 0;
15039 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15043 PyObject
*swig_obj
[1] ;
15045 if (!args
) SWIG_fail
;
15046 swig_obj
[0] = args
;
15047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15048 if (!SWIG_IsOK(res1
)) {
15049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15051 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_From_int(static_cast< int >(result
));
15065 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15066 PyObject
*resultobj
= 0;
15067 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15071 PyObject
*swig_obj
[1] ;
15073 if (!args
) SWIG_fail
;
15074 swig_obj
[0] = args
;
15075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15076 if (!SWIG_IsOK(res1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15079 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= SWIG_From_int(static_cast< int >(result
));
15093 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15094 PyObject
*resultobj
= 0;
15095 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15099 PyObject
*swig_obj
[1] ;
15101 if (!args
) SWIG_fail
;
15102 swig_obj
[0] = args
;
15103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15104 if (!SWIG_IsOK(res1
)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15107 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_From_int(static_cast< int >(result
));
15121 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
= 0;
15123 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 char * kwnames
[] = {
15132 (char *) "self",(char *) "val", NULL
15135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15140 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15142 if (!SWIG_IsOK(ecode2
)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15145 arg2
= static_cast< int >(val2
);
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 (arg1
)->SetValue(arg2
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_Py_Void();
15159 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
= 0;
15161 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 char * kwnames
[] = {
15170 (char *) "self",(char *) "minVal", NULL
15173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15178 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15180 if (!SWIG_IsOK(ecode2
)) {
15181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15183 arg2
= static_cast< int >(val2
);
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 (arg1
)->SetMin(arg2
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_Py_Void();
15197 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
= 0;
15199 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 PyObject
* obj1
= 0 ;
15207 char * kwnames
[] = {
15208 (char *) "self",(char *) "maxVal", NULL
15211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15213 if (!SWIG_IsOK(res1
)) {
15214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15216 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15218 if (!SWIG_IsOK(ecode2
)) {
15219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15221 arg2
= static_cast< int >(val2
);
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 (arg1
)->SetMax(arg2
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= SWIG_Py_Void();
15235 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
= 0;
15237 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 PyObject
* obj2
= 0 ;
15249 char * kwnames
[] = {
15250 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15258 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15260 if (!SWIG_IsOK(ecode2
)) {
15261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15263 arg2
= static_cast< int >(val2
);
15264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15265 if (!SWIG_IsOK(ecode3
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15268 arg3
= static_cast< int >(val3
);
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 (arg1
)->SetRange(arg2
,arg3
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_Py_Void();
15282 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15283 PyObject
*resultobj
= 0;
15284 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15288 PyObject
*swig_obj
[1] ;
15290 if (!args
) SWIG_fail
;
15291 swig_obj
[0] = args
;
15292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15293 if (!SWIG_IsOK(res1
)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15296 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15312 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
= 0;
15314 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15315 SwigValueWrapper
<wxVisualAttributes
> result
;
15318 PyObject
* obj0
= 0 ;
15319 char * kwnames
[] = {
15320 (char *) "variant", NULL
15323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15326 if (!SWIG_IsOK(ecode1
)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15329 arg1
= static_cast< wxWindowVariant
>(val1
);
15332 if (!wxPyCheckForApp()) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15345 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15348 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15349 return SWIG_Py_Void();
15352 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15353 return SWIG_Python_InitShadowInstance(args
);
15356 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
= 0;
15358 wxWindow
*arg1
= (wxWindow
*) 0 ;
15359 int arg2
= (int) -1 ;
15360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15366 long arg6
= (long) wxSP_ARROW_KEYS
;
15367 int arg7
= (int) 0 ;
15368 int arg8
= (int) 100 ;
15369 int arg9
= (int) 0 ;
15370 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15371 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15372 wxSpinCtrl
*result
= 0 ;
15377 bool temp3
= false ;
15388 bool temp10
= false ;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 PyObject
* obj2
= 0 ;
15392 PyObject
* obj3
= 0 ;
15393 PyObject
* obj4
= 0 ;
15394 PyObject
* obj5
= 0 ;
15395 PyObject
* obj6
= 0 ;
15396 PyObject
* obj7
= 0 ;
15397 PyObject
* obj8
= 0 ;
15398 PyObject
* obj9
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15411 if (!SWIG_IsOK(ecode2
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15414 arg2
= static_cast< int >(val2
);
15418 arg3
= wxString_in_helper(obj2
);
15419 if (arg3
== NULL
) SWIG_fail
;
15426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15437 if (!SWIG_IsOK(ecode6
)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15440 arg6
= static_cast< long >(val6
);
15443 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15444 if (!SWIG_IsOK(ecode7
)) {
15445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15447 arg7
= static_cast< int >(val7
);
15450 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15451 if (!SWIG_IsOK(ecode8
)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15454 arg8
= static_cast< int >(val8
);
15457 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15458 if (!SWIG_IsOK(ecode9
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15461 arg9
= static_cast< int >(val9
);
15465 arg10
= wxString_in_helper(obj9
);
15466 if (arg10
== NULL
) SWIG_fail
;
15471 if (!wxPyCheckForApp()) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15500 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15501 PyObject
*resultobj
= 0;
15502 wxSpinCtrl
*result
= 0 ;
15504 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15506 if (!wxPyCheckForApp()) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15519 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= 0;
15521 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15522 wxWindow
*arg2
= (wxWindow
*) 0 ;
15523 int arg3
= (int) -1 ;
15524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15530 long arg7
= (long) wxSP_ARROW_KEYS
;
15531 int arg8
= (int) 0 ;
15532 int arg9
= (int) 100 ;
15533 int arg10
= (int) 0 ;
15534 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15535 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15543 bool temp4
= false ;
15554 bool temp11
= false ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 PyObject
* obj2
= 0 ;
15558 PyObject
* obj3
= 0 ;
15559 PyObject
* obj4
= 0 ;
15560 PyObject
* obj5
= 0 ;
15561 PyObject
* obj6
= 0 ;
15562 PyObject
* obj7
= 0 ;
15563 PyObject
* obj8
= 0 ;
15564 PyObject
* obj9
= 0 ;
15565 PyObject
* obj10
= 0 ;
15566 char * kwnames
[] = {
15567 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15572 if (!SWIG_IsOK(res1
)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15575 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15577 if (!SWIG_IsOK(res2
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15583 if (!SWIG_IsOK(ecode3
)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15586 arg3
= static_cast< int >(val3
);
15590 arg4
= wxString_in_helper(obj3
);
15591 if (arg4
== NULL
) SWIG_fail
;
15598 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15604 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15608 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15609 if (!SWIG_IsOK(ecode7
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15612 arg7
= static_cast< long >(val7
);
15615 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15616 if (!SWIG_IsOK(ecode8
)) {
15617 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15619 arg8
= static_cast< int >(val8
);
15622 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15623 if (!SWIG_IsOK(ecode9
)) {
15624 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15626 arg9
= static_cast< int >(val9
);
15629 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15630 if (!SWIG_IsOK(ecode10
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15633 arg10
= static_cast< int >(val10
);
15637 arg11
= wxString_in_helper(obj10
);
15638 if (arg11
== NULL
) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15673 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15674 PyObject
*resultobj
= 0;
15675 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15679 PyObject
*swig_obj
[1] ;
15681 if (!args
) SWIG_fail
;
15682 swig_obj
[0] = args
;
15683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15687 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_From_int(static_cast< int >(result
));
15701 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
= 0;
15703 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 char * kwnames
[] = {
15712 (char *) "self",(char *) "value", NULL
15715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15717 if (!SWIG_IsOK(res1
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15720 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15722 if (!SWIG_IsOK(ecode2
)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15725 arg2
= static_cast< int >(val2
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 (arg1
)->SetValue(arg2
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_Py_Void();
15739 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
= 0;
15741 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15742 wxString
*arg2
= 0 ;
15745 bool temp2
= false ;
15746 PyObject
* obj0
= 0 ;
15747 PyObject
* obj1
= 0 ;
15748 char * kwnames
[] = {
15749 (char *) "self",(char *) "text", NULL
15752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15757 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15759 arg2
= wxString_in_helper(obj1
);
15760 if (arg2
== NULL
) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 (arg1
)->SetValue((wxString
const &)*arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_Py_Void();
15784 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= 0;
15786 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 PyObject
* obj2
= 0 ;
15798 char * kwnames
[] = {
15799 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15807 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15809 if (!SWIG_IsOK(ecode2
)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15812 arg2
= static_cast< int >(val2
);
15813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15814 if (!SWIG_IsOK(ecode3
)) {
15815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15817 arg3
= static_cast< int >(val3
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->SetRange(arg2
,arg3
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_Py_Void();
15831 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15832 PyObject
*resultobj
= 0;
15833 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15837 PyObject
*swig_obj
[1] ;
15839 if (!args
) SWIG_fail
;
15840 swig_obj
[0] = args
;
15841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15842 if (!SWIG_IsOK(res1
)) {
15843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15845 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= SWIG_From_int(static_cast< int >(result
));
15859 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15860 PyObject
*resultobj
= 0;
15861 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15865 PyObject
*swig_obj
[1] ;
15867 if (!args
) SWIG_fail
;
15868 swig_obj
[0] = args
;
15869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15870 if (!SWIG_IsOK(res1
)) {
15871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15873 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_From_int(static_cast< int >(result
));
15887 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
= 0;
15889 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 PyObject
* obj2
= 0 ;
15901 char * kwnames
[] = {
15902 (char *) "self",(char *) "from",(char *) "to", NULL
15905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15910 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15911 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15912 if (!SWIG_IsOK(ecode2
)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15915 arg2
= static_cast< long >(val2
);
15916 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15917 if (!SWIG_IsOK(ecode3
)) {
15918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15920 arg3
= static_cast< long >(val3
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 (arg1
)->SetSelection(arg2
,arg3
);
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_Py_Void();
15934 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
= 0;
15936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15937 SwigValueWrapper
<wxVisualAttributes
> result
;
15940 PyObject
* obj0
= 0 ;
15941 char * kwnames
[] = {
15942 (char *) "variant", NULL
15945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15948 if (!SWIG_IsOK(ecode1
)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15951 arg1
= static_cast< wxWindowVariant
>(val1
);
15954 if (!wxPyCheckForApp()) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15967 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15970 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15971 return SWIG_Py_Void();
15974 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15975 return SWIG_Python_InitShadowInstance(args
);
15978 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
= 0;
15980 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15981 int arg2
= (int) 0 ;
15982 wxSpinEvent
*result
= 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "commandType",(char *) "winid", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15995 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15996 if (!SWIG_IsOK(ecode1
)) {
15997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15999 arg1
= static_cast< wxEventType
>(val1
);
16002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16003 if (!SWIG_IsOK(ecode2
)) {
16004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16006 arg2
= static_cast< int >(val2
);
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16021 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 PyObject
*resultobj
= 0;
16023 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16027 PyObject
*swig_obj
[1] ;
16029 if (!args
) SWIG_fail
;
16030 swig_obj
[0] = args
;
16031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16035 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_From_int(static_cast< int >(result
));
16049 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "self",(char *) "pos", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16065 if (!SWIG_IsOK(res1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16068 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16073 arg2
= static_cast< int >(val2
);
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 (arg1
)->SetPosition(arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_Py_Void();
16087 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16090 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16091 return SWIG_Py_Void();
16094 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 return SWIG_Python_InitShadowInstance(args
);
16098 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16099 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16104 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16105 PyObject
*pyobj
= 0;
16109 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16111 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16118 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16119 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16124 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16125 PyObject
*pyobj
= 0;
16129 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16131 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16138 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
= 0;
16140 wxWindow
*arg1
= (wxWindow
*) 0 ;
16141 int arg2
= (int) -1 ;
16142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16148 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16149 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16150 int arg7
= (int) 0 ;
16151 long arg8
= (long) wxRA_HORIZONTAL
;
16152 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16153 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16154 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16155 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16156 wxRadioBox
*result
= 0 ;
16161 bool temp3
= false ;
16164 bool temp6
= false ;
16171 bool temp10
= false ;
16172 PyObject
* obj0
= 0 ;
16173 PyObject
* obj1
= 0 ;
16174 PyObject
* obj2
= 0 ;
16175 PyObject
* obj3
= 0 ;
16176 PyObject
* obj4
= 0 ;
16177 PyObject
* obj5
= 0 ;
16178 PyObject
* obj6
= 0 ;
16179 PyObject
* obj7
= 0 ;
16180 PyObject
* obj8
= 0 ;
16181 PyObject
* obj9
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16188 if (!SWIG_IsOK(res1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16194 if (!SWIG_IsOK(ecode2
)) {
16195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16197 arg2
= static_cast< int >(val2
);
16201 arg3
= wxString_in_helper(obj2
);
16202 if (arg3
== NULL
) SWIG_fail
;
16209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16220 if (! PySequence_Check(obj5
)) {
16221 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16224 arg6
= new wxArrayString
;
16226 int i
, len
=PySequence_Length(obj5
);
16227 for (i
=0; i
<len
; i
++) {
16228 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16229 wxString
* s
= wxString_in_helper(item
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16238 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16239 if (!SWIG_IsOK(ecode7
)) {
16240 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16242 arg7
= static_cast< int >(val7
);
16245 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16246 if (!SWIG_IsOK(ecode8
)) {
16247 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16249 arg8
= static_cast< long >(val8
);
16252 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16253 if (!SWIG_IsOK(res9
)) {
16254 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16259 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16263 arg10
= wxString_in_helper(obj9
);
16264 if (arg10
== NULL
) SWIG_fail
;
16269 if (!wxPyCheckForApp()) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 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
);
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16281 if (temp6
) delete arg6
;
16294 if (temp6
) delete arg6
;
16304 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxRadioBox
*result
= 0 ;
16308 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16310 if (!wxPyCheckForApp()) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (wxRadioBox
*)new wxRadioBox();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16323 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
= 0;
16325 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16326 wxWindow
*arg2
= (wxWindow
*) 0 ;
16327 int arg3
= (int) -1 ;
16328 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16329 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16330 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16331 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16332 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16333 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16334 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16335 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16336 int arg8
= (int) 0 ;
16337 long arg9
= (long) wxRA_HORIZONTAL
;
16338 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16339 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16340 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16341 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16349 bool temp4
= false ;
16352 bool temp7
= false ;
16359 bool temp11
= false ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 PyObject
* obj2
= 0 ;
16363 PyObject
* obj3
= 0 ;
16364 PyObject
* obj4
= 0 ;
16365 PyObject
* obj5
= 0 ;
16366 PyObject
* obj6
= 0 ;
16367 PyObject
* obj7
= 0 ;
16368 PyObject
* obj8
= 0 ;
16369 PyObject
* obj9
= 0 ;
16370 PyObject
* obj10
= 0 ;
16371 char * kwnames
[] = {
16372 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16380 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16382 if (!SWIG_IsOK(res2
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16388 if (!SWIG_IsOK(ecode3
)) {
16389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16391 arg3
= static_cast< int >(val3
);
16395 arg4
= wxString_in_helper(obj3
);
16396 if (arg4
== NULL
) SWIG_fail
;
16403 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16409 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16414 if (! PySequence_Check(obj6
)) {
16415 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16418 arg7
= new wxArrayString
;
16420 int i
, len
=PySequence_Length(obj6
);
16421 for (i
=0; i
<len
; i
++) {
16422 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16423 wxString
* s
= wxString_in_helper(item
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16432 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16433 if (!SWIG_IsOK(ecode8
)) {
16434 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16436 arg8
= static_cast< int >(val8
);
16439 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16440 if (!SWIG_IsOK(ecode9
)) {
16441 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16443 arg9
= static_cast< long >(val9
);
16446 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16447 if (!SWIG_IsOK(res10
)) {
16448 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16453 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16457 arg11
= wxString_in_helper(obj10
);
16458 if (arg11
== NULL
) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 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
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 if (temp7
) delete arg7
;
16489 if (temp7
) delete arg7
;
16499 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
= 0;
16501 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char * kwnames
[] = {
16510 (char *) "self",(char *) "n", NULL
16513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16518 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16520 if (!SWIG_IsOK(ecode2
)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16523 arg2
= static_cast< int >(val2
);
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 (arg1
)->SetSelection(arg2
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= SWIG_Py_Void();
16537 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16538 PyObject
*resultobj
= 0;
16539 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16543 PyObject
*swig_obj
[1] ;
16545 if (!args
) SWIG_fail
;
16546 swig_obj
[0] = args
;
16547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16551 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= SWIG_From_int(static_cast< int >(result
));
16565 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16566 PyObject
*resultobj
= 0;
16567 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16571 PyObject
*swig_obj
[1] ;
16573 if (!args
) SWIG_fail
;
16574 swig_obj
[0] = args
;
16575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16576 if (!SWIG_IsOK(res1
)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16579 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16599 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16601 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16602 wxString
*arg2
= 0 ;
16606 bool temp2
= false ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char * kwnames
[] = {
16610 (char *) "self",(char *) "s", NULL
16613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16615 if (!SWIG_IsOK(res1
)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16618 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16620 arg2
= wxString_in_helper(obj1
);
16621 if (arg2
== NULL
) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16647 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16648 PyObject
*resultobj
= 0;
16649 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16653 PyObject
*swig_obj
[1] ;
16655 if (!args
) SWIG_fail
;
16656 swig_obj
[0] = args
;
16657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16658 if (!SWIG_IsOK(res1
)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16661 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16675 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
= 0;
16677 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16678 wxString
*arg2
= 0 ;
16682 bool temp2
= false ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char * kwnames
[] = {
16686 (char *) "self",(char *) "s", NULL
16689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16691 if (!SWIG_IsOK(res1
)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16694 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16696 arg2
= wxString_in_helper(obj1
);
16697 if (arg2
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_From_int(static_cast< int >(result
));
16721 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 char * kwnames
[] = {
16733 (char *) "self",(char *) "n", NULL
16736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16738 if (!SWIG_IsOK(res1
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16741 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16743 if (!SWIG_IsOK(ecode2
)) {
16744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16746 arg2
= static_cast< int >(val2
);
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16766 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= 0;
16768 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16770 wxString
*arg3
= 0 ;
16775 bool temp3
= false ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 PyObject
* obj2
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "self",(char *) "n",(char *) "label", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16788 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16790 if (!SWIG_IsOK(ecode2
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16793 arg2
= static_cast< int >(val2
);
16795 arg3
= wxString_in_helper(obj2
);
16796 if (arg3
== NULL
) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_Py_Void();
16820 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
= 0;
16822 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16823 unsigned int arg2
;
16824 bool arg3
= (bool) true ;
16827 unsigned int val2
;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char * kwnames
[] = {
16835 (char *) "self",(char *) "n",(char *) "enable", NULL
16838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16843 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16844 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16845 if (!SWIG_IsOK(ecode2
)) {
16846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16848 arg2
= static_cast< unsigned int >(val2
);
16850 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16851 if (!SWIG_IsOK(ecode3
)) {
16852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16854 arg3
= static_cast< bool >(val3
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->Enable(arg2
,arg3
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_Py_Void();
16869 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
= 0;
16871 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16872 unsigned int arg2
;
16873 bool arg3
= (bool) true ;
16876 unsigned int val2
;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 PyObject
* obj2
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "n",(char *) "show", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16892 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16893 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16894 if (!SWIG_IsOK(ecode2
)) {
16895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16897 arg2
= static_cast< unsigned int >(val2
);
16899 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16900 if (!SWIG_IsOK(ecode3
)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16903 arg3
= static_cast< bool >(val3
);
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 (arg1
)->Show(arg2
,arg3
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= SWIG_Py_Void();
16918 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
= 0;
16920 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16921 unsigned int arg2
;
16925 unsigned int val2
;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "self",(char *) "n", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16938 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16939 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16940 if (!SWIG_IsOK(ecode2
)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16943 arg2
= static_cast< unsigned int >(val2
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16959 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
= 0;
16961 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16962 unsigned int arg2
;
16966 unsigned int val2
;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char * kwnames
[] = {
16971 (char *) "self",(char *) "n", NULL
16974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16976 if (!SWIG_IsOK(res1
)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16979 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16980 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16981 if (!SWIG_IsOK(ecode2
)) {
16982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16984 arg2
= static_cast< unsigned int >(val2
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17000 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17001 PyObject
*resultobj
= 0;
17002 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17003 unsigned int result
;
17006 PyObject
*swig_obj
[1] ;
17008 if (!args
) SWIG_fail
;
17009 swig_obj
[0] = args
;
17010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17011 if (!SWIG_IsOK(res1
)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17014 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17028 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17029 PyObject
*resultobj
= 0;
17030 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17031 unsigned int result
;
17034 PyObject
*swig_obj
[1] ;
17036 if (!args
) SWIG_fail
;
17037 swig_obj
[0] = args
;
17038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17039 if (!SWIG_IsOK(res1
)) {
17040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17042 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17056 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
= 0;
17058 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 PyObject
* obj3
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17084 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17086 if (!SWIG_IsOK(ecode2
)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17089 arg2
= static_cast< int >(val2
);
17090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17091 if (!SWIG_IsOK(ecode3
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17094 arg3
= static_cast< wxDirection
>(val3
);
17095 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17096 if (!SWIG_IsOK(ecode4
)) {
17097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17099 arg4
= static_cast< long >(val4
);
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= SWIG_From_int(static_cast< int >(result
));
17113 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
= 0;
17115 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17116 unsigned int arg2
;
17117 wxString
*arg3
= 0 ;
17120 unsigned int val2
;
17122 bool temp3
= false ;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 PyObject
* obj2
= 0 ;
17126 char * kwnames
[] = {
17127 (char *) "self",(char *) "item",(char *) "text", NULL
17130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17132 if (!SWIG_IsOK(res1
)) {
17133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17135 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17136 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17137 if (!SWIG_IsOK(ecode2
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17140 arg2
= static_cast< unsigned int >(val2
);
17142 arg3
= wxString_in_helper(obj2
);
17143 if (arg3
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_Py_Void();
17167 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17169 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17170 unsigned int arg2
;
17171 wxToolTip
*result
= 0 ;
17174 unsigned int val2
;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char * kwnames
[] = {
17179 (char *) "self",(char *) "item", NULL
17182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17184 if (!SWIG_IsOK(res1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17187 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17188 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17189 if (!SWIG_IsOK(ecode2
)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17192 arg2
= static_cast< unsigned int >(val2
);
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17208 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
= 0;
17210 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17211 unsigned int arg2
;
17212 wxString
*arg3
= 0 ;
17215 unsigned int val2
;
17217 bool temp3
= false ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 char * kwnames
[] = {
17222 (char *) "self",(char *) "n",(char *) "helpText", NULL
17225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17227 if (!SWIG_IsOK(res1
)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17230 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17231 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17232 if (!SWIG_IsOK(ecode2
)) {
17233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17235 arg2
= static_cast< unsigned int >(val2
);
17237 arg3
= wxString_in_helper(obj2
);
17238 if (arg3
== NULL
) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_Py_Void();
17262 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
= 0;
17264 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17265 unsigned int arg2
;
17269 unsigned int val2
;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 char * kwnames
[] = {
17274 (char *) "self",(char *) "n", NULL
17277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17279 if (!SWIG_IsOK(res1
)) {
17280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17282 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17283 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17284 if (!SWIG_IsOK(ecode2
)) {
17285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17287 arg2
= static_cast< unsigned int >(val2
);
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17307 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
= 0;
17309 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17310 SwigValueWrapper
<wxVisualAttributes
> result
;
17313 PyObject
* obj0
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "variant", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17321 if (!SWIG_IsOK(ecode1
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17324 arg1
= static_cast< wxWindowVariant
>(val1
);
17327 if (!wxPyCheckForApp()) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17340 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17343 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17344 return SWIG_Py_Void();
17347 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17348 return SWIG_Python_InitShadowInstance(args
);
17351 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
= 0;
17353 wxWindow
*arg1
= (wxWindow
*) 0 ;
17354 int arg2
= (int) -1 ;
17355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17357 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17358 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17359 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17360 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17361 long arg6
= (long) 0 ;
17362 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17363 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17364 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17365 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17366 wxRadioButton
*result
= 0 ;
17371 bool temp3
= false ;
17378 bool temp8
= false ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 PyObject
* obj2
= 0 ;
17382 PyObject
* obj3
= 0 ;
17383 PyObject
* obj4
= 0 ;
17384 PyObject
* obj5
= 0 ;
17385 PyObject
* obj6
= 0 ;
17386 PyObject
* obj7
= 0 ;
17387 char * kwnames
[] = {
17388 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17396 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17399 if (!SWIG_IsOK(ecode2
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17402 arg2
= static_cast< int >(val2
);
17406 arg3
= wxString_in_helper(obj2
);
17407 if (arg3
== NULL
) SWIG_fail
;
17414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17424 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17425 if (!SWIG_IsOK(ecode6
)) {
17426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17428 arg6
= static_cast< long >(val6
);
17431 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17432 if (!SWIG_IsOK(res7
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17438 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17442 arg8
= wxString_in_helper(obj7
);
17443 if (arg8
== NULL
) SWIG_fail
;
17448 if (!wxPyCheckForApp()) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17477 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17478 PyObject
*resultobj
= 0;
17479 wxRadioButton
*result
= 0 ;
17481 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17483 if (!wxPyCheckForApp()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (wxRadioButton
*)new wxRadioButton();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17496 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
= 0;
17498 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17499 wxWindow
*arg2
= (wxWindow
*) 0 ;
17500 int arg3
= (int) -1 ;
17501 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17502 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17503 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17504 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17505 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17506 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17507 long arg7
= (long) 0 ;
17508 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17509 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17510 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17511 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17519 bool temp4
= false ;
17526 bool temp9
= false ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 PyObject
* obj2
= 0 ;
17530 PyObject
* obj3
= 0 ;
17531 PyObject
* obj4
= 0 ;
17532 PyObject
* obj5
= 0 ;
17533 PyObject
* obj6
= 0 ;
17534 PyObject
* obj7
= 0 ;
17535 PyObject
* obj8
= 0 ;
17536 char * kwnames
[] = {
17537 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17542 if (!SWIG_IsOK(res1
)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17545 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17547 if (!SWIG_IsOK(res2
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17550 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17553 if (!SWIG_IsOK(ecode3
)) {
17554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17556 arg3
= static_cast< int >(val3
);
17560 arg4
= wxString_in_helper(obj3
);
17561 if (arg4
== NULL
) SWIG_fail
;
17568 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17574 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17579 if (!SWIG_IsOK(ecode7
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17582 arg7
= static_cast< long >(val7
);
17585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17586 if (!SWIG_IsOK(res8
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17596 arg9
= wxString_in_helper(obj8
);
17597 if (arg9
== NULL
) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17632 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17633 PyObject
*resultobj
= 0;
17634 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17638 PyObject
*swig_obj
[1] ;
17640 if (!args
) SWIG_fail
;
17641 swig_obj
[0] = args
;
17642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17646 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (bool)(arg1
)->GetValue();
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
= 0;
17664 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char * kwnames
[] = {
17673 (char *) "self",(char *) "value", NULL
17676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17678 if (!SWIG_IsOK(res1
)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17681 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17683 if (!SWIG_IsOK(ecode2
)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17686 arg2
= static_cast< bool >(val2
);
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->SetValue(arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_Py_Void();
17700 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
= 0;
17702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17703 SwigValueWrapper
<wxVisualAttributes
> result
;
17706 PyObject
* obj0
= 0 ;
17707 char * kwnames
[] = {
17708 (char *) "variant", NULL
17711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17714 if (!SWIG_IsOK(ecode1
)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17717 arg1
= static_cast< wxWindowVariant
>(val1
);
17720 if (!wxPyCheckForApp()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17733 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17736 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17737 return SWIG_Py_Void();
17740 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17741 return SWIG_Python_InitShadowInstance(args
);
17744 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17745 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17750 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17751 PyObject
*pyobj
= 0;
17755 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17757 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17764 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
= 0;
17766 wxWindow
*arg1
= (wxWindow
*) 0 ;
17767 int arg2
= (int) -1 ;
17768 int arg3
= (int) 0 ;
17769 int arg4
= (int) 0 ;
17770 int arg5
= (int) 100 ;
17771 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17772 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17773 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17774 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17775 long arg8
= (long) wxSL_HORIZONTAL
;
17776 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17777 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17778 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17779 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17780 wxSlider
*result
= 0 ;
17797 bool temp10
= false ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 PyObject
* obj2
= 0 ;
17801 PyObject
* obj3
= 0 ;
17802 PyObject
* obj4
= 0 ;
17803 PyObject
* obj5
= 0 ;
17804 PyObject
* obj6
= 0 ;
17805 PyObject
* obj7
= 0 ;
17806 PyObject
* obj8
= 0 ;
17807 PyObject
* obj9
= 0 ;
17808 char * kwnames
[] = {
17809 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17814 if (!SWIG_IsOK(res1
)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17820 if (!SWIG_IsOK(ecode2
)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17823 arg2
= static_cast< int >(val2
);
17826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17827 if (!SWIG_IsOK(ecode3
)) {
17828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17830 arg3
= static_cast< int >(val3
);
17833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17834 if (!SWIG_IsOK(ecode4
)) {
17835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17837 arg4
= static_cast< int >(val4
);
17840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17841 if (!SWIG_IsOK(ecode5
)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17844 arg5
= static_cast< int >(val5
);
17849 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17855 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17859 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17860 if (!SWIG_IsOK(ecode8
)) {
17861 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17863 arg8
= static_cast< long >(val8
);
17866 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17867 if (!SWIG_IsOK(res9
)) {
17868 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17873 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17877 arg10
= wxString_in_helper(obj9
);
17878 if (arg10
== NULL
) SWIG_fail
;
17883 if (!wxPyCheckForApp()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17904 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17905 PyObject
*resultobj
= 0;
17906 wxSlider
*result
= 0 ;
17908 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17910 if (!wxPyCheckForApp()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (wxSlider
*)new wxSlider();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17923 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
= 0;
17925 wxSlider
*arg1
= (wxSlider
*) 0 ;
17926 wxWindow
*arg2
= (wxWindow
*) 0 ;
17927 int arg3
= (int) -1 ;
17928 int arg4
= (int) 0 ;
17929 int arg5
= (int) 0 ;
17930 int arg6
= (int) 100 ;
17931 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17932 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17933 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17934 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17935 long arg9
= (long) wxSL_HORIZONTAL
;
17936 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17937 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17938 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17939 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17959 bool temp11
= false ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 PyObject
* obj2
= 0 ;
17963 PyObject
* obj3
= 0 ;
17964 PyObject
* obj4
= 0 ;
17965 PyObject
* obj5
= 0 ;
17966 PyObject
* obj6
= 0 ;
17967 PyObject
* obj7
= 0 ;
17968 PyObject
* obj8
= 0 ;
17969 PyObject
* obj9
= 0 ;
17970 PyObject
* obj10
= 0 ;
17971 char * kwnames
[] = {
17972 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17980 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17982 if (!SWIG_IsOK(res2
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17985 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17988 if (!SWIG_IsOK(ecode3
)) {
17989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17991 arg3
= static_cast< int >(val3
);
17994 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17995 if (!SWIG_IsOK(ecode4
)) {
17996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17998 arg4
= static_cast< int >(val4
);
18001 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18002 if (!SWIG_IsOK(ecode5
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18005 arg5
= static_cast< int >(val5
);
18008 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18009 if (!SWIG_IsOK(ecode6
)) {
18010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18012 arg6
= static_cast< int >(val6
);
18017 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18023 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18027 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18028 if (!SWIG_IsOK(ecode9
)) {
18029 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18031 arg9
= static_cast< long >(val9
);
18034 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18035 if (!SWIG_IsOK(res10
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18041 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18045 arg11
= wxString_in_helper(obj10
);
18046 if (arg11
== NULL
) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18073 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18074 PyObject
*resultobj
= 0;
18075 wxSlider
*arg1
= (wxSlider
*) 0 ;
18079 PyObject
*swig_obj
[1] ;
18081 if (!args
) SWIG_fail
;
18082 swig_obj
[0] = args
;
18083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18084 if (!SWIG_IsOK(res1
)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18087 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_From_int(static_cast< int >(result
));
18101 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
= 0;
18103 wxSlider
*arg1
= (wxSlider
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 char * kwnames
[] = {
18112 (char *) "self",(char *) "value", NULL
18115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18117 if (!SWIG_IsOK(res1
)) {
18118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18120 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18122 if (!SWIG_IsOK(ecode2
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18125 arg2
= static_cast< int >(val2
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->SetValue(arg2
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_Py_Void();
18139 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxSlider
*arg1
= (wxSlider
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 PyObject
* obj2
= 0 ;
18153 char * kwnames
[] = {
18154 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18162 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18164 if (!SWIG_IsOK(ecode2
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18167 arg2
= static_cast< int >(val2
);
18168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18169 if (!SWIG_IsOK(ecode3
)) {
18170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18172 arg3
= static_cast< int >(val3
);
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->SetRange(arg2
,arg3
);
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_Py_Void();
18186 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18187 PyObject
*resultobj
= 0;
18188 wxSlider
*arg1
= (wxSlider
*) 0 ;
18192 PyObject
*swig_obj
[1] ;
18194 if (!args
) SWIG_fail
;
18195 swig_obj
[0] = args
;
18196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18200 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_From_int(static_cast< int >(result
));
18214 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18215 PyObject
*resultobj
= 0;
18216 wxSlider
*arg1
= (wxSlider
*) 0 ;
18220 PyObject
*swig_obj
[1] ;
18222 if (!args
) SWIG_fail
;
18223 swig_obj
[0] = args
;
18224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18225 if (!SWIG_IsOK(res1
)) {
18226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18228 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_From_int(static_cast< int >(result
));
18242 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
= 0;
18244 wxSlider
*arg1
= (wxSlider
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 char * kwnames
[] = {
18253 (char *) "self",(char *) "minValue", NULL
18256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18258 if (!SWIG_IsOK(res1
)) {
18259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18261 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18263 if (!SWIG_IsOK(ecode2
)) {
18264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18266 arg2
= static_cast< int >(val2
);
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->SetMin(arg2
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_Py_Void();
18280 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
= 0;
18282 wxSlider
*arg1
= (wxSlider
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "maxValue", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18299 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18301 if (!SWIG_IsOK(ecode2
)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18304 arg2
= static_cast< int >(val2
);
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetMax(arg2
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_Py_Void();
18318 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
= 0;
18320 wxSlider
*arg1
= (wxSlider
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 char * kwnames
[] = {
18329 (char *) "self",(char *) "lineSize", NULL
18332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18334 if (!SWIG_IsOK(res1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18337 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18339 if (!SWIG_IsOK(ecode2
)) {
18340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18342 arg2
= static_cast< int >(val2
);
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 (arg1
)->SetLineSize(arg2
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_Py_Void();
18356 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
= 0;
18358 wxSlider
*arg1
= (wxSlider
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char * kwnames
[] = {
18367 (char *) "self",(char *) "pageSize", NULL
18370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18375 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18377 if (!SWIG_IsOK(ecode2
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18380 arg2
= static_cast< int >(val2
);
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->SetPageSize(arg2
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_Py_Void();
18394 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18395 PyObject
*resultobj
= 0;
18396 wxSlider
*arg1
= (wxSlider
*) 0 ;
18400 PyObject
*swig_obj
[1] ;
18402 if (!args
) SWIG_fail
;
18403 swig_obj
[0] = args
;
18404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18405 if (!SWIG_IsOK(res1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18408 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_From_int(static_cast< int >(result
));
18422 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18423 PyObject
*resultobj
= 0;
18424 wxSlider
*arg1
= (wxSlider
*) 0 ;
18428 PyObject
*swig_obj
[1] ;
18430 if (!args
) SWIG_fail
;
18431 swig_obj
[0] = args
;
18432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18436 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_From_int(static_cast< int >(result
));
18450 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
= 0;
18452 wxSlider
*arg1
= (wxSlider
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char * kwnames
[] = {
18461 (char *) "self",(char *) "lenPixels", NULL
18464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18466 if (!SWIG_IsOK(res1
)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18469 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18471 if (!SWIG_IsOK(ecode2
)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18474 arg2
= static_cast< int >(val2
);
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->SetThumbLength(arg2
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_Py_Void();
18488 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18489 PyObject
*resultobj
= 0;
18490 wxSlider
*arg1
= (wxSlider
*) 0 ;
18494 PyObject
*swig_obj
[1] ;
18496 if (!args
) SWIG_fail
;
18497 swig_obj
[0] = args
;
18498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18502 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_From_int(static_cast< int >(result
));
18516 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
= 0;
18518 wxSlider
*arg1
= (wxSlider
*) 0 ;
18520 int arg3
= (int) 1 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 PyObject
* obj2
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "n",(char *) "pos", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18539 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18541 if (!SWIG_IsOK(ecode2
)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18544 arg2
= static_cast< int >(val2
);
18546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18547 if (!SWIG_IsOK(ecode3
)) {
18548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18550 arg3
= static_cast< int >(val3
);
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 (arg1
)->SetTickFreq(arg2
,arg3
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_Py_Void();
18565 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18566 PyObject
*resultobj
= 0;
18567 wxSlider
*arg1
= (wxSlider
*) 0 ;
18571 PyObject
*swig_obj
[1] ;
18573 if (!args
) SWIG_fail
;
18574 swig_obj
[0] = args
;
18575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18576 if (!SWIG_IsOK(res1
)) {
18577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18579 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_From_int(static_cast< int >(result
));
18593 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18594 PyObject
*resultobj
= 0;
18595 wxSlider
*arg1
= (wxSlider
*) 0 ;
18598 PyObject
*swig_obj
[1] ;
18600 if (!args
) SWIG_fail
;
18601 swig_obj
[0] = args
;
18602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18606 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 (arg1
)->ClearTicks();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_Py_Void();
18620 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
= 0;
18622 wxSlider
*arg1
= (wxSlider
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char * kwnames
[] = {
18631 (char *) "self",(char *) "tickPos", NULL
18634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18639 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18641 if (!SWIG_IsOK(ecode2
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18644 arg2
= static_cast< int >(val2
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->SetTick(arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 PyObject
*resultobj
= 0;
18660 wxSlider
*arg1
= (wxSlider
*) 0 ;
18663 PyObject
*swig_obj
[1] ;
18665 if (!args
) SWIG_fail
;
18666 swig_obj
[0] = args
;
18667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18668 if (!SWIG_IsOK(res1
)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18671 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->ClearSel();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_Py_Void();
18685 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18686 PyObject
*resultobj
= 0;
18687 wxSlider
*arg1
= (wxSlider
*) 0 ;
18691 PyObject
*swig_obj
[1] ;
18693 if (!args
) SWIG_fail
;
18694 swig_obj
[0] = args
;
18695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18699 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_From_int(static_cast< int >(result
));
18713 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18714 PyObject
*resultobj
= 0;
18715 wxSlider
*arg1
= (wxSlider
*) 0 ;
18719 PyObject
*swig_obj
[1] ;
18721 if (!args
) SWIG_fail
;
18722 swig_obj
[0] = args
;
18723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18724 if (!SWIG_IsOK(res1
)) {
18725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18727 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= SWIG_From_int(static_cast< int >(result
));
18741 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
= 0;
18743 wxSlider
*arg1
= (wxSlider
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 PyObject
* obj2
= 0 ;
18755 char * kwnames
[] = {
18756 (char *) "self",(char *) "min",(char *) "max", NULL
18759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18764 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18766 if (!SWIG_IsOK(ecode2
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18769 arg2
= static_cast< int >(val2
);
18770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18771 if (!SWIG_IsOK(ecode3
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18774 arg3
= static_cast< int >(val3
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->SetSelection(arg2
,arg3
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_Py_Void();
18788 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18791 SwigValueWrapper
<wxVisualAttributes
> result
;
18794 PyObject
* obj0
= 0 ;
18795 char * kwnames
[] = {
18796 (char *) "variant", NULL
18799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18802 if (!SWIG_IsOK(ecode1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18805 arg1
= static_cast< wxWindowVariant
>(val1
);
18808 if (!wxPyCheckForApp()) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18821 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18825 return SWIG_Py_Void();
18828 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18829 return SWIG_Python_InitShadowInstance(args
);
18832 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18833 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18838 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18839 PyObject
*pyobj
= 0;
18843 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18845 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18852 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= 0;
18854 wxWindow
*arg1
= (wxWindow
*) 0 ;
18855 int arg2
= (int) -1 ;
18856 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18857 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18862 long arg6
= (long) 0 ;
18863 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18864 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18865 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18866 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18867 wxToggleButton
*result
= 0 ;
18872 bool temp3
= false ;
18879 bool temp8
= false ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 PyObject
* obj2
= 0 ;
18883 PyObject
* obj3
= 0 ;
18884 PyObject
* obj4
= 0 ;
18885 PyObject
* obj5
= 0 ;
18886 PyObject
* obj6
= 0 ;
18887 PyObject
* obj7
= 0 ;
18888 char * kwnames
[] = {
18889 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18894 if (!SWIG_IsOK(res1
)) {
18895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18900 if (!SWIG_IsOK(ecode2
)) {
18901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18903 arg2
= static_cast< int >(val2
);
18907 arg3
= wxString_in_helper(obj2
);
18908 if (arg3
== NULL
) SWIG_fail
;
18915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18926 if (!SWIG_IsOK(ecode6
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18929 arg6
= static_cast< long >(val6
);
18932 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18933 if (!SWIG_IsOK(res7
)) {
18934 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18939 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18943 arg8
= wxString_in_helper(obj7
);
18944 if (arg8
== NULL
) SWIG_fail
;
18949 if (!wxPyCheckForApp()) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18978 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18979 PyObject
*resultobj
= 0;
18980 wxToggleButton
*result
= 0 ;
18982 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18984 if (!wxPyCheckForApp()) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (wxToggleButton
*)new wxToggleButton();
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18997 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
= 0;
18999 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19000 wxWindow
*arg2
= (wxWindow
*) 0 ;
19001 int arg3
= (int) -1 ;
19002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19008 long arg7
= (long) 0 ;
19009 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19010 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19011 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19012 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19020 bool temp4
= false ;
19027 bool temp9
= false ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 PyObject
* obj2
= 0 ;
19031 PyObject
* obj3
= 0 ;
19032 PyObject
* obj4
= 0 ;
19033 PyObject
* obj5
= 0 ;
19034 PyObject
* obj6
= 0 ;
19035 PyObject
* obj7
= 0 ;
19036 PyObject
* obj8
= 0 ;
19037 char * kwnames
[] = {
19038 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19046 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19048 if (!SWIG_IsOK(res2
)) {
19049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19051 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19054 if (!SWIG_IsOK(ecode3
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19057 arg3
= static_cast< int >(val3
);
19061 arg4
= wxString_in_helper(obj3
);
19062 if (arg4
== NULL
) SWIG_fail
;
19069 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19075 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19079 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19080 if (!SWIG_IsOK(ecode7
)) {
19081 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19083 arg7
= static_cast< long >(val7
);
19086 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19087 if (!SWIG_IsOK(res8
)) {
19088 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19093 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19097 arg9
= wxString_in_helper(obj8
);
19098 if (arg9
== NULL
) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19133 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "value", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19152 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19153 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19154 if (!SWIG_IsOK(ecode2
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19157 arg2
= static_cast< bool >(val2
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->SetValue(arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_Py_Void();
19171 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19172 PyObject
*resultobj
= 0;
19173 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19177 PyObject
*swig_obj
[1] ;
19179 if (!args
) SWIG_fail
;
19180 swig_obj
[0] = args
;
19181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19185 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19201 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
= 0;
19203 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19204 SwigValueWrapper
<wxVisualAttributes
> result
;
19207 PyObject
* obj0
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "variant", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19214 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19215 if (!SWIG_IsOK(ecode1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19218 arg1
= static_cast< wxWindowVariant
>(val1
);
19221 if (!wxPyCheckForApp()) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19234 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19237 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19238 return SWIG_Py_Void();
19241 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19242 return SWIG_Python_InitShadowInstance(args
);
19245 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19246 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19251 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19252 PyObject
*pyobj
= 0;
19256 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19258 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19265 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19266 PyObject
*resultobj
= 0;
19267 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19271 PyObject
*swig_obj
[1] ;
19273 if (!args
) SWIG_fail
;
19274 swig_obj
[0] = args
;
19275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19279 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19293 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19297 wxWindow
*result
= 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char * kwnames
[] = {
19305 (char *) "self",(char *) "n", NULL
19308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19310 if (!SWIG_IsOK(res1
)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19313 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19314 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19315 if (!SWIG_IsOK(ecode2
)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19318 arg2
= static_cast< size_t >(val2
);
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= wxPyMake_wxObject(result
, 0);
19334 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19335 PyObject
*resultobj
= 0;
19336 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19337 wxWindow
*result
= 0 ;
19340 PyObject
*swig_obj
[1] ;
19342 if (!args
) SWIG_fail
;
19343 swig_obj
[0] = args
;
19344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19345 if (!SWIG_IsOK(res1
)) {
19346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19348 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= wxPyMake_wxObject(result
, 0);
19364 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19365 PyObject
*resultobj
= 0;
19366 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 PyObject
*swig_obj
[1] ;
19372 if (!args
) SWIG_fail
;
19373 swig_obj
[0] = args
;
19374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19375 if (!SWIG_IsOK(res1
)) {
19376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19378 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= SWIG_From_int(static_cast< int >(result
));
19392 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19396 wxString
*arg3
= 0 ;
19402 bool temp3
= false ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 PyObject
* obj2
= 0 ;
19406 char * kwnames
[] = {
19407 (char *) "self",(char *) "n",(char *) "strText", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19415 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19416 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19417 if (!SWIG_IsOK(ecode2
)) {
19418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19420 arg2
= static_cast< size_t >(val2
);
19422 arg3
= wxString_in_helper(obj2
);
19423 if (arg3
== NULL
) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19449 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
= 0;
19451 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char * kwnames
[] = {
19461 (char *) "self",(char *) "n", NULL
19464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19466 if (!SWIG_IsOK(res1
)) {
19467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19469 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19470 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19471 if (!SWIG_IsOK(ecode2
)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19474 arg2
= static_cast< size_t >(val2
);
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19494 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
= 0;
19496 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19497 wxImageList
*arg2
= (wxImageList
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 char * kwnames
[] = {
19505 (char *) "self",(char *) "imageList", NULL
19508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19510 if (!SWIG_IsOK(res1
)) {
19511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19513 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19515 if (!SWIG_IsOK(res2
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19518 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetImageList(arg2
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_Py_Void();
19532 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= 0;
19534 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19535 wxImageList
*arg2
= (wxImageList
*) 0 ;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 char * kwnames
[] = {
19542 (char *) "self",(char *) "imageList", NULL
19545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19550 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19551 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19552 if (!SWIG_IsOK(res2
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 (arg1
)->AssignImageList(arg2
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_Py_Void();
19568 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19569 PyObject
*resultobj
= 0;
19570 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19571 wxImageList
*result
= 0 ;
19574 PyObject
*swig_obj
[1] ;
19576 if (!args
) SWIG_fail
;
19577 swig_obj
[0] = args
;
19578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19579 if (!SWIG_IsOK(res1
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19582 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19598 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
= 0;
19600 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char * kwnames
[] = {
19610 (char *) "self",(char *) "n", NULL
19613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19615 if (!SWIG_IsOK(res1
)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19618 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19619 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19620 if (!SWIG_IsOK(ecode2
)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19623 arg2
= static_cast< size_t >(val2
);
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_From_int(static_cast< int >(result
));
19637 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
= 0;
19639 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 PyObject
* obj2
= 0 ;
19652 char * kwnames
[] = {
19653 (char *) "self",(char *) "n",(char *) "imageId", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19661 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19662 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19663 if (!SWIG_IsOK(ecode2
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19666 arg2
= static_cast< size_t >(val2
);
19667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19668 if (!SWIG_IsOK(ecode3
)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19671 arg3
= static_cast< int >(val3
);
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19687 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= 0;
19689 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 PyObject
* obj1
= 0 ;
19696 char * kwnames
[] = {
19697 (char *) "self",(char *) "size", NULL
19700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19702 if (!SWIG_IsOK(res1
)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19705 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19708 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_Py_Void();
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 char * kwnames
[] = {
19734 (char *) "self",(char *) "sizePage", NULL
19737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19742 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19745 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19760 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19761 PyObject
*resultobj
= 0;
19762 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19763 unsigned int result
;
19766 PyObject
*swig_obj
[1] ;
19768 if (!args
) SWIG_fail
;
19769 swig_obj
[0] = args
;
19770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19774 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19788 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
= 0;
19790 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19791 unsigned int arg2
;
19794 unsigned int val2
;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char * kwnames
[] = {
19799 (char *) "self",(char *) "internalBorder", NULL
19802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19807 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19808 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19809 if (!SWIG_IsOK(ecode2
)) {
19810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19812 arg2
= static_cast< unsigned int >(val2
);
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 (arg1
)->SetInternalBorder(arg2
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= SWIG_Py_Void();
19826 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19827 PyObject
*resultobj
= 0;
19828 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19832 PyObject
*swig_obj
[1] ;
19834 if (!args
) SWIG_fail
;
19835 swig_obj
[0] = args
;
19836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19837 if (!SWIG_IsOK(res1
)) {
19838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19840 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19856 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
= 0;
19858 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char * kwnames
[] = {
19867 (char *) "self",(char *) "margin", NULL
19870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19875 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19877 if (!SWIG_IsOK(ecode2
)) {
19878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19880 arg2
= static_cast< int >(val2
);
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 (arg1
)->SetControlMargin(arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= SWIG_Py_Void();
19894 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19895 PyObject
*resultobj
= 0;
19896 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19900 PyObject
*swig_obj
[1] ;
19902 if (!args
) SWIG_fail
;
19903 swig_obj
[0] = args
;
19904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19905 if (!SWIG_IsOK(res1
)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19908 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_From_int(static_cast< int >(result
));
19922 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
= 0;
19924 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char * kwnames
[] = {
19933 (char *) "self",(char *) "fit", NULL
19936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19938 if (!SWIG_IsOK(res1
)) {
19939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19941 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19942 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19943 if (!SWIG_IsOK(ecode2
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19946 arg2
= static_cast< bool >(val2
);
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->SetFitToCurrentPage(arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_Py_Void();
19960 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19961 PyObject
*resultobj
= 0;
19962 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19966 PyObject
*swig_obj
[1] ;
19968 if (!args
) SWIG_fail
;
19969 swig_obj
[0] = args
;
19970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19971 if (!SWIG_IsOK(res1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19974 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19990 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19991 PyObject
*resultobj
= 0;
19992 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19993 wxSizer
*result
= 0 ;
19996 PyObject
*swig_obj
[1] ;
19998 if (!args
) SWIG_fail
;
19999 swig_obj
[0] = args
;
20000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20004 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20020 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
= 0;
20022 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char * kwnames
[] = {
20032 (char *) "self",(char *) "n", NULL
20035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20037 if (!SWIG_IsOK(res1
)) {
20038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20040 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20041 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20042 if (!SWIG_IsOK(ecode2
)) {
20043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20045 arg2
= static_cast< size_t >(val2
);
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)(arg1
)->DeletePage(arg2
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20061 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 char * kwnames
[] = {
20073 (char *) "self",(char *) "n", NULL
20076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20078 if (!SWIG_IsOK(res1
)) {
20079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20081 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20082 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20083 if (!SWIG_IsOK(ecode2
)) {
20084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20086 arg2
= static_cast< size_t >(val2
);
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (bool)(arg1
)->RemovePage(arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20102 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20103 PyObject
*resultobj
= 0;
20104 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20108 PyObject
*swig_obj
[1] ;
20110 if (!args
) SWIG_fail
;
20111 swig_obj
[0] = args
;
20112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20113 if (!SWIG_IsOK(res1
)) {
20114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20116 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (bool)(arg1
)->DeleteAllPages();
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20132 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
= 0;
20134 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20135 wxWindow
*arg2
= (wxWindow
*) 0 ;
20136 wxString
*arg3
= 0 ;
20137 bool arg4
= (bool) false ;
20138 int arg5
= (int) -1 ;
20144 bool temp3
= false ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 PyObject
* obj2
= 0 ;
20152 PyObject
* obj3
= 0 ;
20153 PyObject
* obj4
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20163 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20165 if (!SWIG_IsOK(res2
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20170 arg3
= wxString_in_helper(obj2
);
20171 if (arg3
== NULL
) SWIG_fail
;
20175 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20176 if (!SWIG_IsOK(ecode4
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20179 arg4
= static_cast< bool >(val4
);
20182 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20183 if (!SWIG_IsOK(ecode5
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20186 arg5
= static_cast< int >(val5
);
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20211 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
= 0;
20213 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20215 wxWindow
*arg3
= (wxWindow
*) 0 ;
20216 wxString
*arg4
= 0 ;
20217 bool arg5
= (bool) false ;
20218 int arg6
= (int) -1 ;
20226 bool temp4
= false ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 PyObject
* obj2
= 0 ;
20234 PyObject
* obj3
= 0 ;
20235 PyObject
* obj4
= 0 ;
20236 PyObject
* obj5
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20246 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20247 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20248 if (!SWIG_IsOK(ecode2
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20251 arg2
= static_cast< size_t >(val2
);
20252 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20253 if (!SWIG_IsOK(res3
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20256 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20258 arg4
= wxString_in_helper(obj3
);
20259 if (arg4
== NULL
) SWIG_fail
;
20263 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20264 if (!SWIG_IsOK(ecode5
)) {
20265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20267 arg5
= static_cast< bool >(val5
);
20270 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20271 if (!SWIG_IsOK(ecode6
)) {
20272 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20274 arg6
= static_cast< int >(val6
);
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20299 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char * kwnames
[] = {
20311 (char *) "self",(char *) "n", NULL
20314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20316 if (!SWIG_IsOK(res1
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20319 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20320 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20321 if (!SWIG_IsOK(ecode2
)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20324 arg2
= static_cast< size_t >(val2
);
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (int)(arg1
)->SetSelection(arg2
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_From_int(static_cast< int >(result
));
20338 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
= 0;
20340 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char * kwnames
[] = {
20350 (char *) "self",(char *) "n", NULL
20353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20355 if (!SWIG_IsOK(res1
)) {
20356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20358 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20359 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20360 if (!SWIG_IsOK(ecode2
)) {
20361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20363 arg2
= static_cast< size_t >(val2
);
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (int)(arg1
)->ChangeSelection(arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_From_int(static_cast< int >(result
));
20377 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= 0;
20379 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20380 bool arg2
= (bool) true ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char * kwnames
[] = {
20388 (char *) "self",(char *) "forward", NULL
20391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20393 if (!SWIG_IsOK(res1
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20396 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20398 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20399 if (!SWIG_IsOK(ecode2
)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20402 arg2
= static_cast< bool >(val2
);
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 (arg1
)->AdvanceSelection(arg2
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= SWIG_Py_Void();
20417 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
= 0;
20419 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20420 wxPoint
*arg2
= 0 ;
20421 long *arg3
= (long *) 0 ;
20427 int res3
= SWIG_TMPOBJ
;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char * kwnames
[] = {
20431 (char *) "self",(char *) "pt", NULL
20435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20437 if (!SWIG_IsOK(res1
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20440 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_From_int(static_cast< int >(result
));
20452 if (SWIG_IsTmpObj(res3
)) {
20453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20455 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20464 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20467 SwigValueWrapper
<wxVisualAttributes
> result
;
20470 PyObject
* obj0
= 0 ;
20471 char * kwnames
[] = {
20472 (char *) "variant", NULL
20475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20478 if (!SWIG_IsOK(ecode1
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20481 arg1
= static_cast< wxWindowVariant
>(val1
);
20484 if (!wxPyCheckForApp()) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20497 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20500 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20501 return SWIG_Py_Void();
20504 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20507 int arg2
= (int) 0 ;
20508 int arg3
= (int) -1 ;
20509 int arg4
= (int) -1 ;
20510 wxBookCtrlBaseEvent
*result
= 0 ;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 PyObject
* obj2
= 0 ;
20522 PyObject
* obj3
= 0 ;
20523 char * kwnames
[] = {
20524 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20530 if (!SWIG_IsOK(ecode1
)) {
20531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20533 arg1
= static_cast< wxEventType
>(val1
);
20536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20537 if (!SWIG_IsOK(ecode2
)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20540 arg2
= static_cast< int >(val2
);
20543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20544 if (!SWIG_IsOK(ecode3
)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20547 arg3
= static_cast< int >(val3
);
20550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20551 if (!SWIG_IsOK(ecode4
)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20554 arg4
= static_cast< int >(val4
);
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20569 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 PyObject
*resultobj
= 0;
20571 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20575 PyObject
*swig_obj
[1] ;
20577 if (!args
) SWIG_fail
;
20578 swig_obj
[0] = args
;
20579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20583 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_From_int(static_cast< int >(result
));
20597 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char * kwnames
[] = {
20608 (char *) "self",(char *) "nSel", NULL
20611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20613 if (!SWIG_IsOK(res1
)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20616 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20618 if (!SWIG_IsOK(ecode2
)) {
20619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20621 arg2
= static_cast< int >(val2
);
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 (arg1
)->SetSelection(arg2
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= SWIG_Py_Void();
20635 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20636 PyObject
*resultobj
= 0;
20637 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20641 PyObject
*swig_obj
[1] ;
20643 if (!args
) SWIG_fail
;
20644 swig_obj
[0] = args
;
20645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20646 if (!SWIG_IsOK(res1
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20649 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_From_int(static_cast< int >(result
));
20663 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
= 0;
20665 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 char * kwnames
[] = {
20674 (char *) "self",(char *) "nOldSel", NULL
20677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20679 if (!SWIG_IsOK(res1
)) {
20680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20682 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20684 if (!SWIG_IsOK(ecode2
)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20687 arg2
= static_cast< int >(val2
);
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 (arg1
)->SetOldSelection(arg2
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_Py_Void();
20701 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20704 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20705 return SWIG_Py_Void();
20708 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20709 return SWIG_Python_InitShadowInstance(args
);
20712 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
= 0;
20714 wxWindow
*arg1
= (wxWindow
*) 0 ;
20715 int arg2
= (int) -1 ;
20716 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20717 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20718 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20719 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20720 long arg5
= (long) 0 ;
20721 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20722 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20723 wxNotebook
*result
= 0 ;
20732 bool temp6
= false ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 PyObject
* obj2
= 0 ;
20736 PyObject
* obj3
= 0 ;
20737 PyObject
* obj4
= 0 ;
20738 PyObject
* obj5
= 0 ;
20739 char * kwnames
[] = {
20740 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20745 if (!SWIG_IsOK(res1
)) {
20746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20748 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20751 if (!SWIG_IsOK(ecode2
)) {
20752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20754 arg2
= static_cast< int >(val2
);
20759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20769 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20770 if (!SWIG_IsOK(ecode5
)) {
20771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20773 arg5
= static_cast< long >(val5
);
20777 arg6
= wxString_in_helper(obj5
);
20778 if (arg6
== NULL
) SWIG_fail
;
20783 if (!wxPyCheckForApp()) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20804 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxNotebook
*result
= 0 ;
20808 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20810 if (!wxPyCheckForApp()) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (wxNotebook
*)new wxNotebook();
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20823 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
= 0;
20825 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20826 wxWindow
*arg2
= (wxWindow
*) 0 ;
20827 int arg3
= (int) -1 ;
20828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20832 long arg6
= (long) 0 ;
20833 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20834 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20846 bool temp7
= false ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 PyObject
* obj3
= 0 ;
20851 PyObject
* obj4
= 0 ;
20852 PyObject
* obj5
= 0 ;
20853 PyObject
* obj6
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20863 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20865 if (!SWIG_IsOK(res2
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20871 if (!SWIG_IsOK(ecode3
)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20874 arg3
= static_cast< int >(val3
);
20879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20889 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20890 if (!SWIG_IsOK(ecode6
)) {
20891 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20893 arg6
= static_cast< long >(val6
);
20897 arg7
= wxString_in_helper(obj6
);
20898 if (arg7
== NULL
) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20925 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20926 PyObject
*resultobj
= 0;
20927 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20931 PyObject
*swig_obj
[1] ;
20933 if (!args
) SWIG_fail
;
20934 swig_obj
[0] = args
;
20935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20939 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_From_int(static_cast< int >(result
));
20953 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
= 0;
20955 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 char * kwnames
[] = {
20963 (char *) "self",(char *) "padding", NULL
20966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20968 if (!SWIG_IsOK(res1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20971 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20974 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= SWIG_Py_Void();
20989 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
= 0;
20991 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char * kwnames
[] = {
20999 (char *) "self",(char *) "sz", NULL
21002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21007 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_Py_Void();
21025 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21026 PyObject
*resultobj
= 0;
21027 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21031 PyObject
*swig_obj
[1] ;
21033 if (!args
) SWIG_fail
;
21034 swig_obj
[0] = args
;
21035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21036 if (!SWIG_IsOK(res1
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21039 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21053 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= 0;
21055 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21056 SwigValueWrapper
<wxVisualAttributes
> result
;
21059 PyObject
* obj0
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "variant", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21067 if (!SWIG_IsOK(ecode1
)) {
21068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21070 arg1
= static_cast< wxWindowVariant
>(val1
);
21073 if (!wxPyCheckForApp()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21086 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
= 0;
21088 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 char * kwnames
[] = {
21098 (char *) "self",(char *) "nPage", NULL
21101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21103 if (!SWIG_IsOK(res1
)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21106 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21108 if (!SWIG_IsOK(ecode2
)) {
21109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21111 arg2
= static_cast< int >(val2
);
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21127 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
= 0;
21129 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21131 int arg3
= (int) -1 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 PyObject
* obj2
= 0 ;
21141 char * kwnames
[] = {
21142 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21150 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21152 if (!SWIG_IsOK(ecode2
)) {
21153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21155 arg2
= static_cast< int >(val2
);
21157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21158 if (!SWIG_IsOK(ecode3
)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21161 arg3
= static_cast< int >(val3
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_Py_Void();
21176 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21179 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21180 return SWIG_Py_Void();
21183 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 return SWIG_Python_InitShadowInstance(args
);
21187 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21190 int arg2
= (int) 0 ;
21191 int arg3
= (int) -1 ;
21192 int arg4
= (int) -1 ;
21193 wxNotebookEvent
*result
= 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 PyObject
* obj3
= 0 ;
21206 char * kwnames
[] = {
21207 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21213 if (!SWIG_IsOK(ecode1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21216 arg1
= static_cast< wxEventType
>(val1
);
21219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21220 if (!SWIG_IsOK(ecode2
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21223 arg2
= static_cast< int >(val2
);
21226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21227 if (!SWIG_IsOK(ecode3
)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21230 arg3
= static_cast< int >(val3
);
21233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21234 if (!SWIG_IsOK(ecode4
)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21237 arg4
= static_cast< int >(val4
);
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21252 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21255 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21256 return SWIG_Py_Void();
21259 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21260 return SWIG_Python_InitShadowInstance(args
);
21263 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
= 0;
21265 wxWindow
*arg1
= (wxWindow
*) 0 ;
21266 int arg2
= (int) -1 ;
21267 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21268 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21269 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21270 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21271 long arg5
= (long) 0 ;
21272 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21273 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21274 wxListbook
*result
= 0 ;
21283 bool temp6
= false ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 PyObject
* obj2
= 0 ;
21287 PyObject
* obj3
= 0 ;
21288 PyObject
* obj4
= 0 ;
21289 PyObject
* obj5
= 0 ;
21290 char * kwnames
[] = {
21291 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21299 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21302 if (!SWIG_IsOK(ecode2
)) {
21303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21305 arg2
= static_cast< int >(val2
);
21310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21320 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21321 if (!SWIG_IsOK(ecode5
)) {
21322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21324 arg5
= static_cast< long >(val5
);
21328 arg6
= wxString_in_helper(obj5
);
21329 if (arg6
== NULL
) SWIG_fail
;
21334 if (!wxPyCheckForApp()) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21355 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21356 PyObject
*resultobj
= 0;
21357 wxListbook
*result
= 0 ;
21359 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21361 if (!wxPyCheckForApp()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxListbook
*)new wxListbook();
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21374 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
= 0;
21376 wxListbook
*arg1
= (wxListbook
*) 0 ;
21377 wxWindow
*arg2
= (wxWindow
*) 0 ;
21378 int arg3
= (int) -1 ;
21379 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21380 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21381 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21382 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21383 long arg6
= (long) 0 ;
21384 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21385 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21397 bool temp7
= false ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 PyObject
* obj3
= 0 ;
21402 PyObject
* obj4
= 0 ;
21403 PyObject
* obj5
= 0 ;
21404 PyObject
* obj6
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21414 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21416 if (!SWIG_IsOK(res2
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21422 if (!SWIG_IsOK(ecode3
)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21425 arg3
= static_cast< int >(val3
);
21430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21441 if (!SWIG_IsOK(ecode6
)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21444 arg6
= static_cast< long >(val6
);
21448 arg7
= wxString_in_helper(obj6
);
21449 if (arg7
== NULL
) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21476 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21477 PyObject
*resultobj
= 0;
21478 wxListbook
*arg1
= (wxListbook
*) 0 ;
21479 wxListView
*result
= 0 ;
21482 PyObject
*swig_obj
[1] ;
21484 if (!args
) SWIG_fail
;
21485 swig_obj
[0] = args
;
21486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21487 if (!SWIG_IsOK(res1
)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21490 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (wxListView
*)(arg1
)->GetListView();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21504 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21507 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21508 return SWIG_Py_Void();
21511 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21512 return SWIG_Python_InitShadowInstance(args
);
21515 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
= 0;
21517 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21518 int arg2
= (int) 0 ;
21519 int arg3
= (int) -1 ;
21520 int arg4
= (int) -1 ;
21521 wxListbookEvent
*result
= 0 ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 PyObject
* obj2
= 0 ;
21533 PyObject
* obj3
= 0 ;
21534 char * kwnames
[] = {
21535 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21540 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21541 if (!SWIG_IsOK(ecode1
)) {
21542 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21544 arg1
= static_cast< wxEventType
>(val1
);
21547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21551 arg2
= static_cast< int >(val2
);
21554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21555 if (!SWIG_IsOK(ecode3
)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21558 arg3
= static_cast< int >(val3
);
21561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21562 if (!SWIG_IsOK(ecode4
)) {
21563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21565 arg4
= static_cast< int >(val4
);
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21580 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21583 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21584 return SWIG_Py_Void();
21587 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21588 return SWIG_Python_InitShadowInstance(args
);
21591 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
= 0;
21593 wxWindow
*arg1
= (wxWindow
*) 0 ;
21595 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21596 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21597 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21598 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21599 long arg5
= (long) 0 ;
21600 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21601 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21602 wxChoicebook
*result
= 0 ;
21611 bool temp6
= false ;
21612 PyObject
* obj0
= 0 ;
21613 PyObject
* obj1
= 0 ;
21614 PyObject
* obj2
= 0 ;
21615 PyObject
* obj3
= 0 ;
21616 PyObject
* obj4
= 0 ;
21617 PyObject
* obj5
= 0 ;
21618 char * kwnames
[] = {
21619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21624 if (!SWIG_IsOK(res1
)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21629 if (!SWIG_IsOK(ecode2
)) {
21630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21632 arg2
= static_cast< int >(val2
);
21636 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21642 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21646 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21647 if (!SWIG_IsOK(ecode5
)) {
21648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21650 arg5
= static_cast< long >(val5
);
21654 arg6
= wxString_in_helper(obj5
);
21655 if (arg6
== NULL
) SWIG_fail
;
21660 if (!wxPyCheckForApp()) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21681 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21682 PyObject
*resultobj
= 0;
21683 wxChoicebook
*result
= 0 ;
21685 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21687 if (!wxPyCheckForApp()) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (wxChoicebook
*)new wxChoicebook();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21700 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
= 0;
21702 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21703 wxWindow
*arg2
= (wxWindow
*) 0 ;
21705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21709 long arg6
= (long) 0 ;
21710 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21723 bool temp7
= false ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 PyObject
* obj2
= 0 ;
21727 PyObject
* obj3
= 0 ;
21728 PyObject
* obj4
= 0 ;
21729 PyObject
* obj5
= 0 ;
21730 PyObject
* obj6
= 0 ;
21731 char * kwnames
[] = {
21732 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21737 if (!SWIG_IsOK(res1
)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21740 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21742 if (!SWIG_IsOK(res2
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21745 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21747 if (!SWIG_IsOK(ecode3
)) {
21748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21750 arg3
= static_cast< int >(val3
);
21754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21764 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21765 if (!SWIG_IsOK(ecode6
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21768 arg6
= static_cast< long >(val6
);
21772 arg7
= wxString_in_helper(obj6
);
21773 if (arg7
== NULL
) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21800 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21801 PyObject
*resultobj
= 0;
21802 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21803 wxChoice
*result
= 0 ;
21806 PyObject
*swig_obj
[1] ;
21808 if (!args
) SWIG_fail
;
21809 swig_obj
[0] = args
;
21810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21811 if (!SWIG_IsOK(res1
)) {
21812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21814 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21828 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21831 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21832 return SWIG_Py_Void();
21835 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21836 return SWIG_Python_InitShadowInstance(args
);
21839 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
= 0;
21841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21842 int arg2
= (int) 0 ;
21843 int arg3
= (int) -1 ;
21844 int arg4
= (int) -1 ;
21845 wxChoicebookEvent
*result
= 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 PyObject
* obj2
= 0 ;
21857 PyObject
* obj3
= 0 ;
21858 char * kwnames
[] = {
21859 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21865 if (!SWIG_IsOK(ecode1
)) {
21866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21868 arg1
= static_cast< wxEventType
>(val1
);
21871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21872 if (!SWIG_IsOK(ecode2
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21875 arg2
= static_cast< int >(val2
);
21878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21879 if (!SWIG_IsOK(ecode3
)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21882 arg3
= static_cast< int >(val3
);
21885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21886 if (!SWIG_IsOK(ecode4
)) {
21887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21889 arg4
= static_cast< int >(val4
);
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21904 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21907 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21908 return SWIG_Py_Void();
21911 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21912 return SWIG_Python_InitShadowInstance(args
);
21915 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
= 0;
21917 wxWindow
*arg1
= (wxWindow
*) 0 ;
21919 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21920 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21921 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21922 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21923 long arg5
= (long) wxBK_DEFAULT
;
21924 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21925 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21926 wxTreebook
*result
= 0 ;
21935 bool temp6
= false ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 PyObject
* obj2
= 0 ;
21939 PyObject
* obj3
= 0 ;
21940 PyObject
* obj4
= 0 ;
21941 PyObject
* obj5
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21951 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21953 if (!SWIG_IsOK(ecode2
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21956 arg2
= static_cast< int >(val2
);
21960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21970 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21971 if (!SWIG_IsOK(ecode5
)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21974 arg5
= static_cast< long >(val5
);
21978 arg6
= wxString_in_helper(obj5
);
21979 if (arg6
== NULL
) SWIG_fail
;
21984 if (!wxPyCheckForApp()) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22005 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22006 PyObject
*resultobj
= 0;
22007 wxTreebook
*result
= 0 ;
22009 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22011 if (!wxPyCheckForApp()) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (wxTreebook
*)new wxTreebook();
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22024 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= 0;
22026 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22027 wxWindow
*arg2
= (wxWindow
*) 0 ;
22029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22033 long arg6
= (long) wxBK_DEFAULT
;
22034 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22035 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22047 bool temp7
= false ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 PyObject
* obj2
= 0 ;
22051 PyObject
* obj3
= 0 ;
22052 PyObject
* obj4
= 0 ;
22053 PyObject
* obj5
= 0 ;
22054 PyObject
* obj6
= 0 ;
22055 char * kwnames
[] = {
22056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22061 if (!SWIG_IsOK(res1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22064 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22066 if (!SWIG_IsOK(res2
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22069 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22071 if (!SWIG_IsOK(ecode3
)) {
22072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22074 arg3
= static_cast< int >(val3
);
22078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22088 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22089 if (!SWIG_IsOK(ecode6
)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22092 arg6
= static_cast< long >(val6
);
22096 arg7
= wxString_in_helper(obj6
);
22097 if (arg7
== NULL
) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22124 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
= 0;
22126 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22128 wxWindow
*arg3
= (wxWindow
*) 0 ;
22129 wxString
*arg4
= 0 ;
22130 bool arg5
= (bool) false ;
22131 int arg6
= (int) wxNOT_FOUND
;
22139 bool temp4
= false ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 PyObject
* obj3
= 0 ;
22148 PyObject
* obj4
= 0 ;
22149 PyObject
* obj5
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22156 if (!SWIG_IsOK(res1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22159 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22160 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22161 if (!SWIG_IsOK(ecode2
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22164 arg2
= static_cast< size_t >(val2
);
22165 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22166 if (!SWIG_IsOK(res3
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22169 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22171 arg4
= wxString_in_helper(obj3
);
22172 if (arg4
== NULL
) SWIG_fail
;
22176 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22177 if (!SWIG_IsOK(ecode5
)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22180 arg5
= static_cast< bool >(val5
);
22183 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22184 if (!SWIG_IsOK(ecode6
)) {
22185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22187 arg6
= static_cast< int >(val6
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22212 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
= 0;
22214 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22215 wxWindow
*arg2
= (wxWindow
*) 0 ;
22216 wxString
*arg3
= 0 ;
22217 bool arg4
= (bool) false ;
22218 int arg5
= (int) wxNOT_FOUND
;
22224 bool temp3
= false ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 PyObject
* obj3
= 0 ;
22233 PyObject
* obj4
= 0 ;
22234 char * kwnames
[] = {
22235 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22240 if (!SWIG_IsOK(res1
)) {
22241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22243 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22245 if (!SWIG_IsOK(res2
)) {
22246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22250 arg3
= wxString_in_helper(obj2
);
22251 if (arg3
== NULL
) SWIG_fail
;
22255 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22256 if (!SWIG_IsOK(ecode4
)) {
22257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22259 arg4
= static_cast< bool >(val4
);
22262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22263 if (!SWIG_IsOK(ecode5
)) {
22264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22266 arg5
= static_cast< int >(val5
);
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22291 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
= 0;
22293 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char * kwnames
[] = {
22303 (char *) "self",(char *) "pos", NULL
22306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22308 if (!SWIG_IsOK(res1
)) {
22309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22311 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22312 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22313 if (!SWIG_IsOK(ecode2
)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22316 arg2
= static_cast< size_t >(val2
);
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22332 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
= 0;
22334 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22336 bool arg3
= (bool) true ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 PyObject
* obj2
= 0 ;
22347 char * kwnames
[] = {
22348 (char *) "self",(char *) "pos",(char *) "expand", NULL
22351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22353 if (!SWIG_IsOK(res1
)) {
22354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22356 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22357 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22358 if (!SWIG_IsOK(ecode2
)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22361 arg2
= static_cast< size_t >(val2
);
22363 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22364 if (!SWIG_IsOK(ecode3
)) {
22365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22367 arg3
= static_cast< bool >(val3
);
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22384 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
= 0;
22386 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char * kwnames
[] = {
22396 (char *) "self",(char *) "pos", NULL
22399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22404 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22405 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22406 if (!SWIG_IsOK(ecode2
)) {
22407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22409 arg2
= static_cast< size_t >(val2
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (bool)(arg1
)->CollapseNode(arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22425 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= 0;
22427 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 char * kwnames
[] = {
22437 (char *) "self",(char *) "pos", NULL
22440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22442 if (!SWIG_IsOK(res1
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22445 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22446 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22447 if (!SWIG_IsOK(ecode2
)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22450 arg2
= static_cast< size_t >(val2
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_From_int(static_cast< int >(result
));
22464 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22465 PyObject
*resultobj
= 0;
22466 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22467 wxPyTreeCtrl
*result
= 0 ;
22470 PyObject
*swig_obj
[1] ;
22472 if (!args
) SWIG_fail
;
22473 swig_obj
[0] = args
;
22474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22475 if (!SWIG_IsOK(res1
)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22478 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22494 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22497 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22498 return SWIG_Py_Void();
22501 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22502 return SWIG_Python_InitShadowInstance(args
);
22505 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
= 0;
22507 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22508 int arg2
= (int) 0 ;
22509 int arg3
= (int) wxNOT_FOUND
;
22510 int arg4
= (int) wxNOT_FOUND
;
22511 wxTreebookEvent
*result
= 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 PyObject
* obj2
= 0 ;
22523 PyObject
* obj3
= 0 ;
22524 char * kwnames
[] = {
22525 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22531 if (!SWIG_IsOK(ecode1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22534 arg1
= static_cast< wxEventType
>(val1
);
22537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22538 if (!SWIG_IsOK(ecode2
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22541 arg2
= static_cast< int >(val2
);
22544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22545 if (!SWIG_IsOK(ecode3
)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22548 arg3
= static_cast< int >(val3
);
22551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22552 if (!SWIG_IsOK(ecode4
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22555 arg4
= static_cast< int >(val4
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22570 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22573 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22574 return SWIG_Py_Void();
22577 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 return SWIG_Python_InitShadowInstance(args
);
22581 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
= 0;
22583 wxWindow
*arg1
= (wxWindow
*) 0 ;
22585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22589 long arg5
= (long) wxBK_DEFAULT
;
22590 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22592 wxToolbook
*result
= 0 ;
22601 bool temp6
= false ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 PyObject
* obj2
= 0 ;
22605 PyObject
* obj3
= 0 ;
22606 PyObject
* obj4
= 0 ;
22607 PyObject
* obj5
= 0 ;
22608 char * kwnames
[] = {
22609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22619 if (!SWIG_IsOK(ecode2
)) {
22620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22622 arg2
= static_cast< int >(val2
);
22626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22636 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22637 if (!SWIG_IsOK(ecode5
)) {
22638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22640 arg5
= static_cast< long >(val5
);
22644 arg6
= wxString_in_helper(obj5
);
22645 if (arg6
== NULL
) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22670 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 PyObject
*resultobj
= 0;
22672 wxToolbook
*result
= 0 ;
22674 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxToolbook
*)new wxToolbook();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22688 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
= 0;
22690 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22691 wxWindow
*arg2
= (wxWindow
*) 0 ;
22693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22697 long arg6
= (long) 0 ;
22698 wxString
const &arg7_defvalue
= wxEmptyString
;
22699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22711 bool temp7
= false ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 PyObject
* obj3
= 0 ;
22716 PyObject
* obj4
= 0 ;
22717 PyObject
* obj5
= 0 ;
22718 PyObject
* obj6
= 0 ;
22719 char * kwnames
[] = {
22720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22725 if (!SWIG_IsOK(res1
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22728 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22730 if (!SWIG_IsOK(res2
)) {
22731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22735 if (!SWIG_IsOK(ecode3
)) {
22736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22738 arg3
= static_cast< int >(val3
);
22742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22752 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22753 if (!SWIG_IsOK(ecode6
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22756 arg6
= static_cast< long >(val6
);
22760 arg7
= wxString_in_helper(obj6
);
22761 if (arg7
== NULL
) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22788 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22789 PyObject
*resultobj
= 0;
22790 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22791 wxToolBarBase
*result
= 0 ;
22794 PyObject
*swig_obj
[1] ;
22796 if (!args
) SWIG_fail
;
22797 swig_obj
[0] = args
;
22798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22802 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22818 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22823 PyObject
*swig_obj
[1] ;
22825 if (!args
) SWIG_fail
;
22826 swig_obj
[0] = args
;
22827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22828 if (!SWIG_IsOK(res1
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22831 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_Py_Void();
22845 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22848 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22849 return SWIG_Py_Void();
22852 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22853 return SWIG_Python_InitShadowInstance(args
);
22856 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
= 0;
22858 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22859 int arg2
= (int) 0 ;
22860 int arg3
= (int) wxNOT_FOUND
;
22861 int arg4
= (int) wxNOT_FOUND
;
22862 wxToolbookEvent
*result
= 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 PyObject
* obj2
= 0 ;
22874 PyObject
* obj3
= 0 ;
22875 char * kwnames
[] = {
22876 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22882 if (!SWIG_IsOK(ecode1
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22885 arg1
= static_cast< wxEventType
>(val1
);
22888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22889 if (!SWIG_IsOK(ecode2
)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22892 arg2
= static_cast< int >(val2
);
22895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22896 if (!SWIG_IsOK(ecode3
)) {
22897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22899 arg3
= static_cast< int >(val3
);
22902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22903 if (!SWIG_IsOK(ecode4
)) {
22904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22906 arg4
= static_cast< int >(val4
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22921 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22924 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22925 return SWIG_Py_Void();
22928 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22929 return SWIG_Python_InitShadowInstance(args
);
22932 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22933 PyObject
*resultobj
= 0;
22934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22938 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22946 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)(arg1
)->GetId();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_From_int(static_cast< int >(result
));
22960 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22963 wxControl
*result
= 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (wxControl
*)(arg1
)->GetControl();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= wxPyMake_wxObject(result
, 0);
22990 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22991 PyObject
*resultobj
= 0;
22992 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22993 wxToolBarBase
*result
= 0 ;
22996 PyObject
*swig_obj
[1] ;
22998 if (!args
) SWIG_fail
;
22999 swig_obj
[0] = args
;
23000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23001 if (!SWIG_IsOK(res1
)) {
23002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23004 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23020 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23021 PyObject
*resultobj
= 0;
23022 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23026 PyObject
*swig_obj
[1] ;
23028 if (!args
) SWIG_fail
;
23029 swig_obj
[0] = args
;
23030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23034 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (int)(arg1
)->IsButton();
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_From_int(static_cast< int >(result
));
23048 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23049 PyObject
*resultobj
= 0;
23050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23054 PyObject
*swig_obj
[1] ;
23056 if (!args
) SWIG_fail
;
23057 swig_obj
[0] = args
;
23058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23062 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (int)(arg1
)->IsControl();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_From_int(static_cast< int >(result
));
23076 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23077 PyObject
*resultobj
= 0;
23078 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23082 PyObject
*swig_obj
[1] ;
23084 if (!args
) SWIG_fail
;
23085 swig_obj
[0] = args
;
23086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23087 if (!SWIG_IsOK(res1
)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23090 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (int)(arg1
)->IsSeparator();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_From_int(static_cast< int >(result
));
23104 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23110 PyObject
*swig_obj
[1] ;
23112 if (!args
) SWIG_fail
;
23113 swig_obj
[0] = args
;
23114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23118 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (int)(arg1
)->GetStyle();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_From_int(static_cast< int >(result
));
23132 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23133 PyObject
*resultobj
= 0;
23134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23138 PyObject
*swig_obj
[1] ;
23140 if (!args
) SWIG_fail
;
23141 swig_obj
[0] = args
;
23142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23143 if (!SWIG_IsOK(res1
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23146 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (wxItemKind
)(arg1
)->GetKind();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_From_int(static_cast< int >(result
));
23160 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23161 PyObject
*resultobj
= 0;
23162 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23166 PyObject
*swig_obj
[1] ;
23168 if (!args
) SWIG_fail
;
23169 swig_obj
[0] = args
;
23170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23171 if (!SWIG_IsOK(res1
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23174 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (bool)(arg1
)->IsEnabled();
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23190 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23191 PyObject
*resultobj
= 0;
23192 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23196 PyObject
*swig_obj
[1] ;
23198 if (!args
) SWIG_fail
;
23199 swig_obj
[0] = args
;
23200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23201 if (!SWIG_IsOK(res1
)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23204 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (bool)(arg1
)->IsToggled();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23221 PyObject
*resultobj
= 0;
23222 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23226 PyObject
*swig_obj
[1] ;
23228 if (!args
) SWIG_fail
;
23229 swig_obj
[0] = args
;
23230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23231 if (!SWIG_IsOK(res1
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23234 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (bool)(arg1
)->CanBeToggled();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23250 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 PyObject
*resultobj
= 0;
23252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23253 wxBitmap
*result
= 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_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23264 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23269 result
= (wxBitmap
*) &_result_ref
;
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 wxBitmap
* resultptr
= new wxBitmap(*result
);
23276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23284 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23285 PyObject
*resultobj
= 0;
23286 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23287 wxBitmap
*result
= 0 ;
23290 PyObject
*swig_obj
[1] ;
23292 if (!args
) SWIG_fail
;
23293 swig_obj
[0] = args
;
23294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23295 if (!SWIG_IsOK(res1
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23298 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23303 result
= (wxBitmap
*) &_result_ref
;
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 wxBitmap
* resultptr
= new wxBitmap(*result
);
23310 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23318 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23332 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (arg1
)->GetBitmap();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23346 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23352 PyObject
*swig_obj
[1] ;
23354 if (!args
) SWIG_fail
;
23355 swig_obj
[0] = args
;
23356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23360 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (arg1
)->GetLabel();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23380 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23381 PyObject
*resultobj
= 0;
23382 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23386 PyObject
*swig_obj
[1] ;
23388 if (!args
) SWIG_fail
;
23389 swig_obj
[0] = args
;
23390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23391 if (!SWIG_IsOK(res1
)) {
23392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23394 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (arg1
)->GetShortHelp();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23414 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23415 PyObject
*resultobj
= 0;
23416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23420 PyObject
*swig_obj
[1] ;
23422 if (!args
) SWIG_fail
;
23423 swig_obj
[0] = args
;
23424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23425 if (!SWIG_IsOK(res1
)) {
23426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23428 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (arg1
)->GetLongHelp();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23448 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
= 0;
23450 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "self",(char *) "enable", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23468 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23469 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23470 if (!SWIG_IsOK(ecode2
)) {
23471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23473 arg2
= static_cast< bool >(val2
);
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (bool)(arg1
)->Enable(arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23489 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23490 PyObject
*resultobj
= 0;
23491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23494 PyObject
*swig_obj
[1] ;
23496 if (!args
) SWIG_fail
;
23497 swig_obj
[0] = args
;
23498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23502 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_Py_Void();
23516 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
= 0;
23518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char * kwnames
[] = {
23528 (char *) "self",(char *) "toggle", NULL
23531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23536 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23537 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23538 if (!SWIG_IsOK(ecode2
)) {
23539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23541 arg2
= static_cast< bool >(val2
);
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (bool)(arg1
)->SetToggle(arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23557 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
= 0;
23559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23560 wxString
*arg2
= 0 ;
23564 bool temp2
= false ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char * kwnames
[] = {
23568 (char *) "self",(char *) "help", NULL
23571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23576 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23578 arg2
= wxString_in_helper(obj1
);
23579 if (arg2
== NULL
) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23605 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
= 0;
23607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23608 wxString
*arg2
= 0 ;
23612 bool temp2
= false ;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char * kwnames
[] = {
23616 (char *) "self",(char *) "help", NULL
23619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23624 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23626 arg2
= wxString_in_helper(obj1
);
23627 if (arg2
== NULL
) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23653 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
= 0;
23655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23656 wxBitmap
*arg2
= 0 ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char * kwnames
[] = {
23664 (char *) "self",(char *) "bmp", NULL
23667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23669 if (!SWIG_IsOK(res1
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23672 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23674 if (!SWIG_IsOK(res2
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23680 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_Py_Void();
23694 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
= 0;
23696 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23697 wxBitmap
*arg2
= 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char * kwnames
[] = {
23705 (char *) "self",(char *) "bmp", NULL
23708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23710 if (!SWIG_IsOK(res1
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23713 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23715 if (!SWIG_IsOK(res2
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23721 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= SWIG_Py_Void();
23735 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
= 0;
23737 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23738 wxString
*arg2
= 0 ;
23741 bool temp2
= false ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 char * kwnames
[] = {
23745 (char *) "self",(char *) "label", NULL
23748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23750 if (!SWIG_IsOK(res1
)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23753 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23755 arg2
= wxString_in_helper(obj1
);
23756 if (arg2
== NULL
) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->SetLabel((wxString
const &)*arg2
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_Py_Void();
23780 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23781 PyObject
*resultobj
= 0;
23782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23785 PyObject
*swig_obj
[1] ;
23787 if (!args
) SWIG_fail
;
23788 swig_obj
[0] = args
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23793 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= SWIG_Py_Void();
23807 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
= 0;
23809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23810 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 char * kwnames
[] = {
23818 (char *) "self",(char *) "tbar", NULL
23821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23826 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23828 if (!SWIG_IsOK(res2
)) {
23829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23831 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 (arg1
)->Attach(arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_Py_Void();
23845 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23846 PyObject
*resultobj
= 0;
23847 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23848 PyObject
*result
= 0 ;
23851 PyObject
*swig_obj
[1] ;
23853 if (!args
) SWIG_fail
;
23854 swig_obj
[0] = args
;
23855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23859 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= result
;
23873 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
= 0;
23875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23876 PyObject
*arg2
= (PyObject
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 char * kwnames
[] = {
23882 (char *) "self",(char *) "clientData", NULL
23885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23887 if (!SWIG_IsOK(res1
)) {
23888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23890 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= SWIG_Py_Void();
23905 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23908 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23909 return SWIG_Py_Void();
23912 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
= 0;
23914 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23916 wxString
*arg3
= 0 ;
23917 wxBitmap
*arg4
= 0 ;
23918 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23919 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23920 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23921 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23923 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23925 PyObject
*arg9
= (PyObject
*) NULL
;
23926 wxToolBarToolBase
*result
= 0 ;
23931 bool temp3
= false ;
23938 bool temp7
= false ;
23939 bool temp8
= false ;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 PyObject
* obj2
= 0 ;
23943 PyObject
* obj3
= 0 ;
23944 PyObject
* obj4
= 0 ;
23945 PyObject
* obj5
= 0 ;
23946 PyObject
* obj6
= 0 ;
23947 PyObject
* obj7
= 0 ;
23948 PyObject
* obj8
= 0 ;
23949 char * kwnames
[] = {
23950 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23955 if (!SWIG_IsOK(res1
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23958 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23960 if (!SWIG_IsOK(ecode2
)) {
23961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23963 arg2
= static_cast< int >(val2
);
23965 arg3
= wxString_in_helper(obj2
);
23966 if (arg3
== NULL
) SWIG_fail
;
23969 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23970 if (!SWIG_IsOK(res4
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23976 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23978 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23979 if (!SWIG_IsOK(res5
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23985 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23988 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23989 if (!SWIG_IsOK(ecode6
)) {
23990 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23992 arg6
= static_cast< wxItemKind
>(val6
);
23996 arg7
= wxString_in_helper(obj6
);
23997 if (arg7
== NULL
) SWIG_fail
;
24003 arg8
= wxString_in_helper(obj7
);
24004 if (arg8
== NULL
) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24050 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
= 0;
24052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24055 wxString
*arg4
= 0 ;
24056 wxBitmap
*arg5
= 0 ;
24057 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24058 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24059 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24060 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24062 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24063 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24064 PyObject
*arg10
= (PyObject
*) NULL
;
24065 wxToolBarToolBase
*result
= 0 ;
24072 bool temp4
= false ;
24079 bool temp8
= false ;
24080 bool temp9
= false ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 PyObject
* obj2
= 0 ;
24084 PyObject
* obj3
= 0 ;
24085 PyObject
* obj4
= 0 ;
24086 PyObject
* obj5
= 0 ;
24087 PyObject
* obj6
= 0 ;
24088 PyObject
* obj7
= 0 ;
24089 PyObject
* obj8
= 0 ;
24090 PyObject
* obj9
= 0 ;
24091 char * kwnames
[] = {
24092 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24097 if (!SWIG_IsOK(res1
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24100 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24101 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24102 if (!SWIG_IsOK(ecode2
)) {
24103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24105 arg2
= static_cast< size_t >(val2
);
24106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24107 if (!SWIG_IsOK(ecode3
)) {
24108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24110 arg3
= static_cast< int >(val3
);
24112 arg4
= wxString_in_helper(obj3
);
24113 if (arg4
== NULL
) SWIG_fail
;
24116 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24117 if (!SWIG_IsOK(res5
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24123 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24125 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24126 if (!SWIG_IsOK(res6
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24132 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24135 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24136 if (!SWIG_IsOK(ecode7
)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24139 arg7
= static_cast< wxItemKind
>(val7
);
24143 arg8
= wxString_in_helper(obj7
);
24144 if (arg8
== NULL
) SWIG_fail
;
24150 arg9
= wxString_in_helper(obj8
);
24151 if (arg9
== NULL
) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24197 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
= 0;
24199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24200 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24201 wxToolBarToolBase
*result
= 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char * kwnames
[] = {
24209 (char *) "self",(char *) "tool", NULL
24212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24214 if (!SWIG_IsOK(res1
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24217 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24219 if (!SWIG_IsOK(res2
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24222 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24238 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
= 0;
24240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24242 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24243 wxToolBarToolBase
*result
= 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 PyObject
* obj2
= 0 ;
24253 char * kwnames
[] = {
24254 (char *) "self",(char *) "pos",(char *) "tool", NULL
24257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24262 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24263 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24264 if (!SWIG_IsOK(ecode2
)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24267 arg2
= static_cast< size_t >(val2
);
24268 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24269 if (!SWIG_IsOK(res3
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24272 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24288 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
= 0;
24290 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24291 wxControl
*arg2
= (wxControl
*) 0 ;
24292 wxToolBarToolBase
*result
= 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char * kwnames
[] = {
24300 (char *) "self",(char *) "control", NULL
24303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24305 if (!SWIG_IsOK(res1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24308 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24310 if (!SWIG_IsOK(res2
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24313 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24329 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
= 0;
24331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24333 wxControl
*arg3
= (wxControl
*) 0 ;
24334 wxToolBarToolBase
*result
= 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 PyObject
* obj2
= 0 ;
24344 char * kwnames
[] = {
24345 (char *) "self",(char *) "pos",(char *) "control", NULL
24348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24353 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24354 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24355 if (!SWIG_IsOK(ecode2
)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24358 arg2
= static_cast< size_t >(val2
);
24359 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24360 if (!SWIG_IsOK(res3
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24363 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24379 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
= 0;
24381 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24383 wxControl
*result
= 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "self",(char *) "id", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24399 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24401 if (!SWIG_IsOK(ecode2
)) {
24402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24404 arg2
= static_cast< int >(val2
);
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= wxPyMake_wxObject(result
, 0);
24420 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24421 PyObject
*resultobj
= 0;
24422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24423 wxToolBarToolBase
*result
= 0 ;
24426 PyObject
*swig_obj
[1] ;
24428 if (!args
) SWIG_fail
;
24429 swig_obj
[0] = args
;
24430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24434 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24450 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
= 0;
24452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24454 wxToolBarToolBase
*result
= 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char * kwnames
[] = {
24462 (char *) "self",(char *) "pos", NULL
24465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24470 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24471 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24472 if (!SWIG_IsOK(ecode2
)) {
24473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24475 arg2
= static_cast< size_t >(val2
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24491 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
= 0;
24493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24495 wxToolBarToolBase
*result
= 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "self",(char *) "id", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24511 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24513 if (!SWIG_IsOK(ecode2
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24516 arg2
= static_cast< int >(val2
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24532 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
= 0;
24534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 char * kwnames
[] = {
24544 (char *) "self",(char *) "pos", NULL
24547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24552 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24553 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24554 if (!SWIG_IsOK(ecode2
)) {
24555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24557 arg2
= static_cast< size_t >(val2
);
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24573 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
= 0;
24575 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char * kwnames
[] = {
24585 (char *) "self",(char *) "id", NULL
24588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24590 if (!SWIG_IsOK(res1
)) {
24591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24593 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24595 if (!SWIG_IsOK(ecode2
)) {
24596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24598 arg2
= static_cast< int >(val2
);
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (bool)(arg1
)->DeleteTool(arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24614 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24615 PyObject
*resultobj
= 0;
24616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24619 PyObject
*swig_obj
[1] ;
24621 if (!args
) SWIG_fail
;
24622 swig_obj
[0] = args
;
24623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24624 if (!SWIG_IsOK(res1
)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24627 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 (arg1
)->ClearTools();
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_Py_Void();
24641 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 PyObject
*resultobj
= 0;
24643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24647 PyObject
*swig_obj
[1] ;
24649 if (!args
) SWIG_fail
;
24650 swig_obj
[0] = args
;
24651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24652 if (!SWIG_IsOK(res1
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24655 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (bool)(arg1
)->Realize();
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24671 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
= 0;
24673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24682 PyObject
* obj0
= 0 ;
24683 PyObject
* obj1
= 0 ;
24684 PyObject
* obj2
= 0 ;
24685 char * kwnames
[] = {
24686 (char *) "self",(char *) "id",(char *) "enable", NULL
24689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24691 if (!SWIG_IsOK(res1
)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24694 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24696 if (!SWIG_IsOK(ecode2
)) {
24697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24699 arg2
= static_cast< int >(val2
);
24700 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24701 if (!SWIG_IsOK(ecode3
)) {
24702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24704 arg3
= static_cast< bool >(val3
);
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 (arg1
)->EnableTool(arg2
,arg3
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_Py_Void();
24718 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
= 0;
24720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 PyObject
* obj2
= 0 ;
24732 char * kwnames
[] = {
24733 (char *) "self",(char *) "id",(char *) "toggle", NULL
24736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24738 if (!SWIG_IsOK(res1
)) {
24739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24741 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24743 if (!SWIG_IsOK(ecode2
)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24746 arg2
= static_cast< int >(val2
);
24747 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24748 if (!SWIG_IsOK(ecode3
)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24751 arg3
= static_cast< bool >(val3
);
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 (arg1
)->ToggleTool(arg2
,arg3
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_Py_Void();
24765 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
= 0;
24767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 PyObject
* obj2
= 0 ;
24779 char * kwnames
[] = {
24780 (char *) "self",(char *) "id",(char *) "toggle", NULL
24783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24785 if (!SWIG_IsOK(res1
)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24788 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24790 if (!SWIG_IsOK(ecode2
)) {
24791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24793 arg2
= static_cast< int >(val2
);
24794 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24795 if (!SWIG_IsOK(ecode3
)) {
24796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24798 arg3
= static_cast< bool >(val3
);
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->SetToggle(arg2
,arg3
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_Py_Void();
24812 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
= 0;
24814 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24816 PyObject
*result
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char * kwnames
[] = {
24824 (char *) "self",(char *) "id", NULL
24827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24832 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24834 if (!SWIG_IsOK(ecode2
)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24837 arg2
= static_cast< int >(val2
);
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= result
;
24851 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
= 0;
24853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24855 PyObject
*arg3
= (PyObject
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 PyObject
* obj2
= 0 ;
24863 char * kwnames
[] = {
24864 (char *) "self",(char *) "id",(char *) "clientData", NULL
24867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24874 if (!SWIG_IsOK(ecode2
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24877 arg2
= static_cast< int >(val2
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_Py_Void();
24892 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
= 0;
24894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char * kwnames
[] = {
24904 (char *) "self",(char *) "id", NULL
24907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24912 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24914 if (!SWIG_IsOK(ecode2
)) {
24915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24917 arg2
= static_cast< int >(val2
);
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_From_int(static_cast< int >(result
));
24931 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
= 0;
24933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char * kwnames
[] = {
24943 (char *) "self",(char *) "id", NULL
24946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24948 if (!SWIG_IsOK(res1
)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24951 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24953 if (!SWIG_IsOK(ecode2
)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24956 arg2
= static_cast< int >(val2
);
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (bool)(arg1
)->GetToolState(arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24972 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
= 0;
24974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 char * kwnames
[] = {
24984 (char *) "self",(char *) "id", NULL
24987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24992 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24994 if (!SWIG_IsOK(ecode2
)) {
24995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24997 arg2
= static_cast< int >(val2
);
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25013 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
= 0;
25015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25017 wxString
*arg3
= 0 ;
25022 bool temp3
= false ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 PyObject
* obj2
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "id",(char *) "helpString", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25035 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25037 if (!SWIG_IsOK(ecode2
)) {
25038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25040 arg2
= static_cast< int >(val2
);
25042 arg3
= wxString_in_helper(obj2
);
25043 if (arg3
== NULL
) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_Py_Void();
25067 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
= 0;
25069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char * kwnames
[] = {
25079 (char *) "self",(char *) "id", NULL
25082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25084 if (!SWIG_IsOK(res1
)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25087 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25089 if (!SWIG_IsOK(ecode2
)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25092 arg2
= static_cast< int >(val2
);
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (arg1
)->GetToolShortHelp(arg2
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25112 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
= 0;
25114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25116 wxString
*arg3
= 0 ;
25121 bool temp3
= false ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 PyObject
* obj2
= 0 ;
25125 char * kwnames
[] = {
25126 (char *) "self",(char *) "id",(char *) "helpString", NULL
25129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25134 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25136 if (!SWIG_IsOK(ecode2
)) {
25137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25139 arg2
= static_cast< int >(val2
);
25141 arg3
= wxString_in_helper(obj2
);
25142 if (arg3
== NULL
) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_Py_Void();
25166 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
= 0;
25168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char * kwnames
[] = {
25178 (char *) "self",(char *) "id", NULL
25181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25186 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25188 if (!SWIG_IsOK(ecode2
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25191 arg2
= static_cast< int >(val2
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (arg1
)->GetToolLongHelp(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25211 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
= 0;
25213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25222 PyObject
* obj0
= 0 ;
25223 PyObject
* obj1
= 0 ;
25224 PyObject
* obj2
= 0 ;
25225 char * kwnames
[] = {
25226 (char *) "self",(char *) "x",(char *) "y", NULL
25229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25234 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25236 if (!SWIG_IsOK(ecode2
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25239 arg2
= static_cast< int >(val2
);
25240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25241 if (!SWIG_IsOK(ecode3
)) {
25242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25244 arg3
= static_cast< int >(val3
);
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 (arg1
)->SetMargins(arg2
,arg3
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_Py_Void();
25258 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
= 0;
25260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char * kwnames
[] = {
25268 (char *) "self",(char *) "size", NULL
25271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25273 if (!SWIG_IsOK(res1
)) {
25274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25276 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25279 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= SWIG_Py_Void();
25294 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
= 0;
25296 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 char * kwnames
[] = {
25305 (char *) "self",(char *) "packing", NULL
25308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25313 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25315 if (!SWIG_IsOK(ecode2
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25318 arg2
= static_cast< int >(val2
);
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->SetToolPacking(arg2
);
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= SWIG_Py_Void();
25332 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
= 0;
25334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 char * kwnames
[] = {
25343 (char *) "self",(char *) "separation", NULL
25346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25351 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25353 if (!SWIG_IsOK(ecode2
)) {
25354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25356 arg2
= static_cast< int >(val2
);
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 (arg1
)->SetToolSeparation(arg2
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= SWIG_Py_Void();
25370 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25371 PyObject
*resultobj
= 0;
25372 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25376 PyObject
*swig_obj
[1] ;
25378 if (!args
) SWIG_fail
;
25379 swig_obj
[0] = args
;
25380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25384 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (arg1
)->GetToolMargins();
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25398 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25399 PyObject
*resultobj
= 0;
25400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25404 PyObject
*swig_obj
[1] ;
25406 if (!args
) SWIG_fail
;
25407 swig_obj
[0] = args
;
25408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25409 if (!SWIG_IsOK(res1
)) {
25410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25412 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (arg1
)->GetMargins();
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25426 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25427 PyObject
*resultobj
= 0;
25428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25432 PyObject
*swig_obj
[1] ;
25434 if (!args
) SWIG_fail
;
25435 swig_obj
[0] = args
;
25436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25437 if (!SWIG_IsOK(res1
)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25440 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (int)(arg1
)->GetToolPacking();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_From_int(static_cast< int >(result
));
25454 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25455 PyObject
*resultobj
= 0;
25456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25460 PyObject
*swig_obj
[1] ;
25462 if (!args
) SWIG_fail
;
25463 swig_obj
[0] = args
;
25464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25465 if (!SWIG_IsOK(res1
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25468 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= (int)(arg1
)->GetToolSeparation();
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_From_int(static_cast< int >(result
));
25482 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25492 char * kwnames
[] = {
25493 (char *) "self",(char *) "nRows", NULL
25496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25501 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25503 if (!SWIG_IsOK(ecode2
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25506 arg2
= static_cast< int >(val2
);
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->SetRows(arg2
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_Py_Void();
25520 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= 0;
25522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 PyObject
* obj2
= 0 ;
25534 char * kwnames
[] = {
25535 (char *) "self",(char *) "rows",(char *) "cols", NULL
25538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25540 if (!SWIG_IsOK(res1
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25543 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25545 if (!SWIG_IsOK(ecode2
)) {
25546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25548 arg2
= static_cast< int >(val2
);
25549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25550 if (!SWIG_IsOK(ecode3
)) {
25551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25553 arg3
= static_cast< int >(val3
);
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_Py_Void();
25567 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25568 PyObject
*resultobj
= 0;
25569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25573 PyObject
*swig_obj
[1] ;
25575 if (!args
) SWIG_fail
;
25576 swig_obj
[0] = args
;
25577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25581 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (int)(arg1
)->GetMaxRows();
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_From_int(static_cast< int >(result
));
25595 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25601 PyObject
*swig_obj
[1] ;
25603 if (!args
) SWIG_fail
;
25604 swig_obj
[0] = args
;
25605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25609 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (int)(arg1
)->GetMaxCols();
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_From_int(static_cast< int >(result
));
25623 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
= 0;
25625 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char * kwnames
[] = {
25633 (char *) "self",(char *) "size", NULL
25636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25641 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= SWIG_Py_Void();
25659 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25660 PyObject
*resultobj
= 0;
25661 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25665 PyObject
*swig_obj
[1] ;
25667 if (!args
) SWIG_fail
;
25668 swig_obj
[0] = args
;
25669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25670 if (!SWIG_IsOK(res1
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25673 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (arg1
)->GetToolBitmapSize();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25687 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25688 PyObject
*resultobj
= 0;
25689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25693 PyObject
*swig_obj
[1] ;
25695 if (!args
) SWIG_fail
;
25696 swig_obj
[0] = args
;
25697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25698 if (!SWIG_IsOK(res1
)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25701 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= (arg1
)->GetToolSize();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25715 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
= 0;
25717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25720 wxToolBarToolBase
*result
= 0 ;
25727 PyObject
* obj0
= 0 ;
25728 PyObject
* obj1
= 0 ;
25729 PyObject
* obj2
= 0 ;
25730 char * kwnames
[] = {
25731 (char *) "self",(char *) "x",(char *) "y", NULL
25734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25736 if (!SWIG_IsOK(res1
)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25739 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25741 if (!SWIG_IsOK(ecode2
)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25744 arg2
= static_cast< int >(val2
);
25745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25746 if (!SWIG_IsOK(ecode3
)) {
25747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25749 arg3
= static_cast< int >(val3
);
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25765 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
= 0;
25767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25769 wxToolBarToolBase
*result
= 0 ;
25774 PyObject
* obj0
= 0 ;
25775 PyObject
* obj1
= 0 ;
25776 char * kwnames
[] = {
25777 (char *) "self",(char *) "toolid", NULL
25780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25785 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25787 if (!SWIG_IsOK(ecode2
)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25790 arg2
= static_cast< int >(val2
);
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25806 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25807 PyObject
*resultobj
= 0;
25808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25812 PyObject
*swig_obj
[1] ;
25814 if (!args
) SWIG_fail
;
25815 swig_obj
[0] = args
;
25816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25820 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (bool)(arg1
)->IsVertical();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25836 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25837 PyObject
*resultobj
= 0;
25838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25842 PyObject
*swig_obj
[1] ;
25844 if (!args
) SWIG_fail
;
25845 swig_obj
[0] = args
;
25846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25850 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25864 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25867 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25868 return SWIG_Py_Void();
25871 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
= 0;
25873 wxWindow
*arg1
= (wxWindow
*) 0 ;
25874 int arg2
= (int) -1 ;
25875 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25876 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25877 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25878 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25879 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25880 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25881 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25882 wxToolBar
*result
= 0 ;
25891 bool temp6
= false ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 PyObject
* obj2
= 0 ;
25895 PyObject
* obj3
= 0 ;
25896 PyObject
* obj4
= 0 ;
25897 PyObject
* obj5
= 0 ;
25898 char * kwnames
[] = {
25899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25904 if (!SWIG_IsOK(res1
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25910 if (!SWIG_IsOK(ecode2
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25913 arg2
= static_cast< int >(val2
);
25918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25924 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25928 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25929 if (!SWIG_IsOK(ecode5
)) {
25930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25932 arg5
= static_cast< long >(val5
);
25936 arg6
= wxString_in_helper(obj5
);
25937 if (arg6
== NULL
) SWIG_fail
;
25942 if (!wxPyCheckForApp()) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25963 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25964 PyObject
*resultobj
= 0;
25965 wxToolBar
*result
= 0 ;
25967 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25969 if (!wxPyCheckForApp()) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (wxToolBar
*)new wxToolBar();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25982 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= 0;
25984 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25985 wxWindow
*arg2
= (wxWindow
*) 0 ;
25986 int arg3
= (int) -1 ;
25987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25991 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25992 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26005 bool temp7
= false ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 PyObject
* obj2
= 0 ;
26009 PyObject
* obj3
= 0 ;
26010 PyObject
* obj4
= 0 ;
26011 PyObject
* obj5
= 0 ;
26012 PyObject
* obj6
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26022 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26024 if (!SWIG_IsOK(res2
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26030 if (!SWIG_IsOK(ecode3
)) {
26031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26033 arg3
= static_cast< int >(val3
);
26038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26048 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26049 if (!SWIG_IsOK(ecode6
)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26052 arg6
= static_cast< long >(val6
);
26056 arg7
= wxString_in_helper(obj6
);
26057 if (arg7
== NULL
) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26084 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
= 0;
26086 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26087 SwigValueWrapper
<wxVisualAttributes
> result
;
26090 PyObject
* obj0
= 0 ;
26091 char * kwnames
[] = {
26092 (char *) "variant", NULL
26095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26098 if (!SWIG_IsOK(ecode1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26101 arg1
= static_cast< wxWindowVariant
>(val1
);
26104 if (!wxPyCheckForApp()) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26117 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26120 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26121 return SWIG_Py_Void();
26124 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26125 return SWIG_Python_InitShadowInstance(args
);
26128 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26129 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26134 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26135 PyObject
*pyobj
= 0;
26139 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26141 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26148 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
= 0;
26150 wxColour
const &arg1_defvalue
= wxNullColour
;
26151 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26152 wxColour
const &arg2_defvalue
= wxNullColour
;
26153 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26154 wxFont
const &arg3_defvalue
= wxNullFont
;
26155 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26156 wxListItemAttr
*result
= 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 PyObject
* obj2
= 0 ;
26164 char * kwnames
[] = {
26165 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26172 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26182 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26183 if (!SWIG_IsOK(res3
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26189 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26204 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26205 PyObject
*resultobj
= 0;
26206 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26209 PyObject
*swig_obj
[1] ;
26211 if (!args
) SWIG_fail
;
26212 swig_obj
[0] = args
;
26213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26214 if (!SWIG_IsOK(res1
)) {
26215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26217 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_Py_Void();
26232 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
= 0;
26234 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26235 wxColour
*arg2
= 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char * kwnames
[] = {
26242 (char *) "self",(char *) "colText", NULL
26245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26247 if (!SWIG_IsOK(res1
)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26250 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_Py_Void();
26268 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= 0;
26270 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26271 wxColour
*arg2
= 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char * kwnames
[] = {
26278 (char *) "self",(char *) "colBack", NULL
26281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26286 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_Py_Void();
26304 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
= 0;
26306 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char * kwnames
[] = {
26315 (char *) "self",(char *) "font", NULL
26318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26320 if (!SWIG_IsOK(res1
)) {
26321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26323 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26325 if (!SWIG_IsOK(res2
)) {
26326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26331 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 (arg1
)->SetFont((wxFont
const &)*arg2
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_Py_Void();
26345 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26346 PyObject
*resultobj
= 0;
26347 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26351 PyObject
*swig_obj
[1] ;
26353 if (!args
) SWIG_fail
;
26354 swig_obj
[0] = args
;
26355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26359 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)(arg1
)->HasTextColour();
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26375 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26376 PyObject
*resultobj
= 0;
26377 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26381 PyObject
*swig_obj
[1] ;
26383 if (!args
) SWIG_fail
;
26384 swig_obj
[0] = args
;
26385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26389 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (bool)(arg1
)->HasBackgroundColour();
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26405 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26411 PyObject
*swig_obj
[1] ;
26413 if (!args
) SWIG_fail
;
26414 swig_obj
[0] = args
;
26415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26419 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (bool)(arg1
)->HasFont();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26435 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 PyObject
*resultobj
= 0;
26437 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26441 PyObject
*swig_obj
[1] ;
26443 if (!args
) SWIG_fail
;
26444 swig_obj
[0] = args
;
26445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26446 if (!SWIG_IsOK(res1
)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26449 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (arg1
)->GetTextColour();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26463 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26464 PyObject
*resultobj
= 0;
26465 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26469 PyObject
*swig_obj
[1] ;
26471 if (!args
) SWIG_fail
;
26472 swig_obj
[0] = args
;
26473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26477 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (arg1
)->GetBackgroundColour();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26491 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26492 PyObject
*resultobj
= 0;
26493 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26497 PyObject
*swig_obj
[1] ;
26499 if (!args
) SWIG_fail
;
26500 swig_obj
[0] = args
;
26501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26505 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (arg1
)->GetFont();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26519 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26522 wxListItemAttr
*arg2
= 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 char * kwnames
[] = {
26530 (char *) "self",(char *) "source", NULL
26533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26538 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26540 if (!SWIG_IsOK(res2
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26546 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26565 PyObject
*swig_obj
[1] ;
26567 if (!args
) SWIG_fail
;
26568 swig_obj
[0] = args
;
26569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26570 if (!SWIG_IsOK(res1
)) {
26571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26573 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 wxListItemAttr_Destroy(arg1
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_Py_Void();
26587 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26590 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26591 return SWIG_Py_Void();
26594 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26595 return SWIG_Python_InitShadowInstance(args
);
26598 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 PyObject
*resultobj
= 0;
26600 wxListItem
*result
= 0 ;
26602 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 result
= (wxListItem
*)new wxListItem();
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26616 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26617 PyObject
*resultobj
= 0;
26618 wxListItem
*arg1
= (wxListItem
*) 0 ;
26621 PyObject
*swig_obj
[1] ;
26623 if (!args
) SWIG_fail
;
26624 swig_obj
[0] = args
;
26625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26629 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26645 PyObject
*resultobj
= 0;
26646 wxListItem
*arg1
= (wxListItem
*) 0 ;
26649 PyObject
*swig_obj
[1] ;
26651 if (!args
) SWIG_fail
;
26652 swig_obj
[0] = args
;
26653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26654 if (!SWIG_IsOK(res1
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26657 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_Py_Void();
26671 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26672 PyObject
*resultobj
= 0;
26673 wxListItem
*arg1
= (wxListItem
*) 0 ;
26676 PyObject
*swig_obj
[1] ;
26678 if (!args
) SWIG_fail
;
26679 swig_obj
[0] = args
;
26680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26681 if (!SWIG_IsOK(res1
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26684 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->ClearAttributes();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
= 0;
26700 wxListItem
*arg1
= (wxListItem
*) 0 ;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 char * kwnames
[] = {
26709 (char *) "self",(char *) "mask", NULL
26712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26714 if (!SWIG_IsOK(res1
)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26717 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26719 if (!SWIG_IsOK(ecode2
)) {
26720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26722 arg2
= static_cast< long >(val2
);
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 (arg1
)->SetMask(arg2
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_Py_Void();
26736 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
= 0;
26738 wxListItem
*arg1
= (wxListItem
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char * kwnames
[] = {
26747 (char *) "self",(char *) "id", NULL
26750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26752 if (!SWIG_IsOK(res1
)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26755 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26756 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26757 if (!SWIG_IsOK(ecode2
)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26760 arg2
= static_cast< long >(val2
);
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->SetId(arg2
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= SWIG_Py_Void();
26774 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
= 0;
26776 wxListItem
*arg1
= (wxListItem
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char * kwnames
[] = {
26785 (char *) "self",(char *) "col", NULL
26788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26790 if (!SWIG_IsOK(res1
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26793 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26795 if (!SWIG_IsOK(ecode2
)) {
26796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26798 arg2
= static_cast< int >(val2
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 (arg1
)->SetColumn(arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_Py_Void();
26812 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
= 0;
26814 wxListItem
*arg1
= (wxListItem
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 PyObject
* obj1
= 0 ;
26822 char * kwnames
[] = {
26823 (char *) "self",(char *) "state", NULL
26826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26828 if (!SWIG_IsOK(res1
)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26831 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26833 if (!SWIG_IsOK(ecode2
)) {
26834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26836 arg2
= static_cast< long >(val2
);
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 (arg1
)->SetState(arg2
);
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= SWIG_Py_Void();
26850 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
= 0;
26852 wxListItem
*arg1
= (wxListItem
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 char * kwnames
[] = {
26861 (char *) "self",(char *) "stateMask", NULL
26864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26869 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26870 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26871 if (!SWIG_IsOK(ecode2
)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26874 arg2
= static_cast< long >(val2
);
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->SetStateMask(arg2
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_Py_Void();
26888 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
= 0;
26890 wxListItem
*arg1
= (wxListItem
*) 0 ;
26891 wxString
*arg2
= 0 ;
26894 bool temp2
= false ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 char * kwnames
[] = {
26898 (char *) "self",(char *) "text", NULL
26901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26903 if (!SWIG_IsOK(res1
)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26906 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26908 arg2
= wxString_in_helper(obj1
);
26909 if (arg2
== NULL
) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 (arg1
)->SetText((wxString
const &)*arg2
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= SWIG_Py_Void();
26933 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxListItem
*arg1
= (wxListItem
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "image", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26952 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26954 if (!SWIG_IsOK(ecode2
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26957 arg2
= static_cast< int >(val2
);
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetImage(arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26971 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxListItem
*arg1
= (wxListItem
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 char * kwnames
[] = {
26982 (char *) "self",(char *) "data", NULL
26985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26987 if (!SWIG_IsOK(res1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26990 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26991 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26992 if (!SWIG_IsOK(ecode2
)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26995 arg2
= static_cast< long >(val2
);
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->SetData(arg2
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxListItem
*arg1
= (wxListItem
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char * kwnames
[] = {
27020 (char *) "self",(char *) "width", NULL
27023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27028 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27030 if (!SWIG_IsOK(ecode2
)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27033 arg2
= static_cast< int >(val2
);
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 (arg1
)->SetWidth(arg2
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_Py_Void();
27047 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
= 0;
27049 wxListItem
*arg1
= (wxListItem
*) 0 ;
27050 wxListColumnFormat arg2
;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 char * kwnames
[] = {
27058 (char *) "self",(char *) "align", NULL
27061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27066 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27068 if (!SWIG_IsOK(ecode2
)) {
27069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27071 arg2
= static_cast< wxListColumnFormat
>(val2
);
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 (arg1
)->SetAlign(arg2
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_Py_Void();
27085 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= 0;
27087 wxListItem
*arg1
= (wxListItem
*) 0 ;
27088 wxColour
*arg2
= 0 ;
27092 PyObject
* obj0
= 0 ;
27093 PyObject
* obj1
= 0 ;
27094 char * kwnames
[] = {
27095 (char *) "self",(char *) "colText", NULL
27098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27100 if (!SWIG_IsOK(res1
)) {
27101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27103 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_Py_Void();
27121 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= 0;
27123 wxListItem
*arg1
= (wxListItem
*) 0 ;
27124 wxColour
*arg2
= 0 ;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 char * kwnames
[] = {
27131 (char *) "self",(char *) "colBack", NULL
27134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27136 if (!SWIG_IsOK(res1
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27139 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_Py_Void();
27157 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
= 0;
27159 wxListItem
*arg1
= (wxListItem
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 PyObject
* obj1
= 0 ;
27167 char * kwnames
[] = {
27168 (char *) "self",(char *) "font", NULL
27171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27173 if (!SWIG_IsOK(res1
)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27176 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27178 if (!SWIG_IsOK(res2
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27184 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->SetFont((wxFont
const &)*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_Py_Void();
27198 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27199 PyObject
*resultobj
= 0;
27200 wxListItem
*arg1
= (wxListItem
*) 0 ;
27204 PyObject
*swig_obj
[1] ;
27206 if (!args
) SWIG_fail
;
27207 swig_obj
[0] = args
;
27208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27212 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (long)(arg1
)->GetMask();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= SWIG_From_long(static_cast< long >(result
));
27226 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 PyObject
*resultobj
= 0;
27228 wxListItem
*arg1
= (wxListItem
*) 0 ;
27232 PyObject
*swig_obj
[1] ;
27234 if (!args
) SWIG_fail
;
27235 swig_obj
[0] = args
;
27236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27240 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (long)(arg1
)->GetId();
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= SWIG_From_long(static_cast< long >(result
));
27254 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27255 PyObject
*resultobj
= 0;
27256 wxListItem
*arg1
= (wxListItem
*) 0 ;
27260 PyObject
*swig_obj
[1] ;
27262 if (!args
) SWIG_fail
;
27263 swig_obj
[0] = args
;
27264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27265 if (!SWIG_IsOK(res1
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27268 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (int)(arg1
)->GetColumn();
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_From_int(static_cast< int >(result
));
27282 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27283 PyObject
*resultobj
= 0;
27284 wxListItem
*arg1
= (wxListItem
*) 0 ;
27288 PyObject
*swig_obj
[1] ;
27290 if (!args
) SWIG_fail
;
27291 swig_obj
[0] = args
;
27292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27296 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (long)(arg1
)->GetState();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_From_long(static_cast< long >(result
));
27310 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27311 PyObject
*resultobj
= 0;
27312 wxListItem
*arg1
= (wxListItem
*) 0 ;
27313 wxString
*result
= 0 ;
27316 PyObject
*swig_obj
[1] ;
27318 if (!args
) SWIG_fail
;
27319 swig_obj
[0] = args
;
27320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27321 if (!SWIG_IsOK(res1
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 wxString
const &_result_ref
= (arg1
)->GetText();
27329 result
= (wxString
*) &_result_ref
;
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27338 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27347 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27348 PyObject
*resultobj
= 0;
27349 wxListItem
*arg1
= (wxListItem
*) 0 ;
27353 PyObject
*swig_obj
[1] ;
27355 if (!args
) SWIG_fail
;
27356 swig_obj
[0] = args
;
27357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27361 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 result
= (int)(arg1
)->GetImage();
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= SWIG_From_int(static_cast< int >(result
));
27375 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27376 PyObject
*resultobj
= 0;
27377 wxListItem
*arg1
= (wxListItem
*) 0 ;
27381 PyObject
*swig_obj
[1] ;
27383 if (!args
) SWIG_fail
;
27384 swig_obj
[0] = args
;
27385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27389 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (long)(arg1
)->GetData();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= SWIG_From_long(static_cast< long >(result
));
27403 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27404 PyObject
*resultobj
= 0;
27405 wxListItem
*arg1
= (wxListItem
*) 0 ;
27409 PyObject
*swig_obj
[1] ;
27411 if (!args
) SWIG_fail
;
27412 swig_obj
[0] = args
;
27413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27417 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (int)(arg1
)->GetWidth();
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= SWIG_From_int(static_cast< int >(result
));
27431 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 PyObject
*resultobj
= 0;
27433 wxListItem
*arg1
= (wxListItem
*) 0 ;
27434 wxListColumnFormat result
;
27437 PyObject
*swig_obj
[1] ;
27439 if (!args
) SWIG_fail
;
27440 swig_obj
[0] = args
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27445 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_From_int(static_cast< int >(result
));
27459 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxListItem
*arg1
= (wxListItem
*) 0 ;
27462 wxListItemAttr
*result
= 0 ;
27465 PyObject
*swig_obj
[1] ;
27467 if (!args
) SWIG_fail
;
27468 swig_obj
[0] = args
;
27469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27487 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 PyObject
*resultobj
= 0;
27489 wxListItem
*arg1
= (wxListItem
*) 0 ;
27493 PyObject
*swig_obj
[1] ;
27495 if (!args
) SWIG_fail
;
27496 swig_obj
[0] = args
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27501 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= (bool)(arg1
)->HasAttributes();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27517 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27518 PyObject
*resultobj
= 0;
27519 wxListItem
*arg1
= (wxListItem
*) 0 ;
27523 PyObject
*swig_obj
[1] ;
27525 if (!args
) SWIG_fail
;
27526 swig_obj
[0] = args
;
27527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27528 if (!SWIG_IsOK(res1
)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27531 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27545 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27546 PyObject
*resultobj
= 0;
27547 wxListItem
*arg1
= (wxListItem
*) 0 ;
27551 PyObject
*swig_obj
[1] ;
27553 if (!args
) SWIG_fail
;
27554 swig_obj
[0] = args
;
27555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27559 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27573 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27574 PyObject
*resultobj
= 0;
27575 wxListItem
*arg1
= (wxListItem
*) 0 ;
27579 PyObject
*swig_obj
[1] ;
27581 if (!args
) SWIG_fail
;
27582 swig_obj
[0] = args
;
27583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 result
= ((wxListItem
const *)arg1
)->GetFont();
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27601 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 PyObject
*resultobj
= 0;
27603 wxListItem
*arg1
= (wxListItem
*) 0 ;
27609 PyObject
*swig_obj
[2] ;
27611 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27616 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27617 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27618 if (!SWIG_IsOK(ecode2
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27621 arg2
= static_cast< long >(val2
);
27622 if (arg1
) (arg1
)->m_mask
= arg2
;
27624 resultobj
= SWIG_Py_Void();
27631 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(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_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27645 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27646 result
= (long) ((arg1
)->m_mask
);
27647 resultobj
= SWIG_From_long(static_cast< long >(result
));
27654 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxListItem
*arg1
= (wxListItem
*) 0 ;
27662 PyObject
*swig_obj
[2] ;
27664 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27670 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27671 if (!SWIG_IsOK(ecode2
)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27674 arg2
= static_cast< long >(val2
);
27675 if (arg1
) (arg1
)->m_itemId
= arg2
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxListItem
*arg1
= (wxListItem
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27698 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27699 result
= (long) ((arg1
)->m_itemId
);
27700 resultobj
= SWIG_From_long(static_cast< long >(result
));
27707 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27708 PyObject
*resultobj
= 0;
27709 wxListItem
*arg1
= (wxListItem
*) 0 ;
27715 PyObject
*swig_obj
[2] ;
27717 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27722 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27723 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27724 if (!SWIG_IsOK(ecode2
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27727 arg2
= static_cast< int >(val2
);
27728 if (arg1
) (arg1
)->m_col
= arg2
;
27730 resultobj
= SWIG_Py_Void();
27737 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27738 PyObject
*resultobj
= 0;
27739 wxListItem
*arg1
= (wxListItem
*) 0 ;
27743 PyObject
*swig_obj
[1] ;
27745 if (!args
) SWIG_fail
;
27746 swig_obj
[0] = args
;
27747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27751 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27752 result
= (int) ((arg1
)->m_col
);
27753 resultobj
= SWIG_From_int(static_cast< int >(result
));
27760 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27761 PyObject
*resultobj
= 0;
27762 wxListItem
*arg1
= (wxListItem
*) 0 ;
27768 PyObject
*swig_obj
[2] ;
27770 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27772 if (!SWIG_IsOK(res1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27775 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27776 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27777 if (!SWIG_IsOK(ecode2
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27780 arg2
= static_cast< long >(val2
);
27781 if (arg1
) (arg1
)->m_state
= arg2
;
27783 resultobj
= SWIG_Py_Void();
27790 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27791 PyObject
*resultobj
= 0;
27792 wxListItem
*arg1
= (wxListItem
*) 0 ;
27796 PyObject
*swig_obj
[1] ;
27798 if (!args
) SWIG_fail
;
27799 swig_obj
[0] = args
;
27800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27804 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27805 result
= (long) ((arg1
)->m_state
);
27806 resultobj
= SWIG_From_long(static_cast< long >(result
));
27813 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27814 PyObject
*resultobj
= 0;
27815 wxListItem
*arg1
= (wxListItem
*) 0 ;
27821 PyObject
*swig_obj
[2] ;
27823 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27828 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27829 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27830 if (!SWIG_IsOK(ecode2
)) {
27831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27833 arg2
= static_cast< long >(val2
);
27834 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27836 resultobj
= SWIG_Py_Void();
27843 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxListItem
*arg1
= (wxListItem
*) 0 ;
27849 PyObject
*swig_obj
[1] ;
27851 if (!args
) SWIG_fail
;
27852 swig_obj
[0] = args
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27857 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27858 result
= (long) ((arg1
)->m_stateMask
);
27859 resultobj
= SWIG_From_long(static_cast< long >(result
));
27866 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27867 PyObject
*resultobj
= 0;
27868 wxListItem
*arg1
= (wxListItem
*) 0 ;
27869 wxString
*arg2
= (wxString
*) 0 ;
27872 bool temp2
= false ;
27873 PyObject
*swig_obj
[2] ;
27875 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27880 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27882 arg2
= wxString_in_helper(swig_obj
[1]);
27883 if (arg2
== NULL
) SWIG_fail
;
27886 if (arg1
) (arg1
)->m_text
= *arg2
;
27888 resultobj
= SWIG_Py_Void();
27903 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27904 PyObject
*resultobj
= 0;
27905 wxListItem
*arg1
= (wxListItem
*) 0 ;
27906 wxString
*result
= 0 ;
27909 PyObject
*swig_obj
[1] ;
27911 if (!args
) SWIG_fail
;
27912 swig_obj
[0] = args
;
27913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27914 if (!SWIG_IsOK(res1
)) {
27915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27917 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27918 result
= (wxString
*)& ((arg1
)->m_text
);
27921 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27923 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27932 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27933 PyObject
*resultobj
= 0;
27934 wxListItem
*arg1
= (wxListItem
*) 0 ;
27940 PyObject
*swig_obj
[2] ;
27942 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27948 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27949 if (!SWIG_IsOK(ecode2
)) {
27950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27952 arg2
= static_cast< int >(val2
);
27953 if (arg1
) (arg1
)->m_image
= arg2
;
27955 resultobj
= SWIG_Py_Void();
27962 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxListItem
*arg1
= (wxListItem
*) 0 ;
27968 PyObject
*swig_obj
[1] ;
27970 if (!args
) SWIG_fail
;
27971 swig_obj
[0] = args
;
27972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27976 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27977 result
= (int) ((arg1
)->m_image
);
27978 resultobj
= SWIG_From_int(static_cast< int >(result
));
27985 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27986 PyObject
*resultobj
= 0;
27987 wxListItem
*arg1
= (wxListItem
*) 0 ;
27993 PyObject
*swig_obj
[2] ;
27995 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28000 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28001 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28002 if (!SWIG_IsOK(ecode2
)) {
28003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28005 arg2
= static_cast< long >(val2
);
28006 if (arg1
) (arg1
)->m_data
= arg2
;
28008 resultobj
= SWIG_Py_Void();
28015 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28016 PyObject
*resultobj
= 0;
28017 wxListItem
*arg1
= (wxListItem
*) 0 ;
28021 PyObject
*swig_obj
[1] ;
28023 if (!args
) SWIG_fail
;
28024 swig_obj
[0] = args
;
28025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28026 if (!SWIG_IsOK(res1
)) {
28027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28029 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28030 result
= (long) ((arg1
)->m_data
);
28031 resultobj
= SWIG_From_long(static_cast< long >(result
));
28038 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28039 PyObject
*resultobj
= 0;
28040 wxListItem
*arg1
= (wxListItem
*) 0 ;
28046 PyObject
*swig_obj
[2] ;
28048 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28053 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28054 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28055 if (!SWIG_IsOK(ecode2
)) {
28056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28058 arg2
= static_cast< int >(val2
);
28059 if (arg1
) (arg1
)->m_format
= arg2
;
28061 resultobj
= SWIG_Py_Void();
28068 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28069 PyObject
*resultobj
= 0;
28070 wxListItem
*arg1
= (wxListItem
*) 0 ;
28074 PyObject
*swig_obj
[1] ;
28076 if (!args
) SWIG_fail
;
28077 swig_obj
[0] = args
;
28078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28082 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28083 result
= (int) ((arg1
)->m_format
);
28084 resultobj
= SWIG_From_int(static_cast< int >(result
));
28091 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28092 PyObject
*resultobj
= 0;
28093 wxListItem
*arg1
= (wxListItem
*) 0 ;
28099 PyObject
*swig_obj
[2] ;
28101 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28103 if (!SWIG_IsOK(res1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28106 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28107 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28108 if (!SWIG_IsOK(ecode2
)) {
28109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28111 arg2
= static_cast< int >(val2
);
28112 if (arg1
) (arg1
)->m_width
= arg2
;
28114 resultobj
= SWIG_Py_Void();
28121 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28122 PyObject
*resultobj
= 0;
28123 wxListItem
*arg1
= (wxListItem
*) 0 ;
28127 PyObject
*swig_obj
[1] ;
28129 if (!args
) SWIG_fail
;
28130 swig_obj
[0] = args
;
28131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28135 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28136 result
= (int) ((arg1
)->m_width
);
28137 resultobj
= SWIG_From_int(static_cast< int >(result
));
28144 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28147 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28148 return SWIG_Py_Void();
28151 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 return SWIG_Python_InitShadowInstance(args
);
28155 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
= 0;
28157 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28158 int arg2
= (int) 0 ;
28159 wxListEvent
*result
= 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char * kwnames
[] = {
28167 (char *) "commandType",(char *) "id", NULL
28170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28173 if (!SWIG_IsOK(ecode1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28176 arg1
= static_cast< wxEventType
>(val1
);
28179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28180 if (!SWIG_IsOK(ecode2
)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28183 arg2
= static_cast< int >(val2
);
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28198 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28199 PyObject
*resultobj
= 0;
28200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28206 PyObject
*swig_obj
[2] ;
28208 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28213 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28214 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28215 if (!SWIG_IsOK(ecode2
)) {
28216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28218 arg2
= static_cast< int >(val2
);
28219 if (arg1
) (arg1
)->m_code
= arg2
;
28221 resultobj
= SWIG_Py_Void();
28228 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28229 PyObject
*resultobj
= 0;
28230 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28234 PyObject
*swig_obj
[1] ;
28236 if (!args
) SWIG_fail
;
28237 swig_obj
[0] = args
;
28238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28239 if (!SWIG_IsOK(res1
)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28242 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28243 result
= (int) ((arg1
)->m_code
);
28244 resultobj
= SWIG_From_int(static_cast< int >(result
));
28251 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28259 PyObject
*swig_obj
[2] ;
28261 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28266 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28267 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28268 if (!SWIG_IsOK(ecode2
)) {
28269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28271 arg2
= static_cast< long >(val2
);
28272 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28274 resultobj
= SWIG_Py_Void();
28281 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28282 PyObject
*resultobj
= 0;
28283 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28287 PyObject
*swig_obj
[1] ;
28289 if (!args
) SWIG_fail
;
28290 swig_obj
[0] = args
;
28291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28295 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28296 result
= (long) ((arg1
)->m_oldItemIndex
);
28297 resultobj
= SWIG_From_long(static_cast< long >(result
));
28304 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28305 PyObject
*resultobj
= 0;
28306 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28312 PyObject
*swig_obj
[2] ;
28314 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28319 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28320 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28321 if (!SWIG_IsOK(ecode2
)) {
28322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28324 arg2
= static_cast< long >(val2
);
28325 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28327 resultobj
= SWIG_Py_Void();
28334 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28335 PyObject
*resultobj
= 0;
28336 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28340 PyObject
*swig_obj
[1] ;
28342 if (!args
) SWIG_fail
;
28343 swig_obj
[0] = args
;
28344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28345 if (!SWIG_IsOK(res1
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28348 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28349 result
= (long) ((arg1
)->m_itemIndex
);
28350 resultobj
= SWIG_From_long(static_cast< long >(result
));
28357 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28358 PyObject
*resultobj
= 0;
28359 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28365 PyObject
*swig_obj
[2] ;
28367 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28369 if (!SWIG_IsOK(res1
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28372 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28373 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28374 if (!SWIG_IsOK(ecode2
)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28377 arg2
= static_cast< int >(val2
);
28378 if (arg1
) (arg1
)->m_col
= arg2
;
28380 resultobj
= SWIG_Py_Void();
28387 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28388 PyObject
*resultobj
= 0;
28389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28393 PyObject
*swig_obj
[1] ;
28395 if (!args
) SWIG_fail
;
28396 swig_obj
[0] = args
;
28397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28398 if (!SWIG_IsOK(res1
)) {
28399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28401 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28402 result
= (int) ((arg1
)->m_col
);
28403 resultobj
= SWIG_From_int(static_cast< int >(result
));
28410 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28413 wxPoint
*arg2
= (wxPoint
*) 0 ;
28418 PyObject
*swig_obj
[2] ;
28420 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28425 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28426 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28427 if (!SWIG_IsOK(res2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28430 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28431 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28433 resultobj
= SWIG_Py_Void();
28440 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28441 PyObject
*resultobj
= 0;
28442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28443 wxPoint
*result
= 0 ;
28446 PyObject
*swig_obj
[1] ;
28448 if (!args
) SWIG_fail
;
28449 swig_obj
[0] = args
;
28450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28451 if (!SWIG_IsOK(res1
)) {
28452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28454 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28455 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28463 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28464 PyObject
*resultobj
= 0;
28465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28466 wxListItem
*result
= 0 ;
28469 PyObject
*swig_obj
[1] ;
28471 if (!args
) SWIG_fail
;
28472 swig_obj
[0] = args
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28477 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28478 result
= (wxListItem
*)& ((arg1
)->m_item
);
28480 resultobj
= wxPyMake_wxObject(result
, 0);
28488 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28489 PyObject
*resultobj
= 0;
28490 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28494 PyObject
*swig_obj
[1] ;
28496 if (!args
) SWIG_fail
;
28497 swig_obj
[0] = args
;
28498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28499 if (!SWIG_IsOK(res1
)) {
28500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28502 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= (int)(arg1
)->GetKeyCode();
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= SWIG_From_int(static_cast< int >(result
));
28516 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28517 PyObject
*resultobj
= 0;
28518 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28522 PyObject
*swig_obj
[1] ;
28524 if (!args
) SWIG_fail
;
28525 swig_obj
[0] = args
;
28526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28527 if (!SWIG_IsOK(res1
)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28530 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (long)(arg1
)->GetIndex();
28534 wxPyEndAllowThreads(__tstate
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= SWIG_From_long(static_cast< long >(result
));
28544 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28545 PyObject
*resultobj
= 0;
28546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28550 PyObject
*swig_obj
[1] ;
28552 if (!args
) SWIG_fail
;
28553 swig_obj
[0] = args
;
28554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28555 if (!SWIG_IsOK(res1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28558 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (int)(arg1
)->GetColumn();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_From_int(static_cast< int >(result
));
28572 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28573 PyObject
*resultobj
= 0;
28574 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28578 PyObject
*swig_obj
[1] ;
28580 if (!args
) SWIG_fail
;
28581 swig_obj
[0] = args
;
28582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28583 if (!SWIG_IsOK(res1
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28586 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 result
= (arg1
)->GetPoint();
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28600 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28601 PyObject
*resultobj
= 0;
28602 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28603 wxString
*result
= 0 ;
28606 PyObject
*swig_obj
[1] ;
28608 if (!args
) SWIG_fail
;
28609 swig_obj
[0] = args
;
28610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28611 if (!SWIG_IsOK(res1
)) {
28612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28614 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 wxString
const &_result_ref
= (arg1
)->GetLabel();
28619 result
= (wxString
*) &_result_ref
;
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28628 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28637 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28638 PyObject
*resultobj
= 0;
28639 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28640 wxString
*result
= 0 ;
28643 PyObject
*swig_obj
[1] ;
28645 if (!args
) SWIG_fail
;
28646 swig_obj
[0] = args
;
28647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28651 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 wxString
const &_result_ref
= (arg1
)->GetText();
28656 result
= (wxString
*) &_result_ref
;
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28665 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28674 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28675 PyObject
*resultobj
= 0;
28676 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28680 PyObject
*swig_obj
[1] ;
28682 if (!args
) SWIG_fail
;
28683 swig_obj
[0] = args
;
28684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28688 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= (int)(arg1
)->GetImage();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_From_int(static_cast< int >(result
));
28702 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28703 PyObject
*resultobj
= 0;
28704 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28708 PyObject
*swig_obj
[1] ;
28710 if (!args
) SWIG_fail
;
28711 swig_obj
[0] = args
;
28712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28713 if (!SWIG_IsOK(res1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28716 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= (long)(arg1
)->GetData();
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_From_long(static_cast< long >(result
));
28730 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28731 PyObject
*resultobj
= 0;
28732 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28736 PyObject
*swig_obj
[1] ;
28738 if (!args
) SWIG_fail
;
28739 swig_obj
[0] = args
;
28740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28741 if (!SWIG_IsOK(res1
)) {
28742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28744 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 result
= (long)(arg1
)->GetMask();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= SWIG_From_long(static_cast< long >(result
));
28758 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28759 PyObject
*resultobj
= 0;
28760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28761 wxListItem
*result
= 0 ;
28764 PyObject
*swig_obj
[1] ;
28766 if (!args
) SWIG_fail
;
28767 swig_obj
[0] = args
;
28768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28769 if (!SWIG_IsOK(res1
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28772 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28777 result
= (wxListItem
*) &_result_ref
;
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28789 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28790 PyObject
*resultobj
= 0;
28791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28795 PyObject
*swig_obj
[1] ;
28797 if (!args
) SWIG_fail
;
28798 swig_obj
[0] = args
;
28799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28800 if (!SWIG_IsOK(res1
)) {
28801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28803 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (long)(arg1
)->GetCacheFrom();
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_From_long(static_cast< long >(result
));
28817 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 PyObject
*resultobj
= 0;
28819 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28823 PyObject
*swig_obj
[1] ;
28825 if (!args
) SWIG_fail
;
28826 swig_obj
[0] = args
;
28827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28828 if (!SWIG_IsOK(res1
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28831 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (long)(arg1
)->GetCacheTo();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= SWIG_From_long(static_cast< long >(result
));
28845 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28846 PyObject
*resultobj
= 0;
28847 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28851 PyObject
*swig_obj
[1] ;
28853 if (!args
) SWIG_fail
;
28854 swig_obj
[0] = args
;
28855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28859 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28875 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
= 0;
28877 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char * kwnames
[] = {
28886 (char *) "self",(char *) "editCancelled", NULL
28889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28894 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28895 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28896 if (!SWIG_IsOK(ecode2
)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28899 arg2
= static_cast< bool >(val2
);
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 (arg1
)->SetEditCanceled(arg2
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_Py_Void();
28913 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28916 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28917 return SWIG_Py_Void();
28920 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28921 return SWIG_Python_InitShadowInstance(args
);
28924 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 wxWindow
*arg1
= (wxWindow
*) 0 ;
28927 int arg2
= (int) -1 ;
28928 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28929 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28930 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28931 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28932 long arg5
= (long) wxLC_ICON
;
28933 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28934 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28935 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28937 wxPyListCtrl
*result
= 0 ;
28948 bool temp7
= false ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 PyObject
* obj2
= 0 ;
28952 PyObject
* obj3
= 0 ;
28953 PyObject
* obj4
= 0 ;
28954 PyObject
* obj5
= 0 ;
28955 PyObject
* obj6
= 0 ;
28956 char * kwnames
[] = {
28957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28962 if (!SWIG_IsOK(res1
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28968 if (!SWIG_IsOK(ecode2
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28971 arg2
= static_cast< int >(val2
);
28976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28982 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28986 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28987 if (!SWIG_IsOK(ecode5
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28990 arg5
= static_cast< long >(val5
);
28993 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28994 if (!SWIG_IsOK(res6
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29000 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29004 arg7
= wxString_in_helper(obj6
);
29005 if (arg7
== NULL
) SWIG_fail
;
29010 if (!wxPyCheckForApp()) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29031 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29032 PyObject
*resultobj
= 0;
29033 wxPyListCtrl
*result
= 0 ;
29035 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29037 if (!wxPyCheckForApp()) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29050 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
= 0;
29052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29053 wxWindow
*arg2
= (wxWindow
*) 0 ;
29054 int arg3
= (int) -1 ;
29055 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29056 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29057 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29058 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29059 long arg6
= (long) wxLC_ICON
;
29060 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29061 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29062 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29063 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29077 bool temp8
= false ;
29078 PyObject
* obj0
= 0 ;
29079 PyObject
* obj1
= 0 ;
29080 PyObject
* obj2
= 0 ;
29081 PyObject
* obj3
= 0 ;
29082 PyObject
* obj4
= 0 ;
29083 PyObject
* obj5
= 0 ;
29084 PyObject
* obj6
= 0 ;
29085 PyObject
* obj7
= 0 ;
29086 char * kwnames
[] = {
29087 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29092 if (!SWIG_IsOK(res1
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29097 if (!SWIG_IsOK(res2
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29100 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29103 if (!SWIG_IsOK(ecode3
)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29106 arg3
= static_cast< int >(val3
);
29111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29117 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29121 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29122 if (!SWIG_IsOK(ecode6
)) {
29123 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29125 arg6
= static_cast< long >(val6
);
29128 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29129 if (!SWIG_IsOK(res7
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29135 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29139 arg8
= wxString_in_helper(obj7
);
29140 if (arg8
== NULL
) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29167 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
= 0;
29169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29170 PyObject
*arg2
= (PyObject
*) 0 ;
29171 PyObject
*arg3
= (PyObject
*) 0 ;
29174 PyObject
* obj0
= 0 ;
29175 PyObject
* obj1
= 0 ;
29176 PyObject
* obj2
= 0 ;
29177 char * kwnames
[] = {
29178 (char *) "self",(char *) "self",(char *) "_class", NULL
29181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29183 if (!SWIG_IsOK(res1
)) {
29184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_Py_Void();
29202 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
= 0;
29204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29206 wxListItem
*result
= 0 ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 char * kwnames
[] = {
29214 (char *) "self",(char *) "col", NULL
29217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29222 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29224 if (!SWIG_IsOK(ecode2
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29227 arg2
= static_cast< int >(val2
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= wxPyMake_wxObject(result
, 0);
29243 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
= 0;
29245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29247 wxListItem
*arg3
= 0 ;
29255 PyObject
* obj0
= 0 ;
29256 PyObject
* obj1
= 0 ;
29257 PyObject
* obj2
= 0 ;
29258 char * kwnames
[] = {
29259 (char *) "self",(char *) "col",(char *) "item", NULL
29262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29264 if (!SWIG_IsOK(res1
)) {
29265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29267 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29269 if (!SWIG_IsOK(ecode2
)) {
29270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29272 arg2
= static_cast< int >(val2
);
29273 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29274 if (!SWIG_IsOK(res3
)) {
29275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29280 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29296 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
= 0;
29298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29305 PyObject
* obj0
= 0 ;
29306 PyObject
* obj1
= 0 ;
29307 char * kwnames
[] = {
29308 (char *) "self",(char *) "col", NULL
29311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29313 if (!SWIG_IsOK(res1
)) {
29314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29316 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29318 if (!SWIG_IsOK(ecode2
)) {
29319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29321 arg2
= static_cast< int >(val2
);
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= SWIG_From_int(static_cast< int >(result
));
29335 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
= 0;
29337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29347 PyObject
* obj0
= 0 ;
29348 PyObject
* obj1
= 0 ;
29349 PyObject
* obj2
= 0 ;
29350 char * kwnames
[] = {
29351 (char *) "self",(char *) "col",(char *) "width", NULL
29354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29361 if (!SWIG_IsOK(ecode2
)) {
29362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29364 arg2
= static_cast< int >(val2
);
29365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29366 if (!SWIG_IsOK(ecode3
)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29369 arg3
= static_cast< int >(val3
);
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29385 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29386 PyObject
*resultobj
= 0;
29387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29391 PyObject
*swig_obj
[1] ;
29393 if (!args
) SWIG_fail
;
29394 swig_obj
[0] = args
;
29395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29399 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_From_int(static_cast< int >(result
));
29413 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29414 PyObject
*resultobj
= 0;
29415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29419 PyObject
*swig_obj
[1] ;
29421 if (!args
) SWIG_fail
;
29422 swig_obj
[0] = args
;
29423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29424 if (!SWIG_IsOK(res1
)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29427 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29441 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29442 PyObject
*resultobj
= 0;
29443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29444 wxTextCtrl
*result
= 0 ;
29447 PyObject
*swig_obj
[1] ;
29449 if (!args
) SWIG_fail
;
29450 swig_obj
[0] = args
;
29451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29452 if (!SWIG_IsOK(res1
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29455 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= wxPyMake_wxObject(result
, 0);
29471 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
= 0;
29473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29475 int arg3
= (int) 0 ;
29476 wxListItem
*result
= 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 PyObject
* obj2
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "itemId",(char *) "col", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",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_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29497 if (!SWIG_IsOK(ecode2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29500 arg2
= static_cast< long >(val2
);
29502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29503 if (!SWIG_IsOK(ecode3
)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29506 arg3
= static_cast< int >(val3
);
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= wxPyMake_wxObject(result
, 0);
29523 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
= 0;
29525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29526 wxListItem
*arg2
= 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 char * kwnames
[] = {
29535 (char *) "self",(char *) "info", NULL
29538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29543 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29545 if (!SWIG_IsOK(res2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29551 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (bool)(arg1
)->SetItem(*arg2
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29567 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
= 0;
29569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29572 wxString
*arg4
= 0 ;
29573 int arg5
= (int) -1 ;
29581 bool temp4
= false ;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 PyObject
* obj3
= 0 ;
29588 PyObject
* obj4
= 0 ;
29589 char * kwnames
[] = {
29590 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29600 if (!SWIG_IsOK(ecode2
)) {
29601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29603 arg2
= static_cast< long >(val2
);
29604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29605 if (!SWIG_IsOK(ecode3
)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29608 arg3
= static_cast< int >(val3
);
29610 arg4
= wxString_in_helper(obj3
);
29611 if (arg4
== NULL
) SWIG_fail
;
29615 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29616 if (!SWIG_IsOK(ecode5
)) {
29617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29619 arg5
= static_cast< int >(val5
);
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= SWIG_From_long(static_cast< long >(result
));
29642 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
= 0;
29644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 PyObject
* obj2
= 0 ;
29657 char * kwnames
[] = {
29658 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29668 if (!SWIG_IsOK(ecode2
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29671 arg2
= static_cast< long >(val2
);
29672 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29673 if (!SWIG_IsOK(ecode3
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29676 arg3
= static_cast< long >(val3
);
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= SWIG_From_int(static_cast< int >(result
));
29690 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
= 0;
29692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 PyObject
* obj2
= 0 ;
29708 PyObject
* obj3
= 0 ;
29709 char * kwnames
[] = {
29710 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29715 if (!SWIG_IsOK(res1
)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29718 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29719 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29720 if (!SWIG_IsOK(ecode2
)) {
29721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29723 arg2
= static_cast< long >(val2
);
29724 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29725 if (!SWIG_IsOK(ecode3
)) {
29726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29728 arg3
= static_cast< long >(val3
);
29729 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29730 if (!SWIG_IsOK(ecode4
)) {
29731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29733 arg4
= static_cast< long >(val4
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29749 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
= 0;
29751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29754 int arg4
= (int) -1 ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 PyObject
* obj2
= 0 ;
29767 PyObject
* obj3
= 0 ;
29768 char * kwnames
[] = {
29769 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29777 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29779 if (!SWIG_IsOK(ecode2
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29782 arg2
= static_cast< long >(val2
);
29783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29784 if (!SWIG_IsOK(ecode3
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29787 arg3
= static_cast< int >(val3
);
29789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29790 if (!SWIG_IsOK(ecode4
)) {
29791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29793 arg4
= static_cast< int >(val4
);
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29810 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
= 0;
29812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 PyObject
* obj2
= 0 ;
29828 PyObject
* obj3
= 0 ;
29829 char * kwnames
[] = {
29830 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29835 if (!SWIG_IsOK(res1
)) {
29836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29838 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29840 if (!SWIG_IsOK(ecode2
)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29843 arg2
= static_cast< long >(val2
);
29844 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29845 if (!SWIG_IsOK(ecode3
)) {
29846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29848 arg3
= static_cast< long >(val3
);
29849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29850 if (!SWIG_IsOK(ecode4
)) {
29851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29853 arg4
= static_cast< int >(val4
);
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29869 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
= 0;
29871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 char * kwnames
[] = {
29881 (char *) "self",(char *) "item", NULL
29884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29889 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29891 if (!SWIG_IsOK(ecode2
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29894 arg2
= static_cast< long >(val2
);
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29914 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
= 0;
29916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29918 wxString
*arg3
= 0 ;
29923 bool temp3
= false ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 PyObject
* obj2
= 0 ;
29927 char * kwnames
[] = {
29928 (char *) "self",(char *) "item",(char *) "str", NULL
29931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29933 if (!SWIG_IsOK(res1
)) {
29934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29936 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29938 if (!SWIG_IsOK(ecode2
)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29941 arg2
= static_cast< long >(val2
);
29943 arg3
= wxString_in_helper(obj2
);
29944 if (arg3
== NULL
) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= SWIG_Py_Void();
29968 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
= 0;
29970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29977 PyObject
* obj0
= 0 ;
29978 PyObject
* obj1
= 0 ;
29979 char * kwnames
[] = {
29980 (char *) "self",(char *) "item", NULL
29983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29985 if (!SWIG_IsOK(res1
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29990 if (!SWIG_IsOK(ecode2
)) {
29991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29993 arg2
= static_cast< long >(val2
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_From_long(static_cast< long >(result
));
30007 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
= 0;
30009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30019 PyObject
* obj0
= 0 ;
30020 PyObject
* obj1
= 0 ;
30021 PyObject
* obj2
= 0 ;
30022 char * kwnames
[] = {
30023 (char *) "self",(char *) "item",(char *) "data", NULL
30026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30031 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30032 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30033 if (!SWIG_IsOK(ecode2
)) {
30034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30036 arg2
= static_cast< long >(val2
);
30037 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30038 if (!SWIG_IsOK(ecode3
)) {
30039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30041 arg3
= static_cast< long >(val3
);
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30057 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
= 0;
30059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 char * kwnames
[] = {
30069 (char *) "self",(char *) "item", NULL
30072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30079 if (!SWIG_IsOK(ecode2
)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30082 arg2
= static_cast< long >(val2
);
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30096 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
= 0;
30098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30100 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 PyObject
* obj2
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "item",(char *) "code", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30122 if (!SWIG_IsOK(ecode2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30125 arg2
= static_cast< long >(val2
);
30127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30128 if (!SWIG_IsOK(ecode3
)) {
30129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30131 arg3
= static_cast< int >(val3
);
30134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30135 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30146 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
= 0;
30148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30150 wxPoint
*arg3
= 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 char * kwnames
[] = {
30161 (char *) "self",(char *) "item",(char *) "pos", NULL
30164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30171 if (!SWIG_IsOK(ecode2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30174 arg2
= static_cast< long >(val2
);
30177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30194 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30195 PyObject
*resultobj
= 0;
30196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30200 PyObject
*swig_obj
[1] ;
30202 if (!args
) SWIG_fail
;
30203 swig_obj
[0] = args
;
30204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30205 if (!SWIG_IsOK(res1
)) {
30206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30208 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 resultobj
= SWIG_From_int(static_cast< int >(result
));
30222 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30223 PyObject
*resultobj
= 0;
30224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30228 PyObject
*swig_obj
[1] ;
30230 if (!args
) SWIG_fail
;
30231 swig_obj
[0] = args
;
30232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30236 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30239 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= SWIG_From_int(static_cast< int >(result
));
30250 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30251 PyObject
*resultobj
= 0;
30252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30256 PyObject
*swig_obj
[1] ;
30258 if (!args
) SWIG_fail
;
30259 swig_obj
[0] = args
;
30260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30261 if (!SWIG_IsOK(res1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30264 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30278 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30279 PyObject
*resultobj
= 0;
30280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30284 PyObject
*swig_obj
[1] ;
30286 if (!args
) SWIG_fail
;
30287 swig_obj
[0] = args
;
30288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30289 if (!SWIG_IsOK(res1
)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30292 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_From_int(static_cast< int >(result
));
30306 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30307 PyObject
*resultobj
= 0;
30308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30312 PyObject
*swig_obj
[1] ;
30314 if (!args
) SWIG_fail
;
30315 swig_obj
[0] = args
;
30316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30317 if (!SWIG_IsOK(res1
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30320 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30334 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
= 0;
30336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30337 wxColour
*arg2
= 0 ;
30341 PyObject
* obj0
= 0 ;
30342 PyObject
* obj1
= 0 ;
30343 char * kwnames
[] = {
30344 (char *) "self",(char *) "col", NULL
30347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_Py_Void();
30370 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30371 PyObject
*resultobj
= 0;
30372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30376 PyObject
*swig_obj
[1] ;
30378 if (!args
) SWIG_fail
;
30379 swig_obj
[0] = args
;
30380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30381 if (!SWIG_IsOK(res1
)) {
30382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30384 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_From_long(static_cast< long >(result
));
30398 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
= 0;
30400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30402 bool arg3
= (bool) true ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 PyObject
* obj2
= 0 ;
30412 char * kwnames
[] = {
30413 (char *) "self",(char *) "style",(char *) "add", NULL
30416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30421 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30422 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30423 if (!SWIG_IsOK(ecode2
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30426 arg2
= static_cast< long >(val2
);
30428 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30429 if (!SWIG_IsOK(ecode3
)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30432 arg3
= static_cast< bool >(val3
);
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->SetSingleStyle(arg2
,arg3
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= SWIG_Py_Void();
30447 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
= 0;
30449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30451 int arg3
= (int) wxLIST_NEXT_ALL
;
30452 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 PyObject
* obj2
= 0 ;
30465 PyObject
* obj3
= 0 ;
30466 char * kwnames
[] = {
30467 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30472 if (!SWIG_IsOK(res1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30475 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30476 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30477 if (!SWIG_IsOK(ecode2
)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30480 arg2
= static_cast< long >(val2
);
30482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30483 if (!SWIG_IsOK(ecode3
)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30486 arg3
= static_cast< int >(val3
);
30489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30490 if (!SWIG_IsOK(ecode4
)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30493 arg4
= static_cast< int >(val4
);
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= SWIG_From_long(static_cast< long >(result
));
30508 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
= 0;
30510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30512 wxImageList
*result
= 0 ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 char * kwnames
[] = {
30520 (char *) "self",(char *) "which", NULL
30523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30530 if (!SWIG_IsOK(ecode2
)) {
30531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30533 arg2
= static_cast< int >(val2
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30549 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30552 wxImageList
*arg2
= (wxImageList
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "imageList",(char *) "which", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30574 if (!SWIG_IsOK(res2
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30577 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30579 if (!SWIG_IsOK(ecode3
)) {
30580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30582 arg3
= static_cast< int >(val3
);
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 (arg1
)->SetImageList(arg2
,arg3
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_Py_Void();
30596 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
= 0;
30598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30599 wxImageList
*arg2
= (wxImageList
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 PyObject
* obj2
= 0 ;
30609 char * kwnames
[] = {
30610 (char *) "self",(char *) "imageList",(char *) "which", NULL
30613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30619 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30620 if (!SWIG_IsOK(res2
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30624 if (!SWIG_IsOK(ecode3
)) {
30625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30627 arg3
= static_cast< int >(val3
);
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 (arg1
)->AssignImageList(arg2
,arg3
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= SWIG_Py_Void();
30641 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30642 PyObject
*resultobj
= 0;
30643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30647 PyObject
*swig_obj
[1] ;
30649 if (!args
) SWIG_fail
;
30650 swig_obj
[0] = args
;
30651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30652 if (!SWIG_IsOK(res1
)) {
30653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30655 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30671 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30672 PyObject
*resultobj
= 0;
30673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30677 PyObject
*swig_obj
[1] ;
30679 if (!args
) SWIG_fail
;
30680 swig_obj
[0] = args
;
30681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30682 if (!SWIG_IsOK(res1
)) {
30683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30685 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30701 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
= 0;
30703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30709 PyObject
* obj0
= 0 ;
30710 PyObject
* obj1
= 0 ;
30711 char * kwnames
[] = {
30712 (char *) "self",(char *) "item", NULL
30715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30717 if (!SWIG_IsOK(res1
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30720 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30721 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30722 if (!SWIG_IsOK(ecode2
)) {
30723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30725 arg2
= static_cast< long >(val2
);
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 (arg1
)->RefreshItem(arg2
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_Py_Void();
30739 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30740 PyObject
*resultobj
= 0;
30741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 PyObject
* obj2
= 0 ;
30753 char * kwnames
[] = {
30754 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30759 if (!SWIG_IsOK(res1
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30764 if (!SWIG_IsOK(ecode2
)) {
30765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30767 arg2
= static_cast< long >(val2
);
30768 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30769 if (!SWIG_IsOK(ecode3
)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30772 arg3
= static_cast< long >(val3
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 (arg1
)->RefreshItems(arg2
,arg3
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_Py_Void();
30786 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
= 0;
30788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30789 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 char * kwnames
[] = {
30798 (char *) "self",(char *) "flag", NULL
30801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30803 if (!SWIG_IsOK(res1
)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30806 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30809 if (!SWIG_IsOK(ecode2
)) {
30810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30812 arg2
= static_cast< int >(val2
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (bool)(arg1
)->Arrange(arg2
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30829 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char * kwnames
[] = {
30841 (char *) "self",(char *) "item", NULL
30844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) 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_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30849 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30850 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30851 if (!SWIG_IsOK(ecode2
)) {
30852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30854 arg2
= static_cast< long >(val2
);
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (bool)(arg1
)->DeleteItem(arg2
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30870 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30871 PyObject
*resultobj
= 0;
30872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30876 PyObject
*swig_obj
[1] ;
30878 if (!args
) SWIG_fail
;
30879 swig_obj
[0] = args
;
30880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30881 if (!SWIG_IsOK(res1
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30884 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (bool)(arg1
)->DeleteAllItems();
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30900 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "col", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30920 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30922 if (!SWIG_IsOK(ecode2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30925 arg2
= static_cast< int >(val2
);
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30941 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30942 PyObject
*resultobj
= 0;
30943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30947 PyObject
*swig_obj
[1] ;
30949 if (!args
) SWIG_fail
;
30950 swig_obj
[0] = args
;
30951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30955 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 result
= (bool)(arg1
)->DeleteAllColumns();
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30971 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30972 PyObject
*resultobj
= 0;
30973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30976 PyObject
*swig_obj
[1] ;
30978 if (!args
) SWIG_fail
;
30979 swig_obj
[0] = args
;
30980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30981 if (!SWIG_IsOK(res1
)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30984 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 (arg1
)->ClearAll();
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= SWIG_Py_Void();
30998 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
= 0;
31000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31002 wxTextCtrl
*result
= 0 ;
31007 PyObject
* obj0
= 0 ;
31008 PyObject
* obj1
= 0 ;
31009 char * kwnames
[] = {
31010 (char *) "self",(char *) "item", NULL
31013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31015 if (!SWIG_IsOK(res1
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31018 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31019 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31020 if (!SWIG_IsOK(ecode2
)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31023 arg2
= static_cast< long >(val2
);
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= wxPyMake_wxObject(result
, 0);
31039 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
= 0;
31041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 char * kwnames
[] = {
31051 (char *) "self",(char *) "cancel", NULL
31054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31056 if (!SWIG_IsOK(res1
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31060 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31061 if (!SWIG_IsOK(ecode2
)) {
31062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31064 arg2
= static_cast< bool >(val2
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31080 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
= 0;
31082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 char * kwnames
[] = {
31092 (char *) "self",(char *) "item", NULL
31095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31100 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31102 if (!SWIG_IsOK(ecode2
)) {
31103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31105 arg2
= static_cast< long >(val2
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31121 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
= 0;
31123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31125 wxString
*arg3
= 0 ;
31126 bool arg4
= (bool) false ;
31132 bool temp3
= false ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 PyObject
* obj2
= 0 ;
31138 PyObject
* obj3
= 0 ;
31139 char * kwnames
[] = {
31140 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31145 if (!SWIG_IsOK(res1
)) {
31146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31148 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31150 if (!SWIG_IsOK(ecode2
)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31153 arg2
= static_cast< long >(val2
);
31155 arg3
= wxString_in_helper(obj2
);
31156 if (arg3
== NULL
) SWIG_fail
;
31160 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31161 if (!SWIG_IsOK(ecode4
)) {
31162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31164 arg4
= static_cast< bool >(val4
);
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= SWIG_From_long(static_cast< long >(result
));
31187 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
= 0;
31189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 PyObject
* obj2
= 0 ;
31202 char * kwnames
[] = {
31203 (char *) "self",(char *) "start",(char *) "data", NULL
31206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31208 if (!SWIG_IsOK(res1
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31211 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31213 if (!SWIG_IsOK(ecode2
)) {
31214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31216 arg2
= static_cast< long >(val2
);
31217 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31218 if (!SWIG_IsOK(ecode3
)) {
31219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31221 arg3
= static_cast< long >(val3
);
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= SWIG_From_long(static_cast< long >(result
));
31235 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
= 0;
31237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31239 wxPoint
*arg3
= 0 ;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 PyObject
* obj2
= 0 ;
31252 PyObject
* obj3
= 0 ;
31253 char * kwnames
[] = {
31254 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31259 if (!SWIG_IsOK(res1
)) {
31260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31262 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31263 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31264 if (!SWIG_IsOK(ecode2
)) {
31265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31267 arg2
= static_cast< long >(val2
);
31270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31273 if (!SWIG_IsOK(ecode4
)) {
31274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31276 arg4
= static_cast< int >(val4
);
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 resultobj
= SWIG_From_long(static_cast< long >(result
));
31290 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
= 0;
31292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31293 wxPoint
*arg2
= 0 ;
31300 int res3
= SWIG_TMPOBJ
;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char * kwnames
[] = {
31304 (char *) "self",(char *) "point", NULL
31308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31310 if (!SWIG_IsOK(res1
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31313 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_From_long(static_cast< long >(result
));
31325 if (SWIG_IsTmpObj(res3
)) {
31326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31328 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31337 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
= 0;
31339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31340 wxPoint
*arg2
= 0 ;
31342 long *arg4
= (long *) 0 ;
31348 int res3
= SWIG_TMPOBJ
;
31350 int res4
= SWIG_TMPOBJ
;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char * kwnames
[] = {
31354 (char *) "self",(char *) "point", NULL
31359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31361 if (!SWIG_IsOK(res1
)) {
31362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31364 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_From_long(static_cast< long >(result
));
31376 if (SWIG_IsTmpObj(res3
)) {
31377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31379 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31382 if (SWIG_IsTmpObj(res4
)) {
31383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31385 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31394 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
= 0;
31396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31397 wxListItem
*arg2
= 0 ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 char * kwnames
[] = {
31406 (char *) "self",(char *) "info", NULL
31409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31411 if (!SWIG_IsOK(res1
)) {
31412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31416 if (!SWIG_IsOK(res2
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31422 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 result
= (long)(arg1
)->InsertItem(*arg2
);
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= SWIG_From_long(static_cast< long >(result
));
31436 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31437 PyObject
*resultobj
= 0;
31438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31440 wxString
*arg3
= 0 ;
31441 int arg4
= (int) -1 ;
31447 bool temp3
= false ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 PyObject
* obj2
= 0 ;
31453 PyObject
* obj3
= 0 ;
31454 char * kwnames
[] = {
31455 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31460 if (!SWIG_IsOK(res1
)) {
31461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31463 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31465 if (!SWIG_IsOK(ecode2
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31468 arg2
= static_cast< long >(val2
);
31470 arg3
= wxString_in_helper(obj2
);
31471 if (arg3
== NULL
) SWIG_fail
;
31475 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31476 if (!SWIG_IsOK(ecode4
)) {
31477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31479 arg4
= static_cast< int >(val4
);
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_From_long(static_cast< long >(result
));
31502 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
= 0;
31504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 PyObject
* obj2
= 0 ;
31517 char * kwnames
[] = {
31518 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31523 if (!SWIG_IsOK(res1
)) {
31524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31526 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31527 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31528 if (!SWIG_IsOK(ecode2
)) {
31529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31531 arg2
= static_cast< long >(val2
);
31532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31533 if (!SWIG_IsOK(ecode3
)) {
31534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31536 arg3
= static_cast< int >(val3
);
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 resultobj
= SWIG_From_long(static_cast< long >(result
));
31550 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31551 PyObject
*resultobj
= 0;
31552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31554 wxString
*arg3
= 0 ;
31561 bool temp3
= false ;
31564 PyObject
* obj0
= 0 ;
31565 PyObject
* obj1
= 0 ;
31566 PyObject
* obj2
= 0 ;
31567 PyObject
* obj3
= 0 ;
31568 char * kwnames
[] = {
31569 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31574 if (!SWIG_IsOK(res1
)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31577 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31578 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31579 if (!SWIG_IsOK(ecode2
)) {
31580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31582 arg2
= static_cast< long >(val2
);
31584 arg3
= wxString_in_helper(obj2
);
31585 if (arg3
== NULL
) SWIG_fail
;
31588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31589 if (!SWIG_IsOK(ecode4
)) {
31590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31592 arg4
= static_cast< int >(val4
);
31594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31595 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31596 wxPyEndAllowThreads(__tstate
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31599 resultobj
= SWIG_From_long(static_cast< long >(result
));
31614 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
= 0;
31616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31618 wxListItem
*arg3
= 0 ;
31626 PyObject
* obj0
= 0 ;
31627 PyObject
* obj1
= 0 ;
31628 PyObject
* obj2
= 0 ;
31629 char * kwnames
[] = {
31630 (char *) "self",(char *) "col",(char *) "info", NULL
31633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31635 if (!SWIG_IsOK(res1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31638 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31639 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31640 if (!SWIG_IsOK(ecode2
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31643 arg2
= static_cast< long >(val2
);
31644 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31645 if (!SWIG_IsOK(res3
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31651 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= SWIG_From_long(static_cast< long >(result
));
31665 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
= 0;
31667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31669 wxString
*arg3
= 0 ;
31670 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31671 int arg5
= (int) -1 ;
31677 bool temp3
= false ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 PyObject
* obj2
= 0 ;
31685 PyObject
* obj3
= 0 ;
31686 PyObject
* obj4
= 0 ;
31687 char * kwnames
[] = {
31688 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_InsertColumn" "', 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_InsertColumn" "', 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_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31712 arg4
= static_cast< int >(val4
);
31715 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31716 if (!SWIG_IsOK(ecode5
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31719 arg5
= static_cast< int >(val5
);
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= SWIG_From_long(static_cast< long >(result
));
31742 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
= 0;
31744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 char * kwnames
[] = {
31753 (char *) "self",(char *) "count", NULL
31756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31758 if (!SWIG_IsOK(res1
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31763 if (!SWIG_IsOK(ecode2
)) {
31764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31766 arg2
= static_cast< long >(val2
);
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 (arg1
)->SetItemCount(arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_Py_Void();
31780 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= 0;
31782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 PyObject
* obj2
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "self",(char *) "dx",(char *) "dy", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31804 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31806 if (!SWIG_IsOK(ecode2
)) {
31807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31809 arg2
= static_cast< int >(val2
);
31810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31811 if (!SWIG_IsOK(ecode3
)) {
31812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31814 arg3
= static_cast< int >(val3
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31830 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
= 0;
31832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31834 wxColour
*arg3
= 0 ;
31840 PyObject
* obj0
= 0 ;
31841 PyObject
* obj1
= 0 ;
31842 PyObject
* obj2
= 0 ;
31843 char * kwnames
[] = {
31844 (char *) "self",(char *) "item",(char *) "col", NULL
31847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31849 if (!SWIG_IsOK(res1
)) {
31850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31852 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31853 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31854 if (!SWIG_IsOK(ecode2
)) {
31855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31857 arg2
= static_cast< long >(val2
);
31860 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= SWIG_Py_Void();
31875 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
= 0;
31877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31884 PyObject
* obj0
= 0 ;
31885 PyObject
* obj1
= 0 ;
31886 char * kwnames
[] = {
31887 (char *) "self",(char *) "item", NULL
31890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31892 if (!SWIG_IsOK(res1
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31895 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31897 if (!SWIG_IsOK(ecode2
)) {
31898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31900 arg2
= static_cast< long >(val2
);
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31914 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
= 0;
31916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31918 wxColour
*arg3
= 0 ;
31924 PyObject
* obj0
= 0 ;
31925 PyObject
* obj1
= 0 ;
31926 PyObject
* obj2
= 0 ;
31927 char * kwnames
[] = {
31928 (char *) "self",(char *) "item",(char *) "col", NULL
31931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31933 if (!SWIG_IsOK(res1
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31936 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31938 if (!SWIG_IsOK(ecode2
)) {
31939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31941 arg2
= static_cast< long >(val2
);
31944 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31948 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31949 wxPyEndAllowThreads(__tstate
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31952 resultobj
= SWIG_Py_Void();
31959 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
= 0;
31961 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31968 PyObject
* obj0
= 0 ;
31969 PyObject
* obj1
= 0 ;
31970 char * kwnames
[] = {
31971 (char *) "self",(char *) "item", NULL
31974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31976 if (!SWIG_IsOK(res1
)) {
31977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31979 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31980 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31981 if (!SWIG_IsOK(ecode2
)) {
31982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31984 arg2
= static_cast< long >(val2
);
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31998 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
= 0;
32000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32009 PyObject
* obj0
= 0 ;
32010 PyObject
* obj1
= 0 ;
32011 PyObject
* obj2
= 0 ;
32012 char * kwnames
[] = {
32013 (char *) "self",(char *) "item",(char *) "f", NULL
32016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32021 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32022 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32023 if (!SWIG_IsOK(ecode2
)) {
32024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32026 arg2
= static_cast< long >(val2
);
32027 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32028 if (!SWIG_IsOK(res3
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32034 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32037 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= SWIG_Py_Void();
32048 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
= 0;
32050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32057 PyObject
* obj0
= 0 ;
32058 PyObject
* obj1
= 0 ;
32059 char * kwnames
[] = {
32060 (char *) "self",(char *) "item", NULL
32063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32065 if (!SWIG_IsOK(res1
)) {
32066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32068 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32070 if (!SWIG_IsOK(ecode2
)) {
32071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32073 arg2
= static_cast< long >(val2
);
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32087 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
= 0;
32089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32090 PyObject
*arg2
= (PyObject
*) 0 ;
32094 PyObject
* obj0
= 0 ;
32095 PyObject
* obj1
= 0 ;
32096 char * kwnames
[] = {
32097 (char *) "self",(char *) "func", NULL
32100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32102 if (!SWIG_IsOK(res1
)) {
32103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32122 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32123 PyObject
*resultobj
= 0;
32124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32125 wxWindow
*result
= 0 ;
32128 PyObject
*swig_obj
[1] ;
32130 if (!args
) SWIG_fail
;
32131 swig_obj
[0] = args
;
32132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32133 if (!SWIG_IsOK(res1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32136 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= wxPyMake_wxObject(result
, 0);
32152 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
= 0;
32154 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32155 SwigValueWrapper
<wxVisualAttributes
> result
;
32158 PyObject
* obj0
= 0 ;
32159 char * kwnames
[] = {
32160 (char *) "variant", NULL
32163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32166 if (!SWIG_IsOK(ecode1
)) {
32167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32169 arg1
= static_cast< wxWindowVariant
>(val1
);
32172 if (!wxPyCheckForApp()) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32185 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32188 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32189 return SWIG_Py_Void();
32192 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32193 return SWIG_Python_InitShadowInstance(args
);
32196 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32197 PyObject
*resultobj
= 0;
32198 wxWindow
*arg1
= (wxWindow
*) 0 ;
32199 int arg2
= (int) -1 ;
32200 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32201 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32202 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32203 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32204 long arg5
= (long) wxLC_REPORT
;
32205 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32206 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32207 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32208 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32209 wxListView
*result
= 0 ;
32220 bool temp7
= false ;
32221 PyObject
* obj0
= 0 ;
32222 PyObject
* obj1
= 0 ;
32223 PyObject
* obj2
= 0 ;
32224 PyObject
* obj3
= 0 ;
32225 PyObject
* obj4
= 0 ;
32226 PyObject
* obj5
= 0 ;
32227 PyObject
* obj6
= 0 ;
32228 char * kwnames
[] = {
32229 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32234 if (!SWIG_IsOK(res1
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32240 if (!SWIG_IsOK(ecode2
)) {
32241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32243 arg2
= static_cast< int >(val2
);
32248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32254 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32258 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32259 if (!SWIG_IsOK(ecode5
)) {
32260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32262 arg5
= static_cast< long >(val5
);
32265 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32266 if (!SWIG_IsOK(res6
)) {
32267 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32272 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32276 arg7
= wxString_in_helper(obj6
);
32277 if (arg7
== NULL
) SWIG_fail
;
32282 if (!wxPyCheckForApp()) SWIG_fail
;
32283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32303 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32304 PyObject
*resultobj
= 0;
32305 wxListView
*result
= 0 ;
32307 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32309 if (!wxPyCheckForApp()) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 result
= (wxListView
*)new wxListView();
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32322 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
= 0;
32324 wxListView
*arg1
= (wxListView
*) 0 ;
32325 wxWindow
*arg2
= (wxWindow
*) 0 ;
32326 int arg3
= (int) -1 ;
32327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32331 long arg6
= (long) wxLC_REPORT
;
32332 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32333 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32334 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32349 bool temp8
= false ;
32350 PyObject
* obj0
= 0 ;
32351 PyObject
* obj1
= 0 ;
32352 PyObject
* obj2
= 0 ;
32353 PyObject
* obj3
= 0 ;
32354 PyObject
* obj4
= 0 ;
32355 PyObject
* obj5
= 0 ;
32356 PyObject
* obj6
= 0 ;
32357 PyObject
* obj7
= 0 ;
32358 char * kwnames
[] = {
32359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32367 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32369 if (!SWIG_IsOK(res2
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32372 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32375 if (!SWIG_IsOK(ecode3
)) {
32376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32378 arg3
= static_cast< int >(val3
);
32383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32393 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32394 if (!SWIG_IsOK(ecode6
)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32397 arg6
= static_cast< long >(val6
);
32400 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32401 if (!SWIG_IsOK(res7
)) {
32402 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32407 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32411 arg8
= wxString_in_helper(obj7
);
32412 if (arg8
== NULL
) SWIG_fail
;
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32439 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32440 PyObject
*resultobj
= 0;
32441 wxListView
*arg1
= (wxListView
*) 0 ;
32443 bool arg3
= (bool) true ;
32450 PyObject
* obj0
= 0 ;
32451 PyObject
* obj1
= 0 ;
32452 PyObject
* obj2
= 0 ;
32453 char * kwnames
[] = {
32454 (char *) "self",(char *) "n",(char *) "on", NULL
32457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32459 if (!SWIG_IsOK(res1
)) {
32460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32462 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32463 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32464 if (!SWIG_IsOK(ecode2
)) {
32465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32467 arg2
= static_cast< long >(val2
);
32469 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32470 if (!SWIG_IsOK(ecode3
)) {
32471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32473 arg3
= static_cast< bool >(val3
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 (arg1
)->Select(arg2
,arg3
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= SWIG_Py_Void();
32488 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32489 PyObject
*resultobj
= 0;
32490 wxListView
*arg1
= (wxListView
*) 0 ;
32496 PyObject
* obj0
= 0 ;
32497 PyObject
* obj1
= 0 ;
32498 char * kwnames
[] = {
32499 (char *) "self",(char *) "index", NULL
32502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32504 if (!SWIG_IsOK(res1
)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32507 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32508 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32509 if (!SWIG_IsOK(ecode2
)) {
32510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32512 arg2
= static_cast< long >(val2
);
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 (arg1
)->Focus(arg2
);
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 resultobj
= SWIG_Py_Void();
32526 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32527 PyObject
*resultobj
= 0;
32528 wxListView
*arg1
= (wxListView
*) 0 ;
32532 PyObject
*swig_obj
[1] ;
32534 if (!args
) SWIG_fail
;
32535 swig_obj
[0] = args
;
32536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32537 if (!SWIG_IsOK(res1
)) {
32538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32540 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= SWIG_From_long(static_cast< long >(result
));
32554 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
= 0;
32556 wxListView
*arg1
= (wxListView
*) 0 ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 char * kwnames
[] = {
32566 (char *) "self",(char *) "item", NULL
32569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32571 if (!SWIG_IsOK(res1
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32574 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32575 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32576 if (!SWIG_IsOK(ecode2
)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32579 arg2
= static_cast< long >(val2
);
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= SWIG_From_long(static_cast< long >(result
));
32593 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32594 PyObject
*resultobj
= 0;
32595 wxListView
*arg1
= (wxListView
*) 0 ;
32599 PyObject
*swig_obj
[1] ;
32601 if (!args
) SWIG_fail
;
32602 swig_obj
[0] = args
;
32603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32604 if (!SWIG_IsOK(res1
)) {
32605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32607 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= SWIG_From_long(static_cast< long >(result
));
32621 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32622 PyObject
*resultobj
= 0;
32623 wxListView
*arg1
= (wxListView
*) 0 ;
32630 PyObject
* obj0
= 0 ;
32631 PyObject
* obj1
= 0 ;
32632 char * kwnames
[] = {
32633 (char *) "self",(char *) "index", NULL
32636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32638 if (!SWIG_IsOK(res1
)) {
32639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32641 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32642 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32643 if (!SWIG_IsOK(ecode2
)) {
32644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32646 arg2
= static_cast< long >(val2
);
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 result
= (bool)(arg1
)->IsSelected(arg2
);
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32662 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
= 0;
32664 wxListView
*arg1
= (wxListView
*) 0 ;
32673 PyObject
* obj0
= 0 ;
32674 PyObject
* obj1
= 0 ;
32675 PyObject
* obj2
= 0 ;
32676 char * kwnames
[] = {
32677 (char *) "self",(char *) "col",(char *) "image", NULL
32680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32685 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32687 if (!SWIG_IsOK(ecode2
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32690 arg2
= static_cast< int >(val2
);
32691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32692 if (!SWIG_IsOK(ecode3
)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32695 arg3
= static_cast< int >(val3
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 (arg1
)->SetColumnImage(arg2
,arg3
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= SWIG_Py_Void();
32709 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
= 0;
32711 wxListView
*arg1
= (wxListView
*) 0 ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "self",(char *) "col", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32728 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32730 if (!SWIG_IsOK(ecode2
)) {
32731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32733 arg2
= static_cast< int >(val2
);
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 (arg1
)->ClearColumnImage(arg2
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_Py_Void();
32747 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32750 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32751 return SWIG_Py_Void();
32754 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32755 return SWIG_Python_InitShadowInstance(args
);
32758 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32759 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32764 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32765 PyObject
*pyobj
= 0;
32769 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32771 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32778 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32779 PyObject
*resultobj
= 0;
32780 wxTreeItemId
*result
= 0 ;
32782 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (wxTreeItemId
*)new wxTreeItemId();
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32796 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32797 PyObject
*resultobj
= 0;
32798 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32801 PyObject
*swig_obj
[1] ;
32803 if (!args
) SWIG_fail
;
32804 swig_obj
[0] = args
;
32805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32806 if (!SWIG_IsOK(res1
)) {
32807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32809 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= SWIG_Py_Void();
32824 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 PyObject
*resultobj
= 0;
32826 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32830 PyObject
*swig_obj
[1] ;
32832 if (!args
) SWIG_fail
;
32833 swig_obj
[0] = args
;
32834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32835 if (!SWIG_IsOK(res1
)) {
32836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32838 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32854 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
= 0;
32856 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32857 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "self",(char *) "other", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32874 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32876 if (!SWIG_IsOK(res2
)) {
32877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32895 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
= 0;
32897 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32898 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32904 PyObject
* obj0
= 0 ;
32905 PyObject
* obj1
= 0 ;
32906 char * kwnames
[] = {
32907 (char *) "self",(char *) "other", NULL
32910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32912 if (!SWIG_IsOK(res1
)) {
32913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32915 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32917 if (!SWIG_IsOK(res2
)) {
32918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32936 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32937 PyObject
*resultobj
= 0;
32938 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32939 void *arg2
= (void *) 0 ;
32943 PyObject
*swig_obj
[2] ;
32945 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32947 if (!SWIG_IsOK(res1
)) {
32948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32950 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32951 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32952 if (!SWIG_IsOK(res2
)) {
32953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32955 if (arg1
) (arg1
)->m_pItem
= arg2
;
32957 resultobj
= SWIG_Py_Void();
32964 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32965 PyObject
*resultobj
= 0;
32966 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32970 PyObject
*swig_obj
[1] ;
32972 if (!args
) SWIG_fail
;
32973 swig_obj
[0] = args
;
32974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32975 if (!SWIG_IsOK(res1
)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32978 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32979 result
= (void *) ((arg1
)->m_pItem
);
32980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32987 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32990 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32991 return SWIG_Py_Void();
32994 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32995 return SWIG_Python_InitShadowInstance(args
);
32998 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
= 0;
33000 PyObject
*arg1
= (PyObject
*) NULL
;
33001 wxPyTreeItemData
*result
= 0 ;
33002 PyObject
* obj0
= 0 ;
33003 char * kwnames
[] = {
33004 (char *) "obj", NULL
33007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33024 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33025 PyObject
*resultobj
= 0;
33026 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33029 PyObject
*swig_obj
[1] ;
33031 if (!args
) SWIG_fail
;
33032 swig_obj
[0] = args
;
33033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33037 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_Py_Void();
33052 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33053 PyObject
*resultobj
= 0;
33054 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33055 PyObject
*result
= 0 ;
33058 PyObject
*swig_obj
[1] ;
33060 if (!args
) SWIG_fail
;
33061 swig_obj
[0] = args
;
33062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33063 if (!SWIG_IsOK(res1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33066 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 result
= (PyObject
*)(arg1
)->GetData();
33070 wxPyEndAllowThreads(__tstate
);
33071 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= result
;
33080 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
= 0;
33082 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33083 PyObject
*arg2
= (PyObject
*) 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char * kwnames
[] = {
33089 (char *) "self",(char *) "obj", NULL
33092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33094 if (!SWIG_IsOK(res1
)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33097 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33101 (arg1
)->SetData(arg2
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 resultobj
= SWIG_Py_Void();
33112 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33113 PyObject
*resultobj
= 0;
33114 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33115 wxTreeItemId
*result
= 0 ;
33118 PyObject
*swig_obj
[1] ;
33120 if (!args
) SWIG_fail
;
33121 swig_obj
[0] = args
;
33122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33123 if (!SWIG_IsOK(res1
)) {
33124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33126 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33131 result
= (wxTreeItemId
*) &_result_ref
;
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33143 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33144 PyObject
*resultobj
= 0;
33145 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33146 wxTreeItemId
*arg2
= 0 ;
33151 PyObject
* obj0
= 0 ;
33152 PyObject
* obj1
= 0 ;
33153 char * kwnames
[] = {
33154 (char *) "self",(char *) "id", NULL
33157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33159 if (!SWIG_IsOK(res1
)) {
33160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33162 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33164 if (!SWIG_IsOK(res2
)) {
33165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33170 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_Py_Void();
33184 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33185 PyObject
*resultobj
= 0;
33186 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33189 PyObject
*swig_obj
[1] ;
33191 if (!args
) SWIG_fail
;
33192 swig_obj
[0] = args
;
33193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33194 if (!SWIG_IsOK(res1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33197 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33200 wxPyTreeItemData_Destroy(arg1
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 resultobj
= SWIG_Py_Void();
33211 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33215 return SWIG_Py_Void();
33218 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33219 return SWIG_Python_InitShadowInstance(args
);
33222 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33225 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33226 if (!SWIG_IsOK(res
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33232 wxTreeItemId
* temp
;
33233 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33234 wxNullTreeItemId
= *temp
;
33235 if (SWIG_IsNewObj(res
)) delete temp
;
33244 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33245 PyObject
*pyobj
= 0;
33247 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33252 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33253 PyObject
*resultobj
= 0;
33254 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33255 int arg2
= (int) 0 ;
33256 wxTreeEvent
*result
= 0 ;
33262 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33264 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33265 if (!SWIG_IsOK(ecode1
)) {
33266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33268 arg1
= static_cast< wxEventType
>(val1
);
33271 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33272 if (!SWIG_IsOK(ecode2
)) {
33273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33275 arg2
= static_cast< int >(val2
);
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33290 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33291 PyObject
*resultobj
= 0;
33293 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33294 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33295 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33296 wxTreeEvent
*result
= 0 ;
33304 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33305 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33306 if (!SWIG_IsOK(ecode1
)) {
33307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33309 arg1
= static_cast< wxEventType
>(val1
);
33310 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33311 if (!SWIG_IsOK(res2
)) {
33312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33314 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33316 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33317 if (!SWIG_IsOK(res3
)) {
33318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33323 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33338 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33342 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33344 if ((argc
>= 0) && (argc
<= 2)) {
33349 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33350 _v
= SWIG_CheckState(res
);
33353 if (!_v
) goto check_1
;
33355 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33359 if ((argc
>= 2) && (argc
<= 3)) {
33360 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33364 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33369 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33370 PyObject
*resultobj
= 0;
33371 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33372 wxTreeItemId result
;
33375 PyObject
*swig_obj
[1] ;
33377 if (!args
) SWIG_fail
;
33378 swig_obj
[0] = args
;
33379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33380 if (!SWIG_IsOK(res1
)) {
33381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33383 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33397 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33398 PyObject
*resultobj
= 0;
33399 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33400 wxTreeItemId
*arg2
= 0 ;
33405 PyObject
* obj0
= 0 ;
33406 PyObject
* obj1
= 0 ;
33407 char * kwnames
[] = {
33408 (char *) "self",(char *) "item", NULL
33411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33413 if (!SWIG_IsOK(res1
)) {
33414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33416 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33418 if (!SWIG_IsOK(res2
)) {
33419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33424 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= SWIG_Py_Void();
33438 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33439 PyObject
*resultobj
= 0;
33440 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33441 wxTreeItemId result
;
33444 PyObject
*swig_obj
[1] ;
33446 if (!args
) SWIG_fail
;
33447 swig_obj
[0] = args
;
33448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33449 if (!SWIG_IsOK(res1
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33452 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33455 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33466 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33467 PyObject
*resultobj
= 0;
33468 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33469 wxTreeItemId
*arg2
= 0 ;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 char * kwnames
[] = {
33477 (char *) "self",(char *) "item", NULL
33480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33482 if (!SWIG_IsOK(res1
)) {
33483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33485 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33487 if (!SWIG_IsOK(res2
)) {
33488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33493 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_Py_Void();
33507 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33508 PyObject
*resultobj
= 0;
33509 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33513 PyObject
*swig_obj
[1] ;
33515 if (!args
) SWIG_fail
;
33516 swig_obj
[0] = args
;
33517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33521 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33535 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
= 0;
33537 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33538 wxPoint
*arg2
= 0 ;
33542 PyObject
* obj0
= 0 ;
33543 PyObject
* obj1
= 0 ;
33544 char * kwnames
[] = {
33545 (char *) "self",(char *) "pt", NULL
33548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33550 if (!SWIG_IsOK(res1
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33553 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33561 wxPyEndAllowThreads(__tstate
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33564 resultobj
= SWIG_Py_Void();
33571 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 PyObject
*resultobj
= 0;
33573 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33574 wxKeyEvent
*result
= 0 ;
33577 PyObject
*swig_obj
[1] ;
33579 if (!args
) SWIG_fail
;
33580 swig_obj
[0] = args
;
33581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33582 if (!SWIG_IsOK(res1
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33585 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33589 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33590 result
= (wxKeyEvent
*) &_result_ref
;
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33602 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 PyObject
*resultobj
= 0;
33604 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
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_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33616 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= SWIG_From_int(static_cast< int >(result
));
33630 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
= 0;
33632 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33633 wxKeyEvent
*arg2
= 0 ;
33638 PyObject
* obj0
= 0 ;
33639 PyObject
* obj1
= 0 ;
33640 char * kwnames
[] = {
33641 (char *) "self",(char *) "evt", NULL
33644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",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_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33649 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33651 if (!SWIG_IsOK(res2
)) {
33652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33657 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_Py_Void();
33671 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33672 PyObject
*resultobj
= 0;
33673 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33674 wxString
*result
= 0 ;
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_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33685 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33690 result
= (wxString
*) &_result_ref
;
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33708 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
= 0;
33710 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33711 wxString
*arg2
= 0 ;
33714 bool temp2
= false ;
33715 PyObject
* obj0
= 0 ;
33716 PyObject
* obj1
= 0 ;
33717 char * kwnames
[] = {
33718 (char *) "self",(char *) "label", NULL
33721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33726 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33728 arg2
= wxString_in_helper(obj1
);
33729 if (arg2
== NULL
) SWIG_fail
;
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 (arg1
)->SetLabel((wxString
const &)*arg2
);
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_Py_Void();
33753 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33754 PyObject
*resultobj
= 0;
33755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33759 PyObject
*swig_obj
[1] ;
33761 if (!args
) SWIG_fail
;
33762 swig_obj
[0] = args
;
33763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33764 if (!SWIG_IsOK(res1
)) {
33765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33767 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33783 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
= 0;
33785 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33791 PyObject
* obj0
= 0 ;
33792 PyObject
* obj1
= 0 ;
33793 char * kwnames
[] = {
33794 (char *) "self",(char *) "editCancelled", NULL
33797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33802 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33803 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33804 if (!SWIG_IsOK(ecode2
)) {
33805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33807 arg2
= static_cast< bool >(val2
);
33809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33810 (arg1
)->SetEditCanceled(arg2
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= SWIG_Py_Void();
33821 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33822 PyObject
*resultobj
= 0;
33823 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33824 wxString
*arg2
= 0 ;
33827 bool temp2
= false ;
33828 PyObject
* obj0
= 0 ;
33829 PyObject
* obj1
= 0 ;
33830 char * kwnames
[] = {
33831 (char *) "self",(char *) "toolTip", NULL
33834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33836 if (!SWIG_IsOK(res1
)) {
33837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33839 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33841 arg2
= wxString_in_helper(obj1
);
33842 if (arg2
== NULL
) SWIG_fail
;
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= SWIG_Py_Void();
33866 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33867 PyObject
*resultobj
= 0;
33868 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33872 PyObject
*swig_obj
[1] ;
33874 if (!args
) SWIG_fail
;
33875 swig_obj
[0] = args
;
33876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33877 if (!SWIG_IsOK(res1
)) {
33878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33880 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 result
= (arg1
)->GetToolTip();
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33900 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33903 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33904 return SWIG_Py_Void();
33907 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33908 return SWIG_Python_InitShadowInstance(args
);
33911 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
= 0;
33913 wxWindow
*arg1
= (wxWindow
*) 0 ;
33914 int arg2
= (int) -1 ;
33915 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33916 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33917 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33918 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33919 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33920 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33921 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33922 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33924 wxPyTreeCtrl
*result
= 0 ;
33935 bool temp7
= false ;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 PyObject
* obj2
= 0 ;
33939 PyObject
* obj3
= 0 ;
33940 PyObject
* obj4
= 0 ;
33941 PyObject
* obj5
= 0 ;
33942 PyObject
* obj6
= 0 ;
33943 char * kwnames
[] = {
33944 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33955 if (!SWIG_IsOK(ecode2
)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33958 arg2
= static_cast< int >(val2
);
33963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33969 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33973 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33974 if (!SWIG_IsOK(ecode5
)) {
33975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33977 arg5
= static_cast< long >(val5
);
33980 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33981 if (!SWIG_IsOK(res6
)) {
33982 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33987 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33991 arg7
= wxString_in_helper(obj6
);
33992 if (arg7
== NULL
) SWIG_fail
;
33997 if (!wxPyCheckForApp()) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34018 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxPyTreeCtrl
*result
= 0 ;
34022 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34024 if (!wxPyCheckForApp()) SWIG_fail
;
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34026 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34037 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34038 PyObject
*resultobj
= 0;
34039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34040 wxWindow
*arg2
= (wxWindow
*) 0 ;
34041 int arg3
= (int) -1 ;
34042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34046 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34049 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34064 bool temp8
= false ;
34065 PyObject
* obj0
= 0 ;
34066 PyObject
* obj1
= 0 ;
34067 PyObject
* obj2
= 0 ;
34068 PyObject
* obj3
= 0 ;
34069 PyObject
* obj4
= 0 ;
34070 PyObject
* obj5
= 0 ;
34071 PyObject
* obj6
= 0 ;
34072 PyObject
* obj7
= 0 ;
34073 char * kwnames
[] = {
34074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34079 if (!SWIG_IsOK(res1
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34082 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34084 if (!SWIG_IsOK(res2
)) {
34085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34090 if (!SWIG_IsOK(ecode3
)) {
34091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34093 arg3
= static_cast< int >(val3
);
34098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34108 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34109 if (!SWIG_IsOK(ecode6
)) {
34110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34112 arg6
= static_cast< long >(val6
);
34115 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34116 if (!SWIG_IsOK(res7
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34122 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34126 arg8
= wxString_in_helper(obj7
);
34127 if (arg8
== NULL
) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34154 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= 0;
34156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34157 PyObject
*arg2
= (PyObject
*) 0 ;
34158 PyObject
*arg3
= (PyObject
*) 0 ;
34161 PyObject
* obj0
= 0 ;
34162 PyObject
* obj1
= 0 ;
34163 PyObject
* obj2
= 0 ;
34164 char * kwnames
[] = {
34165 (char *) "self",(char *) "self",(char *) "_class", NULL
34168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= SWIG_Py_Void();
34189 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34190 PyObject
*resultobj
= 0;
34191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34192 unsigned int result
;
34195 PyObject
*swig_obj
[1] ;
34197 if (!args
) SWIG_fail
;
34198 swig_obj
[0] = args
;
34199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34200 if (!SWIG_IsOK(res1
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34207 wxPyEndAllowThreads(__tstate
);
34208 if (PyErr_Occurred()) SWIG_fail
;
34210 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34217 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34218 PyObject
*resultobj
= 0;
34219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34220 unsigned int result
;
34223 PyObject
*swig_obj
[1] ;
34225 if (!args
) SWIG_fail
;
34226 swig_obj
[0] = args
;
34227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34228 if (!SWIG_IsOK(res1
)) {
34229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34231 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34238 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34245 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
= 0;
34247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34248 unsigned int arg2
;
34251 unsigned int val2
;
34253 PyObject
* obj0
= 0 ;
34254 PyObject
* obj1
= 0 ;
34255 char * kwnames
[] = {
34256 (char *) "self",(char *) "indent", NULL
34259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34261 if (!SWIG_IsOK(res1
)) {
34262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34264 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34265 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34266 if (!SWIG_IsOK(ecode2
)) {
34267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34269 arg2
= static_cast< unsigned int >(val2
);
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 (arg1
)->SetIndent(arg2
);
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34276 resultobj
= SWIG_Py_Void();
34283 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34284 PyObject
*resultobj
= 0;
34285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34286 unsigned int result
;
34289 PyObject
*swig_obj
[1] ;
34291 if (!args
) SWIG_fail
;
34292 swig_obj
[0] = args
;
34293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34297 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34311 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34314 unsigned int arg2
;
34317 unsigned int val2
;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "spacing", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34331 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34332 if (!SWIG_IsOK(ecode2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34335 arg2
= static_cast< unsigned int >(val2
);
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 (arg1
)->SetSpacing(arg2
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= SWIG_Py_Void();
34349 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34350 PyObject
*resultobj
= 0;
34351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34352 wxImageList
*result
= 0 ;
34355 PyObject
*swig_obj
[1] ;
34357 if (!args
) SWIG_fail
;
34358 swig_obj
[0] = args
;
34359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34360 if (!SWIG_IsOK(res1
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34363 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34379 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34380 PyObject
*resultobj
= 0;
34381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34382 wxImageList
*result
= 0 ;
34385 PyObject
*swig_obj
[1] ;
34387 if (!args
) SWIG_fail
;
34388 swig_obj
[0] = args
;
34389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34390 if (!SWIG_IsOK(res1
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34396 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34397 wxPyEndAllowThreads(__tstate
);
34398 if (PyErr_Occurred()) SWIG_fail
;
34401 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34409 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
= 0;
34411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34412 wxImageList
*arg2
= (wxImageList
*) 0 ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 char * kwnames
[] = {
34420 (char *) "self",(char *) "imageList", NULL
34423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34425 if (!SWIG_IsOK(res1
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34428 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34430 if (!SWIG_IsOK(res2
)) {
34431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34433 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 (arg1
)->SetImageList(arg2
);
34437 wxPyEndAllowThreads(__tstate
);
34438 if (PyErr_Occurred()) SWIG_fail
;
34440 resultobj
= SWIG_Py_Void();
34447 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34448 PyObject
*resultobj
= 0;
34449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34450 wxImageList
*arg2
= (wxImageList
*) 0 ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 char * kwnames
[] = {
34458 (char *) "self",(char *) "imageList", NULL
34461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34463 if (!SWIG_IsOK(res1
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34466 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34468 if (!SWIG_IsOK(res2
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34471 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 (arg1
)->SetStateImageList(arg2
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= SWIG_Py_Void();
34485 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34486 PyObject
*resultobj
= 0;
34487 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34488 wxImageList
*arg2
= (wxImageList
*) 0 ;
34492 PyObject
* obj0
= 0 ;
34493 PyObject
* obj1
= 0 ;
34494 char * kwnames
[] = {
34495 (char *) "self",(char *) "imageList", NULL
34498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34500 if (!SWIG_IsOK(res1
)) {
34501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34504 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34505 if (!SWIG_IsOK(res2
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 (arg1
)->AssignImageList(arg2
);
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= SWIG_Py_Void();
34521 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34522 PyObject
*resultobj
= 0;
34523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34524 wxImageList
*arg2
= (wxImageList
*) 0 ;
34528 PyObject
* obj0
= 0 ;
34529 PyObject
* obj1
= 0 ;
34530 char * kwnames
[] = {
34531 (char *) "self",(char *) "imageList", NULL
34534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34539 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34540 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34541 if (!SWIG_IsOK(res2
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 (arg1
)->AssignStateImageList(arg2
);
34547 wxPyEndAllowThreads(__tstate
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34550 resultobj
= SWIG_Py_Void();
34557 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34558 PyObject
*resultobj
= 0;
34559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34560 wxTreeItemId
*arg2
= 0 ;
34566 PyObject
* obj0
= 0 ;
34567 PyObject
* obj1
= 0 ;
34568 char * kwnames
[] = {
34569 (char *) "self",(char *) "item", NULL
34572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34574 if (!SWIG_IsOK(res1
)) {
34575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34579 if (!SWIG_IsOK(res2
)) {
34580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34585 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34589 wxPyEndAllowThreads(__tstate
);
34590 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34605 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
= 0;
34607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34608 wxTreeItemId
*arg2
= 0 ;
34609 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 PyObject
* obj2
= 0 ;
34620 char * kwnames
[] = {
34621 (char *) "self",(char *) "item",(char *) "which", NULL
34624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34626 if (!SWIG_IsOK(res1
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34629 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34631 if (!SWIG_IsOK(res2
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34637 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34640 if (!SWIG_IsOK(ecode3
)) {
34641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34643 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34647 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34648 wxPyEndAllowThreads(__tstate
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34651 resultobj
= SWIG_From_int(static_cast< int >(result
));
34658 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34659 PyObject
*resultobj
= 0;
34660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34661 wxTreeItemId
*arg2
= 0 ;
34662 wxPyTreeItemData
*result
= 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 char * kwnames
[] = {
34670 (char *) "self",(char *) "item", NULL
34673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34675 if (!SWIG_IsOK(res1
)) {
34676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34678 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34680 if (!SWIG_IsOK(res2
)) {
34681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34686 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34689 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34700 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
= 0;
34702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34703 wxTreeItemId
*arg2
= 0 ;
34704 PyObject
*result
= 0 ;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 char * kwnames
[] = {
34712 (char *) "self",(char *) "item", NULL
34715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34717 if (!SWIG_IsOK(res1
)) {
34718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34722 if (!SWIG_IsOK(res2
)) {
34723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34731 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34735 resultobj
= result
;
34742 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
= 0;
34744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34745 wxTreeItemId
*arg2
= 0 ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 char * kwnames
[] = {
34754 (char *) "self",(char *) "item", NULL
34757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34759 if (!SWIG_IsOK(res1
)) {
34760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34762 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34764 if (!SWIG_IsOK(res2
)) {
34765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34770 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34784 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
= 0;
34786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34787 wxTreeItemId
*arg2
= 0 ;
34793 PyObject
* obj0
= 0 ;
34794 PyObject
* obj1
= 0 ;
34795 char * kwnames
[] = {
34796 (char *) "self",(char *) "item", NULL
34799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34804 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34806 if (!SWIG_IsOK(res2
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34812 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34819 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34826 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34827 PyObject
*resultobj
= 0;
34828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34829 wxTreeItemId
*arg2
= 0 ;
34835 PyObject
* obj0
= 0 ;
34836 PyObject
* obj1
= 0 ;
34837 char * kwnames
[] = {
34838 (char *) "self",(char *) "item", NULL
34841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34843 if (!SWIG_IsOK(res1
)) {
34844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34848 if (!SWIG_IsOK(res2
)) {
34849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34854 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34868 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
= 0;
34870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34871 wxTreeItemId
*arg2
= 0 ;
34872 wxString
*arg3
= 0 ;
34877 bool temp3
= false ;
34878 PyObject
* obj0
= 0 ;
34879 PyObject
* obj1
= 0 ;
34880 PyObject
* obj2
= 0 ;
34881 char * kwnames
[] = {
34882 (char *) "self",(char *) "item",(char *) "text", NULL
34885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34887 if (!SWIG_IsOK(res1
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34890 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34892 if (!SWIG_IsOK(res2
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34898 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34900 arg3
= wxString_in_helper(obj2
);
34901 if (arg3
== NULL
) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= SWIG_Py_Void();
34925 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
= 0;
34927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34928 wxTreeItemId
*arg2
= 0 ;
34930 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34939 PyObject
* obj0
= 0 ;
34940 PyObject
* obj1
= 0 ;
34941 PyObject
* obj2
= 0 ;
34942 PyObject
* obj3
= 0 ;
34943 char * kwnames
[] = {
34944 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34949 if (!SWIG_IsOK(res1
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34952 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34954 if (!SWIG_IsOK(res2
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34960 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34962 if (!SWIG_IsOK(ecode3
)) {
34963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34965 arg3
= static_cast< int >(val3
);
34967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34968 if (!SWIG_IsOK(ecode4
)) {
34969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34971 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= SWIG_Py_Void();
34986 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34987 PyObject
*resultobj
= 0;
34988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34989 wxTreeItemId
*arg2
= 0 ;
34990 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 PyObject
* obj2
= 0 ;
34999 char * kwnames
[] = {
35000 (char *) "self",(char *) "item",(char *) "data", NULL
35003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35005 if (!SWIG_IsOK(res1
)) {
35006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35010 if (!SWIG_IsOK(res2
)) {
35011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35016 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35017 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35018 if (!SWIG_IsOK(res3
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35024 wxPyEndAllowThreads(__tstate
);
35025 if (PyErr_Occurred()) SWIG_fail
;
35027 resultobj
= SWIG_Py_Void();
35034 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35035 PyObject
*resultobj
= 0;
35036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35037 wxTreeItemId
*arg2
= 0 ;
35038 PyObject
*arg3
= (PyObject
*) 0 ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "item",(char *) "obj", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35057 if (!SWIG_IsOK(res2
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35067 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_Py_Void();
35078 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
= 0;
35080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35081 wxTreeItemId
*arg2
= 0 ;
35082 bool arg3
= (bool) true ;
35089 PyObject
* obj0
= 0 ;
35090 PyObject
* obj1
= 0 ;
35091 PyObject
* obj2
= 0 ;
35092 char * kwnames
[] = {
35093 (char *) "self",(char *) "item",(char *) "has", NULL
35096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35098 if (!SWIG_IsOK(res1
)) {
35099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35101 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35103 if (!SWIG_IsOK(res2
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35109 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35112 if (!SWIG_IsOK(ecode3
)) {
35113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35115 arg3
= static_cast< bool >(val3
);
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35123 resultobj
= SWIG_Py_Void();
35130 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
= 0;
35132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35133 wxTreeItemId
*arg2
= 0 ;
35134 bool arg3
= (bool) true ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 PyObject
* obj2
= 0 ;
35144 char * kwnames
[] = {
35145 (char *) "self",(char *) "item",(char *) "bold", NULL
35148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35150 if (!SWIG_IsOK(res1
)) {
35151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35153 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35155 if (!SWIG_IsOK(res2
)) {
35156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35161 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35163 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35164 if (!SWIG_IsOK(ecode3
)) {
35165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35167 arg3
= static_cast< bool >(val3
);
35170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35171 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35172 wxPyEndAllowThreads(__tstate
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35175 resultobj
= SWIG_Py_Void();
35182 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35183 PyObject
*resultobj
= 0;
35184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35185 wxTreeItemId
*arg2
= 0 ;
35186 bool arg3
= (bool) true ;
35193 PyObject
* obj0
= 0 ;
35194 PyObject
* obj1
= 0 ;
35195 PyObject
* obj2
= 0 ;
35196 char * kwnames
[] = {
35197 (char *) "self",(char *) "item",(char *) "highlight", NULL
35200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35202 if (!SWIG_IsOK(res1
)) {
35203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35205 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35207 if (!SWIG_IsOK(res2
)) {
35208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35213 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35215 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35216 if (!SWIG_IsOK(ecode3
)) {
35217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35219 arg3
= static_cast< bool >(val3
);
35222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35223 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 resultobj
= SWIG_Py_Void();
35234 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35235 PyObject
*resultobj
= 0;
35236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35237 wxTreeItemId
*arg2
= 0 ;
35238 wxColour
*arg3
= 0 ;
35244 PyObject
* obj0
= 0 ;
35245 PyObject
* obj1
= 0 ;
35246 PyObject
* obj2
= 0 ;
35247 char * kwnames
[] = {
35248 (char *) "self",(char *) "item",(char *) "col", NULL
35251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35253 if (!SWIG_IsOK(res1
)) {
35254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35256 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35258 if (!SWIG_IsOK(res2
)) {
35259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35264 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35267 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_Py_Void();
35282 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
= 0;
35284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35285 wxTreeItemId
*arg2
= 0 ;
35286 wxColour
*arg3
= 0 ;
35292 PyObject
* obj0
= 0 ;
35293 PyObject
* obj1
= 0 ;
35294 PyObject
* obj2
= 0 ;
35295 char * kwnames
[] = {
35296 (char *) "self",(char *) "item",(char *) "col", NULL
35299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35301 if (!SWIG_IsOK(res1
)) {
35302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35304 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35306 if (!SWIG_IsOK(res2
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35312 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35315 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35319 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35323 resultobj
= SWIG_Py_Void();
35330 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
= 0;
35332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35333 wxTreeItemId
*arg2
= 0 ;
35341 PyObject
* obj0
= 0 ;
35342 PyObject
* obj1
= 0 ;
35343 PyObject
* obj2
= 0 ;
35344 char * kwnames
[] = {
35345 (char *) "self",(char *) "item",(char *) "font", NULL
35348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35350 if (!SWIG_IsOK(res1
)) {
35351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35353 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35355 if (!SWIG_IsOK(res2
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35361 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35362 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35363 if (!SWIG_IsOK(res3
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35369 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35376 resultobj
= SWIG_Py_Void();
35383 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35384 PyObject
*resultobj
= 0;
35385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35386 wxTreeItemId
*arg2
= 0 ;
35392 PyObject
* obj0
= 0 ;
35393 PyObject
* obj1
= 0 ;
35394 char * kwnames
[] = {
35395 (char *) "self",(char *) "item", NULL
35398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35400 if (!SWIG_IsOK(res1
)) {
35401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35403 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35405 if (!SWIG_IsOK(res2
)) {
35406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35411 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35414 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35415 wxPyEndAllowThreads(__tstate
);
35416 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35427 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
= 0;
35429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35430 wxTreeItemId
*arg2
= 0 ;
35436 PyObject
* obj0
= 0 ;
35437 PyObject
* obj1
= 0 ;
35438 char * kwnames
[] = {
35439 (char *) "self",(char *) "item", NULL
35442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35444 if (!SWIG_IsOK(res1
)) {
35445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35449 if (!SWIG_IsOK(res2
)) {
35450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35455 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35458 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35471 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35472 PyObject
*resultobj
= 0;
35473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35474 wxTreeItemId
*arg2
= 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 char * kwnames
[] = {
35483 (char *) "self",(char *) "item", NULL
35486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35488 if (!SWIG_IsOK(res1
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35493 if (!SWIG_IsOK(res2
)) {
35494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35499 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35515 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
= 0;
35517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35518 wxTreeItemId
*arg2
= 0 ;
35524 PyObject
* obj0
= 0 ;
35525 PyObject
* obj1
= 0 ;
35526 char * kwnames
[] = {
35527 (char *) "self",(char *) "item", NULL
35530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35532 if (!SWIG_IsOK(res1
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35537 if (!SWIG_IsOK(res2
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35543 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35547 wxPyEndAllowThreads(__tstate
);
35548 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35559 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35560 PyObject
*resultobj
= 0;
35561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35562 wxTreeItemId
*arg2
= 0 ;
35568 PyObject
* obj0
= 0 ;
35569 PyObject
* obj1
= 0 ;
35570 char * kwnames
[] = {
35571 (char *) "self",(char *) "item", NULL
35574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35576 if (!SWIG_IsOK(res1
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35579 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35581 if (!SWIG_IsOK(res2
)) {
35582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35587 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35603 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
= 0;
35605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35606 wxTreeItemId
*arg2
= 0 ;
35607 bool arg3
= (bool) true ;
35615 PyObject
* obj0
= 0 ;
35616 PyObject
* obj1
= 0 ;
35617 PyObject
* obj2
= 0 ;
35618 char * kwnames
[] = {
35619 (char *) "self",(char *) "item",(char *) "recursively", NULL
35622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35624 if (!SWIG_IsOK(res1
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35627 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35629 if (!SWIG_IsOK(res2
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35635 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35637 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35638 if (!SWIG_IsOK(ecode3
)) {
35639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35641 arg3
= static_cast< bool >(val3
);
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35656 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35657 PyObject
*resultobj
= 0;
35658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35659 wxTreeItemId result
;
35662 PyObject
*swig_obj
[1] ;
35664 if (!args
) SWIG_fail
;
35665 swig_obj
[0] = args
;
35666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35667 if (!SWIG_IsOK(res1
)) {
35668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35670 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35684 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35685 PyObject
*resultobj
= 0;
35686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35687 wxTreeItemId result
;
35690 PyObject
*swig_obj
[1] ;
35692 if (!args
) SWIG_fail
;
35693 swig_obj
[0] = args
;
35694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35695 if (!SWIG_IsOK(res1
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35712 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35713 PyObject
*resultobj
= 0;
35714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35715 PyObject
*result
= 0 ;
35718 PyObject
*swig_obj
[1] ;
35720 if (!args
) SWIG_fail
;
35721 swig_obj
[0] = args
;
35722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35723 if (!SWIG_IsOK(res1
)) {
35724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35730 wxPyEndAllowThreads(__tstate
);
35731 if (PyErr_Occurred()) SWIG_fail
;
35733 resultobj
= result
;
35740 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35741 PyObject
*resultobj
= 0;
35742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35743 wxTreeItemId
*arg2
= 0 ;
35744 wxTreeItemId result
;
35749 PyObject
* obj0
= 0 ;
35750 PyObject
* obj1
= 0 ;
35751 char * kwnames
[] = {
35752 (char *) "self",(char *) "item", NULL
35755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35757 if (!SWIG_IsOK(res1
)) {
35758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35760 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35762 if (!SWIG_IsOK(res2
)) {
35763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35768 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35771 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35772 wxPyEndAllowThreads(__tstate
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35775 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35782 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
= 0;
35784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35785 wxTreeItemId
*arg2
= 0 ;
35786 PyObject
*result
= 0 ;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 char * kwnames
[] = {
35794 (char *) "self",(char *) "item", NULL
35797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35799 if (!SWIG_IsOK(res1
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35804 if (!SWIG_IsOK(res2
)) {
35805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35810 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35813 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35817 resultobj
= result
;
35824 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35825 PyObject
*resultobj
= 0;
35826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35827 wxTreeItemId
*arg2
= 0 ;
35828 void *arg3
= (void *) 0 ;
35829 PyObject
*result
= 0 ;
35835 PyObject
* obj0
= 0 ;
35836 PyObject
* obj1
= 0 ;
35837 PyObject
* obj2
= 0 ;
35838 char * kwnames
[] = {
35839 (char *) "self",(char *) "item",(char *) "cookie", NULL
35842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35844 if (!SWIG_IsOK(res1
)) {
35845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35847 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35849 if (!SWIG_IsOK(res2
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35855 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35856 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35857 if (!SWIG_IsOK(res3
)) {
35858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 resultobj
= result
;
35873 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
= 0;
35875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35876 wxTreeItemId
*arg2
= 0 ;
35877 wxTreeItemId result
;
35882 PyObject
* obj0
= 0 ;
35883 PyObject
* obj1
= 0 ;
35884 char * kwnames
[] = {
35885 (char *) "self",(char *) "item", NULL
35888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35890 if (!SWIG_IsOK(res1
)) {
35891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35893 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35895 if (!SWIG_IsOK(res2
)) {
35896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35901 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35915 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
= 0;
35917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35918 wxTreeItemId
*arg2
= 0 ;
35919 wxTreeItemId result
;
35924 PyObject
* obj0
= 0 ;
35925 PyObject
* obj1
= 0 ;
35926 char * kwnames
[] = {
35927 (char *) "self",(char *) "item", NULL
35930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35935 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35937 if (!SWIG_IsOK(res2
)) {
35938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35943 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35946 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35957 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
= 0;
35959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35960 wxTreeItemId
*arg2
= 0 ;
35961 wxTreeItemId result
;
35966 PyObject
* obj0
= 0 ;
35967 PyObject
* obj1
= 0 ;
35968 char * kwnames
[] = {
35969 (char *) "self",(char *) "item", NULL
35972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35974 if (!SWIG_IsOK(res1
)) {
35975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35977 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35979 if (!SWIG_IsOK(res2
)) {
35980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35985 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35988 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35989 wxPyEndAllowThreads(__tstate
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35992 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35999 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36000 PyObject
*resultobj
= 0;
36001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36002 wxTreeItemId result
;
36005 PyObject
*swig_obj
[1] ;
36007 if (!args
) SWIG_fail
;
36008 swig_obj
[0] = args
;
36009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36010 if (!SWIG_IsOK(res1
)) {
36011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36016 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36017 wxPyEndAllowThreads(__tstate
);
36018 if (PyErr_Occurred()) SWIG_fail
;
36020 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36027 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36028 PyObject
*resultobj
= 0;
36029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36030 wxTreeItemId
*arg2
= 0 ;
36031 wxTreeItemId result
;
36036 PyObject
* obj0
= 0 ;
36037 PyObject
* obj1
= 0 ;
36038 char * kwnames
[] = {
36039 (char *) "self",(char *) "item", NULL
36042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36047 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36049 if (!SWIG_IsOK(res2
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36055 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36058 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36059 wxPyEndAllowThreads(__tstate
);
36060 if (PyErr_Occurred()) SWIG_fail
;
36062 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36069 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36070 PyObject
*resultobj
= 0;
36071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36072 wxTreeItemId
*arg2
= 0 ;
36073 wxTreeItemId result
;
36078 PyObject
* obj0
= 0 ;
36079 PyObject
* obj1
= 0 ;
36080 char * kwnames
[] = {
36081 (char *) "self",(char *) "item", NULL
36084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36086 if (!SWIG_IsOK(res1
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36089 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36091 if (!SWIG_IsOK(res2
)) {
36092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36097 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36111 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36114 wxString
*arg2
= 0 ;
36115 int arg3
= (int) -1 ;
36116 int arg4
= (int) -1 ;
36117 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36118 wxTreeItemId result
;
36121 bool temp2
= false ;
36127 PyObject
* obj0
= 0 ;
36128 PyObject
* obj1
= 0 ;
36129 PyObject
* obj2
= 0 ;
36130 PyObject
* obj3
= 0 ;
36131 PyObject
* obj4
= 0 ;
36132 char * kwnames
[] = {
36133 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36138 if (!SWIG_IsOK(res1
)) {
36139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36141 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36143 arg2
= wxString_in_helper(obj1
);
36144 if (arg2
== NULL
) SWIG_fail
;
36148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36149 if (!SWIG_IsOK(ecode3
)) {
36150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36152 arg3
= static_cast< int >(val3
);
36155 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36156 if (!SWIG_IsOK(ecode4
)) {
36157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36159 arg4
= static_cast< int >(val4
);
36162 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36163 if (!SWIG_IsOK(res5
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36188 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
= 0;
36190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36191 wxTreeItemId
*arg2
= 0 ;
36192 wxString
*arg3
= 0 ;
36193 int arg4
= (int) -1 ;
36194 int arg5
= (int) -1 ;
36195 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36196 wxTreeItemId result
;
36201 bool temp3
= false ;
36207 PyObject
* obj0
= 0 ;
36208 PyObject
* obj1
= 0 ;
36209 PyObject
* obj2
= 0 ;
36210 PyObject
* obj3
= 0 ;
36211 PyObject
* obj4
= 0 ;
36212 PyObject
* obj5
= 0 ;
36213 char * kwnames
[] = {
36214 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36219 if (!SWIG_IsOK(res1
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36224 if (!SWIG_IsOK(res2
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36230 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36232 arg3
= wxString_in_helper(obj2
);
36233 if (arg3
== NULL
) SWIG_fail
;
36237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36238 if (!SWIG_IsOK(ecode4
)) {
36239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36241 arg4
= static_cast< int >(val4
);
36244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36245 if (!SWIG_IsOK(ecode5
)) {
36246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36248 arg5
= static_cast< int >(val5
);
36251 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36252 if (!SWIG_IsOK(res6
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36277 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
= 0;
36279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36280 wxTreeItemId
*arg2
= 0 ;
36281 wxTreeItemId
*arg3
= 0 ;
36282 wxString
*arg4
= 0 ;
36283 int arg5
= (int) -1 ;
36284 int arg6
= (int) -1 ;
36285 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36286 wxTreeItemId result
;
36293 bool temp4
= false ;
36299 PyObject
* obj0
= 0 ;
36300 PyObject
* obj1
= 0 ;
36301 PyObject
* obj2
= 0 ;
36302 PyObject
* obj3
= 0 ;
36303 PyObject
* obj4
= 0 ;
36304 PyObject
* obj5
= 0 ;
36305 PyObject
* obj6
= 0 ;
36306 char * kwnames
[] = {
36307 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36312 if (!SWIG_IsOK(res1
)) {
36313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36317 if (!SWIG_IsOK(res2
)) {
36318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36323 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36325 if (!SWIG_IsOK(res3
)) {
36326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36331 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36333 arg4
= wxString_in_helper(obj3
);
36334 if (arg4
== NULL
) SWIG_fail
;
36338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36339 if (!SWIG_IsOK(ecode5
)) {
36340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36342 arg5
= static_cast< int >(val5
);
36345 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36346 if (!SWIG_IsOK(ecode6
)) {
36347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36349 arg6
= static_cast< int >(val6
);
36352 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36353 if (!SWIG_IsOK(res7
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36378 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
= 0;
36380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36381 wxTreeItemId
*arg2
= 0 ;
36383 wxString
*arg4
= 0 ;
36384 int arg5
= (int) -1 ;
36385 int arg6
= (int) -1 ;
36386 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36387 wxTreeItemId result
;
36394 bool temp4
= false ;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 PyObject
* obj2
= 0 ;
36403 PyObject
* obj3
= 0 ;
36404 PyObject
* obj4
= 0 ;
36405 PyObject
* obj5
= 0 ;
36406 PyObject
* obj6
= 0 ;
36407 char * kwnames
[] = {
36408 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36413 if (!SWIG_IsOK(res1
)) {
36414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36416 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36418 if (!SWIG_IsOK(res2
)) {
36419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36424 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36425 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36426 if (!SWIG_IsOK(ecode3
)) {
36427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36429 arg3
= static_cast< size_t >(val3
);
36431 arg4
= wxString_in_helper(obj3
);
36432 if (arg4
== NULL
) SWIG_fail
;
36436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36437 if (!SWIG_IsOK(ecode5
)) {
36438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36440 arg5
= static_cast< int >(val5
);
36443 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36444 if (!SWIG_IsOK(ecode6
)) {
36445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36447 arg6
= static_cast< int >(val6
);
36450 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36451 if (!SWIG_IsOK(res7
)) {
36452 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36476 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36477 PyObject
*resultobj
= 0;
36478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36479 wxTreeItemId
*arg2
= 0 ;
36480 wxString
*arg3
= 0 ;
36481 int arg4
= (int) -1 ;
36482 int arg5
= (int) -1 ;
36483 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36484 wxTreeItemId result
;
36489 bool temp3
= false ;
36495 PyObject
* obj0
= 0 ;
36496 PyObject
* obj1
= 0 ;
36497 PyObject
* obj2
= 0 ;
36498 PyObject
* obj3
= 0 ;
36499 PyObject
* obj4
= 0 ;
36500 PyObject
* obj5
= 0 ;
36501 char * kwnames
[] = {
36502 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36507 if (!SWIG_IsOK(res1
)) {
36508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36510 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36512 if (!SWIG_IsOK(res2
)) {
36513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36518 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36520 arg3
= wxString_in_helper(obj2
);
36521 if (arg3
== NULL
) SWIG_fail
;
36525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36526 if (!SWIG_IsOK(ecode4
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36529 arg4
= static_cast< int >(val4
);
36532 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36533 if (!SWIG_IsOK(ecode5
)) {
36534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36536 arg5
= static_cast< int >(val5
);
36539 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36540 if (!SWIG_IsOK(res6
)) {
36541 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36565 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
= 0;
36567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36568 wxTreeItemId
*arg2
= 0 ;
36573 PyObject
* obj0
= 0 ;
36574 PyObject
* obj1
= 0 ;
36575 char * kwnames
[] = {
36576 (char *) "self",(char *) "item", NULL
36579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36581 if (!SWIG_IsOK(res1
)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36584 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36586 if (!SWIG_IsOK(res2
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36592 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36599 resultobj
= SWIG_Py_Void();
36606 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
= 0;
36608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36609 wxTreeItemId
*arg2
= 0 ;
36614 PyObject
* obj0
= 0 ;
36615 PyObject
* obj1
= 0 ;
36616 char * kwnames
[] = {
36617 (char *) "self",(char *) "item", NULL
36620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36622 if (!SWIG_IsOK(res1
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36627 if (!SWIG_IsOK(res2
)) {
36628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 resultobj
= SWIG_Py_Void();
36647 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36648 PyObject
*resultobj
= 0;
36649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36652 PyObject
*swig_obj
[1] ;
36654 if (!args
) SWIG_fail
;
36655 swig_obj
[0] = args
;
36656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36657 if (!SWIG_IsOK(res1
)) {
36658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36660 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->DeleteAllItems();
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36677 wxTreeItemId
*arg2
= 0 ;
36682 PyObject
* obj0
= 0 ;
36683 PyObject
* obj1
= 0 ;
36684 char * kwnames
[] = {
36685 (char *) "self",(char *) "item", NULL
36688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36690 if (!SWIG_IsOK(res1
)) {
36691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36693 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36695 if (!SWIG_IsOK(res2
)) {
36696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36701 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= SWIG_Py_Void();
36715 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
= 0;
36717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36718 wxTreeItemId
*arg2
= 0 ;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 char * kwnames
[] = {
36726 (char *) "self",(char *) "item", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36736 if (!SWIG_IsOK(res2
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36746 wxPyEndAllowThreads(__tstate
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= SWIG_Py_Void();
36756 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36757 PyObject
*resultobj
= 0;
36758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36761 PyObject
*swig_obj
[1] ;
36763 if (!args
) SWIG_fail
;
36764 swig_obj
[0] = args
;
36765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36766 if (!SWIG_IsOK(res1
)) {
36767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36769 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 (arg1
)->ExpandAll();
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36776 resultobj
= SWIG_Py_Void();
36783 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
= 0;
36785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36786 wxTreeItemId
*arg2
= 0 ;
36791 PyObject
* obj0
= 0 ;
36792 PyObject
* obj1
= 0 ;
36793 char * kwnames
[] = {
36794 (char *) "self",(char *) "item", NULL
36797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36799 if (!SWIG_IsOK(res1
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36804 if (!SWIG_IsOK(res2
)) {
36805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36810 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36814 wxPyEndAllowThreads(__tstate
);
36815 if (PyErr_Occurred()) SWIG_fail
;
36817 resultobj
= SWIG_Py_Void();
36824 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36825 PyObject
*resultobj
= 0;
36826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36827 wxTreeItemId
*arg2
= 0 ;
36832 PyObject
* obj0
= 0 ;
36833 PyObject
* obj1
= 0 ;
36834 char * kwnames
[] = {
36835 (char *) "self",(char *) "item", NULL
36838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36840 if (!SWIG_IsOK(res1
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36845 if (!SWIG_IsOK(res2
)) {
36846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36851 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 resultobj
= SWIG_Py_Void();
36865 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
= 0;
36867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36868 wxTreeItemId
*arg2
= 0 ;
36873 PyObject
* obj0
= 0 ;
36874 PyObject
* obj1
= 0 ;
36875 char * kwnames
[] = {
36876 (char *) "self",(char *) "item", NULL
36879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36881 if (!SWIG_IsOK(res1
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36886 if (!SWIG_IsOK(res2
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36892 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36895 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36896 wxPyEndAllowThreads(__tstate
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36899 resultobj
= SWIG_Py_Void();
36906 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36907 PyObject
*resultobj
= 0;
36908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36911 PyObject
*swig_obj
[1] ;
36913 if (!args
) SWIG_fail
;
36914 swig_obj
[0] = args
;
36915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36916 if (!SWIG_IsOK(res1
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->Unselect();
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 resultobj
= SWIG_Py_Void();
36933 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
= 0;
36935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36936 wxTreeItemId
*arg2
= 0 ;
36941 PyObject
* obj0
= 0 ;
36942 PyObject
* obj1
= 0 ;
36943 char * kwnames
[] = {
36944 (char *) "self",(char *) "item", NULL
36947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36952 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36954 if (!SWIG_IsOK(res2
)) {
36955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36960 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36963 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36964 wxPyEndAllowThreads(__tstate
);
36965 if (PyErr_Occurred()) SWIG_fail
;
36967 resultobj
= SWIG_Py_Void();
36974 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36975 PyObject
*resultobj
= 0;
36976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36979 PyObject
*swig_obj
[1] ;
36981 if (!args
) SWIG_fail
;
36982 swig_obj
[0] = args
;
36983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36984 if (!SWIG_IsOK(res1
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 (arg1
)->UnselectAll();
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= SWIG_Py_Void();
37001 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
= 0;
37003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37004 wxTreeItemId
*arg2
= 0 ;
37005 bool arg3
= (bool) true ;
37012 PyObject
* obj0
= 0 ;
37013 PyObject
* obj1
= 0 ;
37014 PyObject
* obj2
= 0 ;
37015 char * kwnames
[] = {
37016 (char *) "self",(char *) "item",(char *) "select", NULL
37019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37021 if (!SWIG_IsOK(res1
)) {
37022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37026 if (!SWIG_IsOK(res2
)) {
37027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37034 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37035 if (!SWIG_IsOK(ecode3
)) {
37036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37038 arg3
= static_cast< bool >(val3
);
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37046 resultobj
= SWIG_Py_Void();
37053 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37054 PyObject
*resultobj
= 0;
37055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37056 wxTreeItemId
*arg2
= 0 ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 char * kwnames
[] = {
37064 (char *) "self",(char *) "item", NULL
37067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37069 if (!SWIG_IsOK(res1
)) {
37070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37072 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37074 if (!SWIG_IsOK(res2
)) {
37075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37080 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 resultobj
= SWIG_Py_Void();
37094 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
= 0;
37096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37097 wxTreeItemId
*arg2
= 0 ;
37102 PyObject
* obj0
= 0 ;
37103 PyObject
* obj1
= 0 ;
37104 char * kwnames
[] = {
37105 (char *) "self",(char *) "item", NULL
37108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37110 if (!SWIG_IsOK(res1
)) {
37111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37113 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37115 if (!SWIG_IsOK(res2
)) {
37116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37121 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37124 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37128 resultobj
= SWIG_Py_Void();
37135 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
= 0;
37137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37138 wxTreeItemId
*arg2
= 0 ;
37143 PyObject
* obj0
= 0 ;
37144 PyObject
* obj1
= 0 ;
37145 char * kwnames
[] = {
37146 (char *) "self",(char *) "item", NULL
37149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37151 if (!SWIG_IsOK(res1
)) {
37152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37156 if (!SWIG_IsOK(res2
)) {
37157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37169 resultobj
= SWIG_Py_Void();
37176 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37177 PyObject
*resultobj
= 0;
37178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37179 wxTreeItemId
*arg2
= 0 ;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "item", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37197 if (!SWIG_IsOK(res2
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37206 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37207 wxPyEndAllowThreads(__tstate
);
37208 if (PyErr_Occurred()) SWIG_fail
;
37210 resultobj
= SWIG_Py_Void();
37217 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37218 PyObject
*resultobj
= 0;
37219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37220 wxTextCtrl
*result
= 0 ;
37223 PyObject
*swig_obj
[1] ;
37225 if (!args
) SWIG_fail
;
37226 swig_obj
[0] = args
;
37227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37228 if (!SWIG_IsOK(res1
)) {
37229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37231 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37239 resultobj
= wxPyMake_wxObject(result
, 0);
37247 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
= 0;
37249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37250 wxTreeItemId
*arg2
= 0 ;
37251 bool arg3
= (bool) false ;
37258 PyObject
* obj0
= 0 ;
37259 PyObject
* obj1
= 0 ;
37260 PyObject
* obj2
= 0 ;
37261 char * kwnames
[] = {
37262 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37267 if (!SWIG_IsOK(res1
)) {
37268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37272 if (!SWIG_IsOK(res2
)) {
37273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37278 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37280 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37281 if (!SWIG_IsOK(ecode3
)) {
37282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37284 arg3
= static_cast< bool >(val3
);
37287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37292 resultobj
= SWIG_Py_Void();
37299 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
= 0;
37301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37302 wxTreeItemId
*arg2
= 0 ;
37307 PyObject
* obj0
= 0 ;
37308 PyObject
* obj1
= 0 ;
37309 char * kwnames
[] = {
37310 (char *) "self",(char *) "item", NULL
37313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37315 if (!SWIG_IsOK(res1
)) {
37316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37318 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37320 if (!SWIG_IsOK(res2
)) {
37321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37326 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37329 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 resultobj
= SWIG_Py_Void();
37340 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
= 0;
37342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37343 wxPoint
*arg2
= 0 ;
37345 wxTreeItemId result
;
37350 int res3
= SWIG_TMPOBJ
;
37351 PyObject
* obj0
= 0 ;
37352 PyObject
* obj1
= 0 ;
37353 char * kwnames
[] = {
37354 (char *) "self",(char *) "point", NULL
37358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37360 if (!SWIG_IsOK(res1
)) {
37361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37363 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37375 if (SWIG_IsTmpObj(res3
)) {
37376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37387 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37388 PyObject
*resultobj
= 0;
37389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37390 wxTreeItemId
*arg2
= 0 ;
37391 bool arg3
= (bool) false ;
37392 PyObject
*result
= 0 ;
37399 PyObject
* obj0
= 0 ;
37400 PyObject
* obj1
= 0 ;
37401 PyObject
* obj2
= 0 ;
37402 char * kwnames
[] = {
37403 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37408 if (!SWIG_IsOK(res1
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37411 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37413 if (!SWIG_IsOK(res2
)) {
37414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37419 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37421 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37422 if (!SWIG_IsOK(ecode3
)) {
37423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37425 arg3
= static_cast< bool >(val3
);
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37430 wxPyEndAllowThreads(__tstate
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37433 resultobj
= result
;
37440 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37441 PyObject
*resultobj
= 0;
37442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37443 wxTreeItemId
*arg2
= 0 ;
37451 PyObject
* obj0
= 0 ;
37452 PyObject
* obj1
= 0 ;
37453 PyObject
* obj2
= 0 ;
37454 char * kwnames
[] = {
37455 (char *) "self",(char *) "node",(char *) "state", NULL
37458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37460 if (!SWIG_IsOK(res1
)) {
37461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37465 if (!SWIG_IsOK(res2
)) {
37466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37473 if (!SWIG_IsOK(ecode3
)) {
37474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37476 arg3
= static_cast< int >(val3
);
37478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37479 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37480 wxPyEndAllowThreads(__tstate
);
37481 if (PyErr_Occurred()) SWIG_fail
;
37483 resultobj
= SWIG_Py_Void();
37490 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37491 PyObject
*resultobj
= 0;
37492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37493 wxTreeItemId
*arg2
= 0 ;
37499 PyObject
* obj0
= 0 ;
37500 PyObject
* obj1
= 0 ;
37501 char * kwnames
[] = {
37502 (char *) "self",(char *) "node", NULL
37505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37507 if (!SWIG_IsOK(res1
)) {
37508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37510 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37512 if (!SWIG_IsOK(res2
)) {
37513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37518 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37521 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37522 wxPyEndAllowThreads(__tstate
);
37523 if (PyErr_Occurred()) SWIG_fail
;
37525 resultobj
= SWIG_From_int(static_cast< int >(result
));
37532 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37533 PyObject
*resultobj
= 0;
37534 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37535 SwigValueWrapper
<wxVisualAttributes
> result
;
37538 PyObject
* obj0
= 0 ;
37539 char * kwnames
[] = {
37540 (char *) "variant", NULL
37543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37545 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37546 if (!SWIG_IsOK(ecode1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37549 arg1
= static_cast< wxWindowVariant
>(val1
);
37552 if (!wxPyCheckForApp()) SWIG_fail
;
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37555 wxPyEndAllowThreads(__tstate
);
37556 if (PyErr_Occurred()) SWIG_fail
;
37558 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37565 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37566 PyObject
*resultobj
= 0;
37567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37573 PyObject
* obj0
= 0 ;
37574 PyObject
* obj1
= 0 ;
37575 char * kwnames
[] = {
37576 (char *) "self",(char *) "q", NULL
37579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37581 if (!SWIG_IsOK(res1
)) {
37582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37584 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37586 if (!SWIG_IsOK(ecode2
)) {
37587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37589 arg2
= static_cast< bool >(val2
);
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 (arg1
)->SetQuickBestSize(arg2
);
37593 wxPyEndAllowThreads(__tstate
);
37594 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= SWIG_Py_Void();
37603 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37604 PyObject
*resultobj
= 0;
37605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37609 PyObject
*swig_obj
[1] ;
37611 if (!args
) SWIG_fail
;
37612 swig_obj
[0] = args
;
37613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37614 if (!SWIG_IsOK(res1
)) {
37615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37621 wxPyEndAllowThreads(__tstate
);
37622 if (PyErr_Occurred()) SWIG_fail
;
37625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37633 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37637 return SWIG_Py_Void();
37640 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37641 return SWIG_Python_InitShadowInstance(args
);
37644 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37645 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37650 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37651 PyObject
*pyobj
= 0;
37655 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37657 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37664 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37665 PyObject
*resultobj
= 0;
37666 wxWindow
*arg1
= (wxWindow
*) 0 ;
37667 int arg2
= (int) (int)-1 ;
37668 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37674 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37675 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37677 int arg8
= (int) 0 ;
37678 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37680 wxGenericDirCtrl
*result
= 0 ;
37685 bool temp3
= false ;
37690 bool temp7
= false ;
37693 bool temp9
= false ;
37694 PyObject
* obj0
= 0 ;
37695 PyObject
* obj1
= 0 ;
37696 PyObject
* obj2
= 0 ;
37697 PyObject
* obj3
= 0 ;
37698 PyObject
* obj4
= 0 ;
37699 PyObject
* obj5
= 0 ;
37700 PyObject
* obj6
= 0 ;
37701 PyObject
* obj7
= 0 ;
37702 PyObject
* obj8
= 0 ;
37703 char * kwnames
[] = {
37704 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37709 if (!SWIG_IsOK(res1
)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37715 if (!SWIG_IsOK(ecode2
)) {
37716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37718 arg2
= static_cast< int >(val2
);
37722 arg3
= wxString_in_helper(obj2
);
37723 if (arg3
== NULL
) SWIG_fail
;
37730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37740 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37741 if (!SWIG_IsOK(ecode6
)) {
37742 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37744 arg6
= static_cast< long >(val6
);
37748 arg7
= wxString_in_helper(obj6
);
37749 if (arg7
== NULL
) SWIG_fail
;
37754 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37755 if (!SWIG_IsOK(ecode8
)) {
37756 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37758 arg8
= static_cast< int >(val8
);
37762 arg9
= wxString_in_helper(obj8
);
37763 if (arg9
== NULL
) SWIG_fail
;
37768 if (!wxPyCheckForApp()) SWIG_fail
;
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37771 wxPyEndAllowThreads(__tstate
);
37772 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37805 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37806 PyObject
*resultobj
= 0;
37807 wxGenericDirCtrl
*result
= 0 ;
37809 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37811 if (!wxPyCheckForApp()) SWIG_fail
;
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37814 wxPyEndAllowThreads(__tstate
);
37815 if (PyErr_Occurred()) SWIG_fail
;
37817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37824 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37825 PyObject
*resultobj
= 0;
37826 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37827 wxWindow
*arg2
= (wxWindow
*) 0 ;
37828 int arg3
= (int) (int)-1 ;
37829 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37830 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37831 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37832 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37833 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37834 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37835 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37836 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37837 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37838 int arg9
= (int) 0 ;
37839 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37840 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37848 bool temp4
= false ;
37853 bool temp8
= false ;
37856 bool temp10
= false ;
37857 PyObject
* obj0
= 0 ;
37858 PyObject
* obj1
= 0 ;
37859 PyObject
* obj2
= 0 ;
37860 PyObject
* obj3
= 0 ;
37861 PyObject
* obj4
= 0 ;
37862 PyObject
* obj5
= 0 ;
37863 PyObject
* obj6
= 0 ;
37864 PyObject
* obj7
= 0 ;
37865 PyObject
* obj8
= 0 ;
37866 PyObject
* obj9
= 0 ;
37867 char * kwnames
[] = {
37868 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37873 if (!SWIG_IsOK(res1
)) {
37874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37876 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37878 if (!SWIG_IsOK(res2
)) {
37879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37884 if (!SWIG_IsOK(ecode3
)) {
37885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37887 arg3
= static_cast< int >(val3
);
37891 arg4
= wxString_in_helper(obj3
);
37892 if (arg4
== NULL
) SWIG_fail
;
37899 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37905 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37909 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37910 if (!SWIG_IsOK(ecode7
)) {
37911 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37913 arg7
= static_cast< long >(val7
);
37917 arg8
= wxString_in_helper(obj7
);
37918 if (arg8
== NULL
) SWIG_fail
;
37923 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37924 if (!SWIG_IsOK(ecode9
)) {
37925 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37927 arg9
= static_cast< int >(val9
);
37931 arg10
= wxString_in_helper(obj9
);
37932 if (arg10
== NULL
) SWIG_fail
;
37937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37939 wxPyEndAllowThreads(__tstate
);
37940 if (PyErr_Occurred()) SWIG_fail
;
37943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37975 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37976 PyObject
*resultobj
= 0;
37977 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37978 wxString
*arg2
= 0 ;
37982 bool temp2
= false ;
37983 PyObject
* obj0
= 0 ;
37984 PyObject
* obj1
= 0 ;
37985 char * kwnames
[] = {
37986 (char *) "self",(char *) "path", NULL
37989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37991 if (!SWIG_IsOK(res1
)) {
37992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37994 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37996 arg2
= wxString_in_helper(obj1
);
37997 if (arg2
== NULL
) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38023 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38024 PyObject
*resultobj
= 0;
38025 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38026 wxString
*arg2
= 0 ;
38030 bool temp2
= false ;
38031 PyObject
* obj0
= 0 ;
38032 PyObject
* obj1
= 0 ;
38033 char * kwnames
[] = {
38034 (char *) "self",(char *) "path", NULL
38037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38039 if (!SWIG_IsOK(res1
)) {
38040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38042 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38044 arg2
= wxString_in_helper(obj1
);
38045 if (arg2
== NULL
) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38071 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38072 PyObject
*resultobj
= 0;
38073 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38077 PyObject
*swig_obj
[1] ;
38079 if (!args
) SWIG_fail
;
38080 swig_obj
[0] = args
;
38081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38082 if (!SWIG_IsOK(res1
)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38085 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38088 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38089 wxPyEndAllowThreads(__tstate
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38105 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38106 PyObject
*resultobj
= 0;
38107 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38108 wxString
*arg2
= 0 ;
38111 bool temp2
= false ;
38112 PyObject
* obj0
= 0 ;
38113 PyObject
* obj1
= 0 ;
38114 char * kwnames
[] = {
38115 (char *) "self",(char *) "path", NULL
38118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38120 if (!SWIG_IsOK(res1
)) {
38121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38123 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38125 arg2
= wxString_in_helper(obj1
);
38126 if (arg2
== NULL
) SWIG_fail
;
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 resultobj
= SWIG_Py_Void();
38150 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38151 PyObject
*resultobj
= 0;
38152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38156 PyObject
*swig_obj
[1] ;
38158 if (!args
) SWIG_fail
;
38159 swig_obj
[0] = args
;
38160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38164 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38184 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38185 PyObject
*resultobj
= 0;
38186 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38190 PyObject
*swig_obj
[1] ;
38192 if (!args
) SWIG_fail
;
38193 swig_obj
[0] = args
;
38194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38195 if (!SWIG_IsOK(res1
)) {
38196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38198 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38202 wxPyEndAllowThreads(__tstate
);
38203 if (PyErr_Occurred()) SWIG_fail
;
38207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38218 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38219 PyObject
*resultobj
= 0;
38220 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38221 wxString
*arg2
= 0 ;
38224 bool temp2
= false ;
38225 PyObject
* obj0
= 0 ;
38226 PyObject
* obj1
= 0 ;
38227 char * kwnames
[] = {
38228 (char *) "self",(char *) "path", NULL
38231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38233 if (!SWIG_IsOK(res1
)) {
38234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38236 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38238 arg2
= wxString_in_helper(obj1
);
38239 if (arg2
== NULL
) SWIG_fail
;
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 (arg1
)->SetPath((wxString
const &)*arg2
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 resultobj
= SWIG_Py_Void();
38263 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
= 0;
38265 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38271 PyObject
* obj0
= 0 ;
38272 PyObject
* obj1
= 0 ;
38273 char * kwnames
[] = {
38274 (char *) "self",(char *) "show", NULL
38277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38279 if (!SWIG_IsOK(res1
)) {
38280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38282 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38283 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38284 if (!SWIG_IsOK(ecode2
)) {
38285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38287 arg2
= static_cast< bool >(val2
);
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 (arg1
)->ShowHidden(arg2
);
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_Py_Void();
38301 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38302 PyObject
*resultobj
= 0;
38303 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38307 PyObject
*swig_obj
[1] ;
38309 if (!args
) SWIG_fail
;
38310 swig_obj
[0] = args
;
38311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38312 if (!SWIG_IsOK(res1
)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38315 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38318 result
= (bool)(arg1
)->GetShowHidden();
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38331 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38332 PyObject
*resultobj
= 0;
38333 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38337 PyObject
*swig_obj
[1] ;
38339 if (!args
) SWIG_fail
;
38340 swig_obj
[0] = args
;
38341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38342 if (!SWIG_IsOK(res1
)) {
38343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38345 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38348 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38349 wxPyEndAllowThreads(__tstate
);
38350 if (PyErr_Occurred()) SWIG_fail
;
38354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38365 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38366 PyObject
*resultobj
= 0;
38367 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38368 wxString
*arg2
= 0 ;
38371 bool temp2
= false ;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 char * kwnames
[] = {
38375 (char *) "self",(char *) "filter", NULL
38378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38380 if (!SWIG_IsOK(res1
)) {
38381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38383 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38385 arg2
= wxString_in_helper(obj1
);
38386 if (arg2
== NULL
) SWIG_fail
;
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 (arg1
)->SetFilter((wxString
const &)*arg2
);
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38395 resultobj
= SWIG_Py_Void();
38410 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38411 PyObject
*resultobj
= 0;
38412 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38416 PyObject
*swig_obj
[1] ;
38418 if (!args
) SWIG_fail
;
38419 swig_obj
[0] = args
;
38420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38421 if (!SWIG_IsOK(res1
)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38424 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38428 wxPyEndAllowThreads(__tstate
);
38429 if (PyErr_Occurred()) SWIG_fail
;
38431 resultobj
= SWIG_From_int(static_cast< int >(result
));
38438 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38439 PyObject
*resultobj
= 0;
38440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38446 PyObject
* obj0
= 0 ;
38447 PyObject
* obj1
= 0 ;
38448 char * kwnames
[] = {
38449 (char *) "self",(char *) "n", NULL
38452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38454 if (!SWIG_IsOK(res1
)) {
38455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38457 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38459 if (!SWIG_IsOK(ecode2
)) {
38460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38462 arg2
= static_cast< int >(val2
);
38464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38465 (arg1
)->SetFilterIndex(arg2
);
38466 wxPyEndAllowThreads(__tstate
);
38467 if (PyErr_Occurred()) SWIG_fail
;
38469 resultobj
= SWIG_Py_Void();
38476 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38477 PyObject
*resultobj
= 0;
38478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38479 wxTreeItemId result
;
38482 PyObject
*swig_obj
[1] ;
38484 if (!args
) SWIG_fail
;
38485 swig_obj
[0] = args
;
38486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38487 if (!SWIG_IsOK(res1
)) {
38488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38490 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 result
= (arg1
)->GetRootId();
38494 wxPyEndAllowThreads(__tstate
);
38495 if (PyErr_Occurred()) SWIG_fail
;
38497 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38504 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38505 PyObject
*resultobj
= 0;
38506 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38507 wxPyTreeCtrl
*result
= 0 ;
38510 PyObject
*swig_obj
[1] ;
38512 if (!args
) SWIG_fail
;
38513 swig_obj
[0] = args
;
38514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38515 if (!SWIG_IsOK(res1
)) {
38516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38518 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38521 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38522 wxPyEndAllowThreads(__tstate
);
38523 if (PyErr_Occurred()) SWIG_fail
;
38526 resultobj
= wxPyMake_wxObject(result
, 0);
38534 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38535 PyObject
*resultobj
= 0;
38536 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38537 wxDirFilterListCtrl
*result
= 0 ;
38540 PyObject
*swig_obj
[1] ;
38542 if (!args
) SWIG_fail
;
38543 swig_obj
[0] = args
;
38544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38545 if (!SWIG_IsOK(res1
)) {
38546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38548 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38551 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38552 wxPyEndAllowThreads(__tstate
);
38553 if (PyErr_Occurred()) SWIG_fail
;
38555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38562 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38563 PyObject
*resultobj
= 0;
38564 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38565 wxTreeItemId arg2
;
38566 wxString
*arg3
= 0 ;
38568 wxTreeItemId result
;
38573 bool temp3
= false ;
38575 int res4
= SWIG_TMPOBJ
;
38576 PyObject
* obj0
= 0 ;
38577 PyObject
* obj1
= 0 ;
38578 PyObject
* obj2
= 0 ;
38579 char * kwnames
[] = {
38580 (char *) "self",(char *) "parentId",(char *) "path", NULL
38584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38586 if (!SWIG_IsOK(res1
)) {
38587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38589 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38592 if (!SWIG_IsOK(res2
)) {
38593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38598 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38600 if (SWIG_IsNewObj(res2
)) delete temp
;
38604 arg3
= wxString_in_helper(obj2
);
38605 if (arg3
== NULL
) SWIG_fail
;
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38611 wxPyEndAllowThreads(__tstate
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38614 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38615 if (SWIG_IsTmpObj(res4
)) {
38616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38618 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38635 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38636 PyObject
*resultobj
= 0;
38637 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38640 PyObject
*swig_obj
[1] ;
38642 if (!args
) SWIG_fail
;
38643 swig_obj
[0] = args
;
38644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38645 if (!SWIG_IsOK(res1
)) {
38646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38648 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38651 (arg1
)->DoResize();
38652 wxPyEndAllowThreads(__tstate
);
38653 if (PyErr_Occurred()) SWIG_fail
;
38655 resultobj
= SWIG_Py_Void();
38662 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38663 PyObject
*resultobj
= 0;
38664 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38667 PyObject
*swig_obj
[1] ;
38669 if (!args
) SWIG_fail
;
38670 swig_obj
[0] = args
;
38671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38672 if (!SWIG_IsOK(res1
)) {
38673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38675 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38678 (arg1
)->ReCreateTree();
38679 wxPyEndAllowThreads(__tstate
);
38680 if (PyErr_Occurred()) SWIG_fail
;
38682 resultobj
= SWIG_Py_Void();
38689 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38692 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38693 return SWIG_Py_Void();
38696 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38697 return SWIG_Python_InitShadowInstance(args
);
38700 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38701 PyObject
*resultobj
= 0;
38702 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38703 int arg2
= (int) (int)-1 ;
38704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38706 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38707 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38708 long arg5
= (long) 0 ;
38709 wxDirFilterListCtrl
*result
= 0 ;
38718 PyObject
* obj0
= 0 ;
38719 PyObject
* obj1
= 0 ;
38720 PyObject
* obj2
= 0 ;
38721 PyObject
* obj3
= 0 ;
38722 PyObject
* obj4
= 0 ;
38723 char * kwnames
[] = {
38724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38729 if (!SWIG_IsOK(res1
)) {
38730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38732 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38735 if (!SWIG_IsOK(ecode2
)) {
38736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38738 arg2
= static_cast< int >(val2
);
38743 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38749 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38753 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38754 if (!SWIG_IsOK(ecode5
)) {
38755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38757 arg5
= static_cast< long >(val5
);
38760 if (!wxPyCheckForApp()) SWIG_fail
;
38761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38762 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38763 wxPyEndAllowThreads(__tstate
);
38764 if (PyErr_Occurred()) SWIG_fail
;
38766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38773 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38774 PyObject
*resultobj
= 0;
38775 wxDirFilterListCtrl
*result
= 0 ;
38777 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38779 if (!wxPyCheckForApp()) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38792 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
= 0;
38794 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38795 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38796 int arg3
= (int) (int)-1 ;
38797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38801 long arg6
= (long) 0 ;
38813 PyObject
* obj0
= 0 ;
38814 PyObject
* obj1
= 0 ;
38815 PyObject
* obj2
= 0 ;
38816 PyObject
* obj3
= 0 ;
38817 PyObject
* obj4
= 0 ;
38818 PyObject
* obj5
= 0 ;
38819 char * kwnames
[] = {
38820 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38825 if (!SWIG_IsOK(res1
)) {
38826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38828 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38830 if (!SWIG_IsOK(res2
)) {
38831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38833 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38836 if (!SWIG_IsOK(ecode3
)) {
38837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38839 arg3
= static_cast< int >(val3
);
38844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38854 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38855 if (!SWIG_IsOK(ecode6
)) {
38856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38858 arg6
= static_cast< long >(val6
);
38861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38863 wxPyEndAllowThreads(__tstate
);
38864 if (PyErr_Occurred()) SWIG_fail
;
38867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38875 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38876 PyObject
*resultobj
= 0;
38877 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38878 wxString
*arg2
= 0 ;
38882 bool temp2
= false ;
38885 PyObject
* obj0
= 0 ;
38886 PyObject
* obj1
= 0 ;
38887 PyObject
* obj2
= 0 ;
38888 char * kwnames
[] = {
38889 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38894 if (!SWIG_IsOK(res1
)) {
38895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38897 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38899 arg2
= wxString_in_helper(obj1
);
38900 if (arg2
== NULL
) SWIG_fail
;
38903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38904 if (!SWIG_IsOK(ecode3
)) {
38905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38907 arg3
= static_cast< int >(val3
);
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= SWIG_Py_Void();
38929 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38932 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38933 return SWIG_Py_Void();
38936 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38937 return SWIG_Python_InitShadowInstance(args
);
38940 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38941 PyObject
*resultobj
= 0;
38942 wxWindow
*arg1
= (wxWindow
*) 0 ;
38943 int arg2
= (int) (int)-1 ;
38944 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38945 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38946 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38947 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38948 long arg5
= (long) 0 ;
38949 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38950 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38951 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38952 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38953 wxPyControl
*result
= 0 ;
38964 bool temp7
= false ;
38965 PyObject
* obj0
= 0 ;
38966 PyObject
* obj1
= 0 ;
38967 PyObject
* obj2
= 0 ;
38968 PyObject
* obj3
= 0 ;
38969 PyObject
* obj4
= 0 ;
38970 PyObject
* obj5
= 0 ;
38971 PyObject
* obj6
= 0 ;
38972 char * kwnames
[] = {
38973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38978 if (!SWIG_IsOK(res1
)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38981 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38984 if (!SWIG_IsOK(ecode2
)) {
38985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38987 arg2
= static_cast< int >(val2
);
38992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38998 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39002 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39003 if (!SWIG_IsOK(ecode5
)) {
39004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39006 arg5
= static_cast< long >(val5
);
39009 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39010 if (!SWIG_IsOK(res6
)) {
39011 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39016 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39020 arg7
= wxString_in_helper(obj6
);
39021 if (arg7
== NULL
) SWIG_fail
;
39026 if (!wxPyCheckForApp()) SWIG_fail
;
39027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39028 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39029 wxPyEndAllowThreads(__tstate
);
39030 if (PyErr_Occurred()) SWIG_fail
;
39032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39047 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39048 PyObject
*resultobj
= 0;
39049 wxPyControl
*result
= 0 ;
39051 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39053 if (!wxPyCheckForApp()) SWIG_fail
;
39054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39055 result
= (wxPyControl
*)new wxPyControl();
39056 wxPyEndAllowThreads(__tstate
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39066 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39067 PyObject
*resultobj
= 0;
39068 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39069 PyObject
*arg2
= (PyObject
*) 0 ;
39070 PyObject
*arg3
= (PyObject
*) 0 ;
39073 PyObject
* obj0
= 0 ;
39074 PyObject
* obj1
= 0 ;
39075 PyObject
* obj2
= 0 ;
39076 char * kwnames
[] = {
39077 (char *) "self",(char *) "self",(char *) "_class", NULL
39080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39082 if (!SWIG_IsOK(res1
)) {
39083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39085 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39090 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39091 wxPyEndAllowThreads(__tstate
);
39092 if (PyErr_Occurred()) SWIG_fail
;
39094 resultobj
= SWIG_Py_Void();
39101 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39102 PyObject
*resultobj
= 0;
39103 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39104 wxDC
*arg2
= (wxDC
*) 0 ;
39110 PyObject
* obj0
= 0 ;
39111 PyObject
* obj1
= 0 ;
39112 char * kwnames
[] = {
39113 (char *) "self",(char *) "dc", NULL
39116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39118 if (!SWIG_IsOK(res1
)) {
39119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39121 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39123 if (!SWIG_IsOK(res2
)) {
39124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39126 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39130 wxPyEndAllowThreads(__tstate
);
39131 if (PyErr_Occurred()) SWIG_fail
;
39134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39142 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39143 PyObject
*resultobj
= 0;
39144 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39159 PyObject
* obj0
= 0 ;
39160 PyObject
* obj1
= 0 ;
39161 PyObject
* obj2
= 0 ;
39162 PyObject
* obj3
= 0 ;
39163 PyObject
* obj4
= 0 ;
39164 char * kwnames
[] = {
39165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39170 if (!SWIG_IsOK(res1
)) {
39171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39173 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39175 if (!SWIG_IsOK(ecode2
)) {
39176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39178 arg2
= static_cast< int >(val2
);
39179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39180 if (!SWIG_IsOK(ecode3
)) {
39181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39183 arg3
= static_cast< int >(val3
);
39184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39185 if (!SWIG_IsOK(ecode4
)) {
39186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39188 arg4
= static_cast< int >(val4
);
39189 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39190 if (!SWIG_IsOK(ecode5
)) {
39191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39193 arg5
= static_cast< int >(val5
);
39195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39196 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39197 wxPyEndAllowThreads(__tstate
);
39198 if (PyErr_Occurred()) SWIG_fail
;
39200 resultobj
= SWIG_Py_Void();
39207 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39208 PyObject
*resultobj
= 0;
39209 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39214 int arg6
= (int) wxSIZE_AUTO
;
39227 PyObject
* obj0
= 0 ;
39228 PyObject
* obj1
= 0 ;
39229 PyObject
* obj2
= 0 ;
39230 PyObject
* obj3
= 0 ;
39231 PyObject
* obj4
= 0 ;
39232 PyObject
* obj5
= 0 ;
39233 char * kwnames
[] = {
39234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39239 if (!SWIG_IsOK(res1
)) {
39240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39242 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39244 if (!SWIG_IsOK(ecode2
)) {
39245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39247 arg2
= static_cast< int >(val2
);
39248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39249 if (!SWIG_IsOK(ecode3
)) {
39250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39252 arg3
= static_cast< int >(val3
);
39253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39254 if (!SWIG_IsOK(ecode4
)) {
39255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39257 arg4
= static_cast< int >(val4
);
39258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39259 if (!SWIG_IsOK(ecode5
)) {
39260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39262 arg5
= static_cast< int >(val5
);
39264 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39265 if (!SWIG_IsOK(ecode6
)) {
39266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39268 arg6
= static_cast< int >(val6
);
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39276 resultobj
= SWIG_Py_Void();
39283 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39284 PyObject
*resultobj
= 0;
39285 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39294 PyObject
* obj0
= 0 ;
39295 PyObject
* obj1
= 0 ;
39296 PyObject
* obj2
= 0 ;
39297 char * kwnames
[] = {
39298 (char *) "self",(char *) "width",(char *) "height", NULL
39301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39303 if (!SWIG_IsOK(res1
)) {
39304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39306 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39308 if (!SWIG_IsOK(ecode2
)) {
39309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39311 arg2
= static_cast< int >(val2
);
39312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39313 if (!SWIG_IsOK(ecode3
)) {
39314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39316 arg3
= static_cast< int >(val3
);
39318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39319 (arg1
)->DoSetClientSize(arg2
,arg3
);
39320 wxPyEndAllowThreads(__tstate
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39323 resultobj
= SWIG_Py_Void();
39330 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39331 PyObject
*resultobj
= 0;
39332 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39341 PyObject
* obj0
= 0 ;
39342 PyObject
* obj1
= 0 ;
39343 PyObject
* obj2
= 0 ;
39344 char * kwnames
[] = {
39345 (char *) "self",(char *) "x",(char *) "y", NULL
39348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39350 if (!SWIG_IsOK(res1
)) {
39351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39353 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39355 if (!SWIG_IsOK(ecode2
)) {
39356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39358 arg2
= static_cast< int >(val2
);
39359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39360 if (!SWIG_IsOK(ecode3
)) {
39361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39363 arg3
= static_cast< int >(val3
);
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= SWIG_Py_Void();
39377 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39378 PyObject
*resultobj
= 0;
39379 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39380 int *arg2
= (int *) 0 ;
39381 int *arg3
= (int *) 0 ;
39385 int res2
= SWIG_TMPOBJ
;
39387 int res3
= SWIG_TMPOBJ
;
39388 PyObject
*swig_obj
[1] ;
39392 if (!args
) SWIG_fail
;
39393 swig_obj
[0] = args
;
39394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39395 if (!SWIG_IsOK(res1
)) {
39396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39398 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39401 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39402 wxPyEndAllowThreads(__tstate
);
39403 if (PyErr_Occurred()) SWIG_fail
;
39405 resultobj
= SWIG_Py_Void();
39406 if (SWIG_IsTmpObj(res2
)) {
39407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39409 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39412 if (SWIG_IsTmpObj(res3
)) {
39413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39415 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39424 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39425 PyObject
*resultobj
= 0;
39426 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39427 int *arg2
= (int *) 0 ;
39428 int *arg3
= (int *) 0 ;
39432 int res2
= SWIG_TMPOBJ
;
39434 int res3
= SWIG_TMPOBJ
;
39435 PyObject
*swig_obj
[1] ;
39439 if (!args
) SWIG_fail
;
39440 swig_obj
[0] = args
;
39441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39442 if (!SWIG_IsOK(res1
)) {
39443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39445 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39448 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39449 wxPyEndAllowThreads(__tstate
);
39450 if (PyErr_Occurred()) SWIG_fail
;
39452 resultobj
= SWIG_Py_Void();
39453 if (SWIG_IsTmpObj(res2
)) {
39454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39456 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39459 if (SWIG_IsTmpObj(res3
)) {
39460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39462 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39471 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39472 PyObject
*resultobj
= 0;
39473 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39474 int *arg2
= (int *) 0 ;
39475 int *arg3
= (int *) 0 ;
39479 int res2
= SWIG_TMPOBJ
;
39481 int res3
= SWIG_TMPOBJ
;
39482 PyObject
*swig_obj
[1] ;
39486 if (!args
) SWIG_fail
;
39487 swig_obj
[0] = args
;
39488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39489 if (!SWIG_IsOK(res1
)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39492 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39495 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39496 wxPyEndAllowThreads(__tstate
);
39497 if (PyErr_Occurred()) SWIG_fail
;
39499 resultobj
= SWIG_Py_Void();
39500 if (SWIG_IsTmpObj(res2
)) {
39501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39503 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39506 if (SWIG_IsTmpObj(res3
)) {
39507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39509 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39518 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39519 PyObject
*resultobj
= 0;
39520 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39524 PyObject
*swig_obj
[1] ;
39526 if (!args
) SWIG_fail
;
39527 swig_obj
[0] = args
;
39528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39529 if (!SWIG_IsOK(res1
)) {
39530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39532 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39535 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39536 wxPyEndAllowThreads(__tstate
);
39537 if (PyErr_Occurred()) SWIG_fail
;
39539 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39546 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39547 PyObject
*resultobj
= 0;
39548 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39552 PyObject
*swig_obj
[1] ;
39554 if (!args
) SWIG_fail
;
39555 swig_obj
[0] = args
;
39556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39557 if (!SWIG_IsOK(res1
)) {
39558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39560 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39563 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39567 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39574 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39575 PyObject
*resultobj
= 0;
39576 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39577 SwigValueWrapper
<wxVisualAttributes
> result
;
39580 PyObject
*swig_obj
[1] ;
39582 if (!args
) SWIG_fail
;
39583 swig_obj
[0] = args
;
39584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39585 if (!SWIG_IsOK(res1
)) {
39586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39588 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39591 result
= (arg1
)->GetDefaultAttributes();
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39595 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39602 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39603 PyObject
*resultobj
= 0;
39604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39607 PyObject
*swig_obj
[1] ;
39609 if (!args
) SWIG_fail
;
39610 swig_obj
[0] = args
;
39611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39612 if (!SWIG_IsOK(res1
)) {
39613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39615 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39618 (arg1
)->OnInternalIdle();
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 resultobj
= SWIG_Py_Void();
39629 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39632 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39633 return SWIG_Py_Void();
39636 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39637 return SWIG_Python_InitShadowInstance(args
);
39640 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39641 PyObject
*resultobj
= 0;
39642 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39643 int arg2
= (int) 0 ;
39644 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39645 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39646 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39647 wxHelpEvent
*result
= 0 ;
39655 PyObject
* obj0
= 0 ;
39656 PyObject
* obj1
= 0 ;
39657 PyObject
* obj2
= 0 ;
39658 PyObject
* obj3
= 0 ;
39659 char * kwnames
[] = {
39660 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39666 if (!SWIG_IsOK(ecode1
)) {
39667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39669 arg1
= static_cast< wxEventType
>(val1
);
39672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39673 if (!SWIG_IsOK(ecode2
)) {
39674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39676 arg2
= static_cast< int >(val2
);
39681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39686 if (!SWIG_IsOK(ecode4
)) {
39687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39689 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39693 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39694 wxPyEndAllowThreads(__tstate
);
39695 if (PyErr_Occurred()) SWIG_fail
;
39697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39704 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39705 PyObject
*resultobj
= 0;
39706 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39710 PyObject
*swig_obj
[1] ;
39712 if (!args
) SWIG_fail
;
39713 swig_obj
[0] = args
;
39714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39715 if (!SWIG_IsOK(res1
)) {
39716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39718 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39721 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39722 wxPyEndAllowThreads(__tstate
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39725 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39732 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39733 PyObject
*resultobj
= 0;
39734 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39735 wxPoint
*arg2
= 0 ;
39739 PyObject
* obj0
= 0 ;
39740 PyObject
* obj1
= 0 ;
39741 char * kwnames
[] = {
39742 (char *) "self",(char *) "pos", NULL
39745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39747 if (!SWIG_IsOK(res1
)) {
39748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39750 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= SWIG_Py_Void();
39768 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39769 PyObject
*resultobj
= 0;
39770 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39771 wxString
*result
= 0 ;
39774 PyObject
*swig_obj
[1] ;
39776 if (!args
) SWIG_fail
;
39777 swig_obj
[0] = args
;
39778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39779 if (!SWIG_IsOK(res1
)) {
39780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39782 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39786 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39787 result
= (wxString
*) &_result_ref
;
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39805 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39806 PyObject
*resultobj
= 0;
39807 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39808 wxString
*arg2
= 0 ;
39811 bool temp2
= false ;
39812 PyObject
* obj0
= 0 ;
39813 PyObject
* obj1
= 0 ;
39814 char * kwnames
[] = {
39815 (char *) "self",(char *) "link", NULL
39818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39820 if (!SWIG_IsOK(res1
)) {
39821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39823 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39825 arg2
= wxString_in_helper(obj1
);
39826 if (arg2
== NULL
) SWIG_fail
;
39830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39831 (arg1
)->SetLink((wxString
const &)*arg2
);
39832 wxPyEndAllowThreads(__tstate
);
39833 if (PyErr_Occurred()) SWIG_fail
;
39835 resultobj
= SWIG_Py_Void();
39850 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39851 PyObject
*resultobj
= 0;
39852 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39853 wxString
*result
= 0 ;
39856 PyObject
*swig_obj
[1] ;
39858 if (!args
) SWIG_fail
;
39859 swig_obj
[0] = args
;
39860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39861 if (!SWIG_IsOK(res1
)) {
39862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39864 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39869 result
= (wxString
*) &_result_ref
;
39871 wxPyEndAllowThreads(__tstate
);
39872 if (PyErr_Occurred()) SWIG_fail
;
39876 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39878 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39887 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39888 PyObject
*resultobj
= 0;
39889 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39890 wxString
*arg2
= 0 ;
39893 bool temp2
= false ;
39894 PyObject
* obj0
= 0 ;
39895 PyObject
* obj1
= 0 ;
39896 char * kwnames
[] = {
39897 (char *) "self",(char *) "target", NULL
39900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39902 if (!SWIG_IsOK(res1
)) {
39903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39905 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39907 arg2
= wxString_in_helper(obj1
);
39908 if (arg2
== NULL
) SWIG_fail
;
39912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39913 (arg1
)->SetTarget((wxString
const &)*arg2
);
39914 wxPyEndAllowThreads(__tstate
);
39915 if (PyErr_Occurred()) SWIG_fail
;
39917 resultobj
= SWIG_Py_Void();
39932 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39933 PyObject
*resultobj
= 0;
39934 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39935 wxHelpEvent::Origin result
;
39938 PyObject
*swig_obj
[1] ;
39940 if (!args
) SWIG_fail
;
39941 swig_obj
[0] = args
;
39942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39943 if (!SWIG_IsOK(res1
)) {
39944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39946 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39949 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39950 wxPyEndAllowThreads(__tstate
);
39951 if (PyErr_Occurred()) SWIG_fail
;
39953 resultobj
= SWIG_From_int(static_cast< int >(result
));
39960 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39961 PyObject
*resultobj
= 0;
39962 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39963 wxHelpEvent::Origin arg2
;
39968 PyObject
* obj0
= 0 ;
39969 PyObject
* obj1
= 0 ;
39970 char * kwnames
[] = {
39971 (char *) "self",(char *) "origin", NULL
39974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39976 if (!SWIG_IsOK(res1
)) {
39977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39979 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39981 if (!SWIG_IsOK(ecode2
)) {
39982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39984 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39987 (arg1
)->SetOrigin(arg2
);
39988 wxPyEndAllowThreads(__tstate
);
39989 if (PyErr_Occurred()) SWIG_fail
;
39991 resultobj
= SWIG_Py_Void();
39998 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40001 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40002 return SWIG_Py_Void();
40005 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40006 return SWIG_Python_InitShadowInstance(args
);
40009 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40010 PyObject
*resultobj
= 0;
40011 wxWindow
*arg1
= (wxWindow
*) NULL
;
40012 bool arg2
= (bool) true ;
40013 wxContextHelp
*result
= 0 ;
40018 PyObject
* obj0
= 0 ;
40019 PyObject
* obj1
= 0 ;
40020 char * kwnames
[] = {
40021 (char *) "window",(char *) "doNow", NULL
40024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40027 if (!SWIG_IsOK(res1
)) {
40028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40033 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40034 if (!SWIG_IsOK(ecode2
)) {
40035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40037 arg2
= static_cast< bool >(val2
);
40040 if (!wxPyCheckForApp()) SWIG_fail
;
40041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40042 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40053 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40054 PyObject
*resultobj
= 0;
40055 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40058 PyObject
*swig_obj
[1] ;
40060 if (!args
) SWIG_fail
;
40061 swig_obj
[0] = args
;
40062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40063 if (!SWIG_IsOK(res1
)) {
40064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40066 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40074 resultobj
= SWIG_Py_Void();
40081 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40082 PyObject
*resultobj
= 0;
40083 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40084 wxWindow
*arg2
= (wxWindow
*) NULL
;
40090 PyObject
* obj0
= 0 ;
40091 PyObject
* obj1
= 0 ;
40092 char * kwnames
[] = {
40093 (char *) "self",(char *) "window", NULL
40096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40098 if (!SWIG_IsOK(res1
)) {
40099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40101 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40104 if (!SWIG_IsOK(res2
)) {
40105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40107 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40111 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40112 wxPyEndAllowThreads(__tstate
);
40113 if (PyErr_Occurred()) SWIG_fail
;
40116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40124 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40125 PyObject
*resultobj
= 0;
40126 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40130 PyObject
*swig_obj
[1] ;
40132 if (!args
) SWIG_fail
;
40133 swig_obj
[0] = args
;
40134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40135 if (!SWIG_IsOK(res1
)) {
40136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40138 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40141 result
= (bool)(arg1
)->EndContextHelp();
40142 wxPyEndAllowThreads(__tstate
);
40143 if (PyErr_Occurred()) SWIG_fail
;
40146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40154 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40157 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40158 return SWIG_Py_Void();
40161 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40162 return SWIG_Python_InitShadowInstance(args
);
40165 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
= 0;
40167 wxWindow
*arg1
= (wxWindow
*) 0 ;
40168 int arg2
= (int) wxID_CONTEXT_HELP
;
40169 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40170 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40171 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40172 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40173 long arg5
= (long) wxBU_AUTODRAW
;
40174 wxContextHelpButton
*result
= 0 ;
40183 PyObject
* obj0
= 0 ;
40184 PyObject
* obj1
= 0 ;
40185 PyObject
* obj2
= 0 ;
40186 PyObject
* obj3
= 0 ;
40187 PyObject
* obj4
= 0 ;
40188 char * kwnames
[] = {
40189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40194 if (!SWIG_IsOK(res1
)) {
40195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40200 if (!SWIG_IsOK(ecode2
)) {
40201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40203 arg2
= static_cast< int >(val2
);
40208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40218 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40219 if (!SWIG_IsOK(ecode5
)) {
40220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40222 arg5
= static_cast< long >(val5
);
40225 if (!wxPyCheckForApp()) SWIG_fail
;
40226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40238 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40241 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40242 return SWIG_Py_Void();
40245 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40246 return SWIG_Python_InitShadowInstance(args
);
40249 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40250 PyObject
*resultobj
= 0;
40251 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40254 PyObject
*swig_obj
[1] ;
40256 if (!args
) SWIG_fail
;
40257 swig_obj
[0] = args
;
40258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40259 if (!SWIG_IsOK(res1
)) {
40260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40262 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40267 wxPyEndAllowThreads(__tstate
);
40268 if (PyErr_Occurred()) SWIG_fail
;
40270 resultobj
= SWIG_Py_Void();
40277 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40278 PyObject
*resultobj
= 0;
40279 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40280 wxHelpProvider
*result
= 0 ;
40282 PyObject
* obj0
= 0 ;
40283 char * kwnames
[] = {
40284 (char *) "helpProvider", NULL
40287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40288 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40289 if (!SWIG_IsOK(res1
)) {
40290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40294 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40295 wxPyEndAllowThreads(__tstate
);
40296 if (PyErr_Occurred()) SWIG_fail
;
40298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40305 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40306 PyObject
*resultobj
= 0;
40307 wxHelpProvider
*result
= 0 ;
40309 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40313 wxPyEndAllowThreads(__tstate
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40323 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40324 PyObject
*resultobj
= 0;
40325 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40326 wxWindow
*arg2
= (wxWindow
*) 0 ;
40332 PyObject
* obj0
= 0 ;
40333 PyObject
* obj1
= 0 ;
40334 char * kwnames
[] = {
40335 (char *) "self",(char *) "window", NULL
40338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40340 if (!SWIG_IsOK(res1
)) {
40341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40343 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40345 if (!SWIG_IsOK(res2
)) {
40346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40351 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40352 wxPyEndAllowThreads(__tstate
);
40353 if (PyErr_Occurred()) SWIG_fail
;
40357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40368 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40369 PyObject
*resultobj
= 0;
40370 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40371 wxWindow
*arg2
= (wxWindow
*) 0 ;
40377 PyObject
* obj0
= 0 ;
40378 PyObject
* obj1
= 0 ;
40379 char * kwnames
[] = {
40380 (char *) "self",(char *) "window", NULL
40383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40385 if (!SWIG_IsOK(res1
)) {
40386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40388 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40390 if (!SWIG_IsOK(res2
)) {
40391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40396 result
= (bool)(arg1
)->ShowHelp(arg2
);
40397 wxPyEndAllowThreads(__tstate
);
40398 if (PyErr_Occurred()) SWIG_fail
;
40401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40409 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
= 0;
40411 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40412 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40413 wxPoint
*arg3
= 0 ;
40414 wxHelpEvent::Origin arg4
;
40423 PyObject
* obj0
= 0 ;
40424 PyObject
* obj1
= 0 ;
40425 PyObject
* obj2
= 0 ;
40426 PyObject
* obj3
= 0 ;
40427 char * kwnames
[] = {
40428 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40433 if (!SWIG_IsOK(res1
)) {
40434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40436 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40438 if (!SWIG_IsOK(res2
)) {
40439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40441 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40444 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40446 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40447 if (!SWIG_IsOK(ecode4
)) {
40448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40450 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40466 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
= 0;
40468 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40469 wxWindow
*arg2
= (wxWindow
*) 0 ;
40470 wxString
*arg3
= 0 ;
40475 bool temp3
= false ;
40476 PyObject
* obj0
= 0 ;
40477 PyObject
* obj1
= 0 ;
40478 PyObject
* obj2
= 0 ;
40479 char * kwnames
[] = {
40480 (char *) "self",(char *) "window",(char *) "text", NULL
40483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40485 if (!SWIG_IsOK(res1
)) {
40486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40488 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40490 if (!SWIG_IsOK(res2
)) {
40491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40493 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40495 arg3
= wxString_in_helper(obj2
);
40496 if (arg3
== NULL
) SWIG_fail
;
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40502 wxPyEndAllowThreads(__tstate
);
40503 if (PyErr_Occurred()) SWIG_fail
;
40505 resultobj
= SWIG_Py_Void();
40520 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40521 PyObject
*resultobj
= 0;
40522 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40524 wxString
*arg3
= 0 ;
40529 bool temp3
= false ;
40530 PyObject
* obj0
= 0 ;
40531 PyObject
* obj1
= 0 ;
40532 PyObject
* obj2
= 0 ;
40533 char * kwnames
[] = {
40534 (char *) "self",(char *) "id",(char *) "text", NULL
40537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40539 if (!SWIG_IsOK(res1
)) {
40540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40542 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40544 if (!SWIG_IsOK(ecode2
)) {
40545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40547 arg2
= static_cast< int >(val2
);
40549 arg3
= wxString_in_helper(obj2
);
40550 if (arg3
== NULL
) SWIG_fail
;
40554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40555 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40556 wxPyEndAllowThreads(__tstate
);
40557 if (PyErr_Occurred()) SWIG_fail
;
40559 resultobj
= SWIG_Py_Void();
40574 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
= 0;
40576 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40577 wxWindow
*arg2
= (wxWindow
*) 0 ;
40582 PyObject
* obj0
= 0 ;
40583 PyObject
* obj1
= 0 ;
40584 char * kwnames
[] = {
40585 (char *) "self",(char *) "window", NULL
40588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40590 if (!SWIG_IsOK(res1
)) {
40591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40593 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40595 if (!SWIG_IsOK(res2
)) {
40596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40601 (arg1
)->RemoveHelp(arg2
);
40602 wxPyEndAllowThreads(__tstate
);
40603 if (PyErr_Occurred()) SWIG_fail
;
40605 resultobj
= SWIG_Py_Void();
40612 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40613 PyObject
*resultobj
= 0;
40614 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40617 PyObject
*swig_obj
[1] ;
40619 if (!args
) SWIG_fail
;
40620 swig_obj
[0] = args
;
40621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40622 if (!SWIG_IsOK(res1
)) {
40623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40625 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 wxHelpProvider_Destroy(arg1
);
40629 wxPyEndAllowThreads(__tstate
);
40630 if (PyErr_Occurred()) SWIG_fail
;
40632 resultobj
= SWIG_Py_Void();
40639 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40642 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40643 return SWIG_Py_Void();
40646 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40647 PyObject
*resultobj
= 0;
40648 wxSimpleHelpProvider
*result
= 0 ;
40650 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40653 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40654 wxPyEndAllowThreads(__tstate
);
40655 if (PyErr_Occurred()) SWIG_fail
;
40657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40664 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40667 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40668 return SWIG_Py_Void();
40671 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40672 return SWIG_Python_InitShadowInstance(args
);
40675 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40676 PyObject
*resultobj
= 0;
40677 wxBitmap
*arg1
= 0 ;
40678 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40679 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40680 wxGenericDragImage
*result
= 0 ;
40685 PyObject
* obj0
= 0 ;
40686 PyObject
* obj1
= 0 ;
40687 char * kwnames
[] = {
40688 (char *) "image",(char *) "cursor", NULL
40691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40692 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40693 if (!SWIG_IsOK(res1
)) {
40694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40699 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40702 if (!SWIG_IsOK(res2
)) {
40703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40708 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40711 if (!wxPyCheckForApp()) SWIG_fail
;
40712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40713 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40714 wxPyEndAllowThreads(__tstate
);
40715 if (PyErr_Occurred()) SWIG_fail
;
40717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40724 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40725 PyObject
*resultobj
= 0;
40727 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40728 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40729 wxGenericDragImage
*result
= 0 ;
40734 PyObject
* obj0
= 0 ;
40735 PyObject
* obj1
= 0 ;
40736 char * kwnames
[] = {
40737 (char *) "image",(char *) "cursor", NULL
40740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40741 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40742 if (!SWIG_IsOK(res1
)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40748 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40751 if (!SWIG_IsOK(res2
)) {
40752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40757 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40760 if (!wxPyCheckForApp()) SWIG_fail
;
40761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40762 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40763 wxPyEndAllowThreads(__tstate
);
40764 if (PyErr_Occurred()) SWIG_fail
;
40766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40773 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40774 PyObject
*resultobj
= 0;
40775 wxString
*arg1
= 0 ;
40776 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40777 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40778 wxGenericDragImage
*result
= 0 ;
40779 bool temp1
= false ;
40782 PyObject
* obj0
= 0 ;
40783 PyObject
* obj1
= 0 ;
40784 char * kwnames
[] = {
40785 (char *) "str",(char *) "cursor", NULL
40788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40790 arg1
= wxString_in_helper(obj0
);
40791 if (arg1
== NULL
) SWIG_fail
;
40795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40796 if (!SWIG_IsOK(res2
)) {
40797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40802 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40805 if (!wxPyCheckForApp()) SWIG_fail
;
40806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40807 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40808 wxPyEndAllowThreads(__tstate
);
40809 if (PyErr_Occurred()) SWIG_fail
;
40811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40826 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40827 PyObject
*resultobj
= 0;
40828 wxPyTreeCtrl
*arg1
= 0 ;
40829 wxTreeItemId
*arg2
= 0 ;
40830 wxGenericDragImage
*result
= 0 ;
40835 PyObject
* obj0
= 0 ;
40836 PyObject
* obj1
= 0 ;
40837 char * kwnames
[] = {
40838 (char *) "treeCtrl",(char *) "id", NULL
40841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40842 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40843 if (!SWIG_IsOK(res1
)) {
40844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40849 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40851 if (!SWIG_IsOK(res2
)) {
40852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40857 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40859 if (!wxPyCheckForApp()) SWIG_fail
;
40860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40861 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40862 wxPyEndAllowThreads(__tstate
);
40863 if (PyErr_Occurred()) SWIG_fail
;
40865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40872 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40873 PyObject
*resultobj
= 0;
40874 wxPyListCtrl
*arg1
= 0 ;
40876 wxGenericDragImage
*result
= 0 ;
40881 PyObject
* obj0
= 0 ;
40882 PyObject
* obj1
= 0 ;
40883 char * kwnames
[] = {
40884 (char *) "listCtrl",(char *) "id", NULL
40887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40888 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40889 if (!SWIG_IsOK(res1
)) {
40890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40895 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40897 if (!SWIG_IsOK(ecode2
)) {
40898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40900 arg2
= static_cast< long >(val2
);
40902 if (!wxPyCheckForApp()) SWIG_fail
;
40903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40904 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40905 wxPyEndAllowThreads(__tstate
);
40906 if (PyErr_Occurred()) SWIG_fail
;
40908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40915 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40916 PyObject
*resultobj
= 0;
40917 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40920 PyObject
*swig_obj
[1] ;
40922 if (!args
) SWIG_fail
;
40923 swig_obj
[0] = args
;
40924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40925 if (!SWIG_IsOK(res1
)) {
40926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40928 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40933 wxPyEndAllowThreads(__tstate
);
40934 if (PyErr_Occurred()) SWIG_fail
;
40936 resultobj
= SWIG_Py_Void();
40943 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40944 PyObject
*resultobj
= 0;
40945 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40946 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40951 PyObject
* obj0
= 0 ;
40952 PyObject
* obj1
= 0 ;
40953 char * kwnames
[] = {
40954 (char *) "self",(char *) "bitmap", NULL
40957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40959 if (!SWIG_IsOK(res1
)) {
40960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40962 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40964 if (!SWIG_IsOK(res2
)) {
40965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40967 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40970 (arg1
)->SetBackingBitmap(arg2
);
40971 wxPyEndAllowThreads(__tstate
);
40972 if (PyErr_Occurred()) SWIG_fail
;
40974 resultobj
= SWIG_Py_Void();
40981 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40982 PyObject
*resultobj
= 0;
40983 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40984 wxPoint
*arg2
= 0 ;
40985 wxWindow
*arg3
= (wxWindow
*) 0 ;
40986 bool arg4
= (bool) false ;
40987 wxRect
*arg5
= (wxRect
*) NULL
;
40998 PyObject
* obj0
= 0 ;
40999 PyObject
* obj1
= 0 ;
41000 PyObject
* obj2
= 0 ;
41001 PyObject
* obj3
= 0 ;
41002 PyObject
* obj4
= 0 ;
41003 char * kwnames
[] = {
41004 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41009 if (!SWIG_IsOK(res1
)) {
41010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41012 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41017 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41018 if (!SWIG_IsOK(res3
)) {
41019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41021 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41023 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41024 if (!SWIG_IsOK(ecode4
)) {
41025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41027 arg4
= static_cast< bool >(val4
);
41030 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41031 if (!SWIG_IsOK(res5
)) {
41032 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41034 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41038 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41039 wxPyEndAllowThreads(__tstate
);
41040 if (PyErr_Occurred()) SWIG_fail
;
41043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41051 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41052 PyObject
*resultobj
= 0;
41053 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41054 wxPoint
*arg2
= 0 ;
41055 wxWindow
*arg3
= (wxWindow
*) 0 ;
41056 wxWindow
*arg4
= (wxWindow
*) 0 ;
41065 PyObject
* obj0
= 0 ;
41066 PyObject
* obj1
= 0 ;
41067 PyObject
* obj2
= 0 ;
41068 PyObject
* obj3
= 0 ;
41069 char * kwnames
[] = {
41070 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41075 if (!SWIG_IsOK(res1
)) {
41076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41078 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41083 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41084 if (!SWIG_IsOK(res3
)) {
41085 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41087 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41088 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41089 if (!SWIG_IsOK(res4
)) {
41090 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41092 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41095 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41096 wxPyEndAllowThreads(__tstate
);
41097 if (PyErr_Occurred()) SWIG_fail
;
41100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41108 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41109 PyObject
*resultobj
= 0;
41110 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41114 PyObject
*swig_obj
[1] ;
41116 if (!args
) SWIG_fail
;
41117 swig_obj
[0] = args
;
41118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41119 if (!SWIG_IsOK(res1
)) {
41120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41122 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41125 result
= (bool)(arg1
)->EndDrag();
41126 wxPyEndAllowThreads(__tstate
);
41127 if (PyErr_Occurred()) SWIG_fail
;
41130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41138 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41139 PyObject
*resultobj
= 0;
41140 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41141 wxPoint
*arg2
= 0 ;
41146 PyObject
* obj0
= 0 ;
41147 PyObject
* obj1
= 0 ;
41148 char * kwnames
[] = {
41149 (char *) "self",(char *) "pt", NULL
41152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41154 if (!SWIG_IsOK(res1
)) {
41155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41157 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41160 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41164 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41165 wxPyEndAllowThreads(__tstate
);
41166 if (PyErr_Occurred()) SWIG_fail
;
41169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41177 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41178 PyObject
*resultobj
= 0;
41179 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41183 PyObject
*swig_obj
[1] ;
41185 if (!args
) SWIG_fail
;
41186 swig_obj
[0] = args
;
41187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41188 if (!SWIG_IsOK(res1
)) {
41189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41191 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41194 result
= (bool)(arg1
)->Show();
41195 wxPyEndAllowThreads(__tstate
);
41196 if (PyErr_Occurred()) SWIG_fail
;
41199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41207 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41208 PyObject
*resultobj
= 0;
41209 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41213 PyObject
*swig_obj
[1] ;
41215 if (!args
) SWIG_fail
;
41216 swig_obj
[0] = args
;
41217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41218 if (!SWIG_IsOK(res1
)) {
41219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41221 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41224 result
= (bool)(arg1
)->Hide();
41225 wxPyEndAllowThreads(__tstate
);
41226 if (PyErr_Occurred()) SWIG_fail
;
41229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41237 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41238 PyObject
*resultobj
= 0;
41239 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41240 wxPoint
*arg2
= 0 ;
41245 PyObject
* obj0
= 0 ;
41246 PyObject
* obj1
= 0 ;
41247 char * kwnames
[] = {
41248 (char *) "self",(char *) "pos", NULL
41251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41253 if (!SWIG_IsOK(res1
)) {
41254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41256 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41259 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41263 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41264 wxPyEndAllowThreads(__tstate
);
41265 if (PyErr_Occurred()) SWIG_fail
;
41267 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41274 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41275 PyObject
*resultobj
= 0;
41276 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41278 wxPoint
*arg3
= 0 ;
41285 PyObject
* obj0
= 0 ;
41286 PyObject
* obj1
= 0 ;
41287 PyObject
* obj2
= 0 ;
41288 char * kwnames
[] = {
41289 (char *) "self",(char *) "dc",(char *) "pos", NULL
41292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41294 if (!SWIG_IsOK(res1
)) {
41295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41297 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41299 if (!SWIG_IsOK(res2
)) {
41300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41305 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41312 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41313 wxPyEndAllowThreads(__tstate
);
41314 if (PyErr_Occurred()) SWIG_fail
;
41317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41325 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41326 PyObject
*resultobj
= 0;
41327 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41329 wxMemoryDC
*arg3
= 0 ;
41341 PyObject
* obj0
= 0 ;
41342 PyObject
* obj1
= 0 ;
41343 PyObject
* obj2
= 0 ;
41344 PyObject
* obj3
= 0 ;
41345 PyObject
* obj4
= 0 ;
41346 char * kwnames
[] = {
41347 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41352 if (!SWIG_IsOK(res1
)) {
41353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41355 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41357 if (!SWIG_IsOK(res2
)) {
41358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41363 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41364 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41365 if (!SWIG_IsOK(res3
)) {
41366 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41371 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41374 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41378 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41382 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41383 wxPyEndAllowThreads(__tstate
);
41384 if (PyErr_Occurred()) SWIG_fail
;
41387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41395 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41396 PyObject
*resultobj
= 0;
41397 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41398 wxPoint
*arg2
= 0 ;
41399 wxPoint
*arg3
= 0 ;
41411 PyObject
* obj0
= 0 ;
41412 PyObject
* obj1
= 0 ;
41413 PyObject
* obj2
= 0 ;
41414 PyObject
* obj3
= 0 ;
41415 PyObject
* obj4
= 0 ;
41416 char * kwnames
[] = {
41417 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41422 if (!SWIG_IsOK(res1
)) {
41423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41425 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41434 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41435 if (!SWIG_IsOK(ecode4
)) {
41436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41438 arg4
= static_cast< bool >(val4
);
41439 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41440 if (!SWIG_IsOK(ecode5
)) {
41441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41443 arg5
= static_cast< bool >(val5
);
41445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41446 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41447 wxPyEndAllowThreads(__tstate
);
41448 if (PyErr_Occurred()) SWIG_fail
;
41451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41459 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41462 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41463 return SWIG_Py_Void();
41466 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41467 return SWIG_Python_InitShadowInstance(args
);
41470 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41471 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41476 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41477 PyObject
*pyobj
= 0;
41481 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41483 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41490 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41491 PyObject
*resultobj
= 0;
41492 wxWindow
*arg1
= (wxWindow
*) 0 ;
41493 int arg2
= (int) -1 ;
41494 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41495 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41496 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41497 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41498 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41499 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41500 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41501 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41502 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41503 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41504 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41505 wxDatePickerCtrl
*result
= 0 ;
41518 bool temp8
= false ;
41519 PyObject
* obj0
= 0 ;
41520 PyObject
* obj1
= 0 ;
41521 PyObject
* obj2
= 0 ;
41522 PyObject
* obj3
= 0 ;
41523 PyObject
* obj4
= 0 ;
41524 PyObject
* obj5
= 0 ;
41525 PyObject
* obj6
= 0 ;
41526 PyObject
* obj7
= 0 ;
41527 char * kwnames
[] = {
41528 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41533 if (!SWIG_IsOK(res1
)) {
41534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41539 if (!SWIG_IsOK(ecode2
)) {
41540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41542 arg2
= static_cast< int >(val2
);
41545 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41546 if (!SWIG_IsOK(res3
)) {
41547 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41552 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41557 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41563 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41567 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41568 if (!SWIG_IsOK(ecode6
)) {
41569 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41571 arg6
= static_cast< long >(val6
);
41574 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41575 if (!SWIG_IsOK(res7
)) {
41576 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41581 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41585 arg8
= wxString_in_helper(obj7
);
41586 if (arg8
== NULL
) SWIG_fail
;
41591 if (!wxPyCheckForApp()) SWIG_fail
;
41592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41593 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41594 wxPyEndAllowThreads(__tstate
);
41595 if (PyErr_Occurred()) SWIG_fail
;
41597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41612 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41613 PyObject
*resultobj
= 0;
41614 wxDatePickerCtrl
*result
= 0 ;
41616 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41618 if (!wxPyCheckForApp()) SWIG_fail
;
41619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41620 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41621 wxPyEndAllowThreads(__tstate
);
41622 if (PyErr_Occurred()) SWIG_fail
;
41624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41631 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41632 PyObject
*resultobj
= 0;
41633 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41634 wxWindow
*arg2
= (wxWindow
*) 0 ;
41635 int arg3
= (int) -1 ;
41636 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41637 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41638 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41639 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41640 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41641 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41642 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41643 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41644 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41645 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41646 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41662 bool temp9
= false ;
41663 PyObject
* obj0
= 0 ;
41664 PyObject
* obj1
= 0 ;
41665 PyObject
* obj2
= 0 ;
41666 PyObject
* obj3
= 0 ;
41667 PyObject
* obj4
= 0 ;
41668 PyObject
* obj5
= 0 ;
41669 PyObject
* obj6
= 0 ;
41670 PyObject
* obj7
= 0 ;
41671 PyObject
* obj8
= 0 ;
41672 char * kwnames
[] = {
41673 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41678 if (!SWIG_IsOK(res1
)) {
41679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41681 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41683 if (!SWIG_IsOK(res2
)) {
41684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41689 if (!SWIG_IsOK(ecode3
)) {
41690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41692 arg3
= static_cast< int >(val3
);
41695 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41696 if (!SWIG_IsOK(res4
)) {
41697 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41702 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41707 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41713 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41717 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41718 if (!SWIG_IsOK(ecode7
)) {
41719 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41721 arg7
= static_cast< long >(val7
);
41724 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41725 if (!SWIG_IsOK(res8
)) {
41726 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41731 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41735 arg9
= wxString_in_helper(obj8
);
41736 if (arg9
== NULL
) SWIG_fail
;
41741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41743 wxPyEndAllowThreads(__tstate
);
41744 if (PyErr_Occurred()) SWIG_fail
;
41747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41763 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41764 PyObject
*resultobj
= 0;
41765 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41766 wxDateTime
*arg2
= 0 ;
41771 PyObject
* obj0
= 0 ;
41772 PyObject
* obj1
= 0 ;
41773 char * kwnames
[] = {
41774 (char *) "self",(char *) "dt", NULL
41777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41779 if (!SWIG_IsOK(res1
)) {
41780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41782 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41784 if (!SWIG_IsOK(res2
)) {
41785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41790 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41793 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41794 wxPyEndAllowThreads(__tstate
);
41795 if (PyErr_Occurred()) SWIG_fail
;
41797 resultobj
= SWIG_Py_Void();
41804 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41805 PyObject
*resultobj
= 0;
41806 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41810 PyObject
*swig_obj
[1] ;
41812 if (!args
) SWIG_fail
;
41813 swig_obj
[0] = args
;
41814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41815 if (!SWIG_IsOK(res1
)) {
41816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41818 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41821 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41822 wxPyEndAllowThreads(__tstate
);
41823 if (PyErr_Occurred()) SWIG_fail
;
41825 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41832 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41833 PyObject
*resultobj
= 0;
41834 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41835 wxDateTime
*arg2
= 0 ;
41836 wxDateTime
*arg3
= 0 ;
41843 PyObject
* obj0
= 0 ;
41844 PyObject
* obj1
= 0 ;
41845 PyObject
* obj2
= 0 ;
41846 char * kwnames
[] = {
41847 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41852 if (!SWIG_IsOK(res1
)) {
41853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41855 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41857 if (!SWIG_IsOK(res2
)) {
41858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41863 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41864 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41865 if (!SWIG_IsOK(res3
)) {
41866 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41871 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41874 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41875 wxPyEndAllowThreads(__tstate
);
41876 if (PyErr_Occurred()) SWIG_fail
;
41878 resultobj
= SWIG_Py_Void();
41885 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41886 PyObject
*resultobj
= 0;
41887 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41891 PyObject
*swig_obj
[1] ;
41893 if (!args
) SWIG_fail
;
41894 swig_obj
[0] = args
;
41895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41896 if (!SWIG_IsOK(res1
)) {
41897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41899 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41902 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41903 wxPyEndAllowThreads(__tstate
);
41904 if (PyErr_Occurred()) SWIG_fail
;
41906 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41913 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41914 PyObject
*resultobj
= 0;
41915 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41919 PyObject
*swig_obj
[1] ;
41921 if (!args
) SWIG_fail
;
41922 swig_obj
[0] = args
;
41923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41924 if (!SWIG_IsOK(res1
)) {
41925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41927 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41930 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41931 wxPyEndAllowThreads(__tstate
);
41932 if (PyErr_Occurred()) SWIG_fail
;
41934 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41941 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41944 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41945 return SWIG_Py_Void();
41948 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41949 return SWIG_Python_InitShadowInstance(args
);
41952 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41953 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41958 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41959 PyObject
*pyobj
= 0;
41963 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41965 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41972 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41973 PyObject
*resultobj
= 0;
41974 wxWindow
*arg1
= (wxWindow
*) 0 ;
41976 wxString
*arg3
= 0 ;
41977 wxString
*arg4
= 0 ;
41978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41982 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41983 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41984 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41985 wxHyperlinkCtrl
*result
= 0 ;
41990 bool temp3
= false ;
41991 bool temp4
= false ;
41996 bool temp8
= false ;
41997 PyObject
* obj0
= 0 ;
41998 PyObject
* obj1
= 0 ;
41999 PyObject
* obj2
= 0 ;
42000 PyObject
* obj3
= 0 ;
42001 PyObject
* obj4
= 0 ;
42002 PyObject
* obj5
= 0 ;
42003 PyObject
* obj6
= 0 ;
42004 PyObject
* obj7
= 0 ;
42005 char * kwnames
[] = {
42006 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42011 if (!SWIG_IsOK(res1
)) {
42012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42016 if (!SWIG_IsOK(ecode2
)) {
42017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42019 arg2
= static_cast< int >(val2
);
42021 arg3
= wxString_in_helper(obj2
);
42022 if (arg3
== NULL
) SWIG_fail
;
42026 arg4
= wxString_in_helper(obj3
);
42027 if (arg4
== NULL
) SWIG_fail
;
42033 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42039 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42043 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42044 if (!SWIG_IsOK(ecode7
)) {
42045 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42047 arg7
= static_cast< long >(val7
);
42051 arg8
= wxString_in_helper(obj7
);
42052 if (arg8
== NULL
) SWIG_fail
;
42057 if (!wxPyCheckForApp()) SWIG_fail
;
42058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42059 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42060 wxPyEndAllowThreads(__tstate
);
42061 if (PyErr_Occurred()) SWIG_fail
;
42063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42094 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42095 PyObject
*resultobj
= 0;
42096 wxHyperlinkCtrl
*result
= 0 ;
42098 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42100 if (!wxPyCheckForApp()) SWIG_fail
;
42101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42102 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42103 wxPyEndAllowThreads(__tstate
);
42104 if (PyErr_Occurred()) SWIG_fail
;
42106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42113 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42114 PyObject
*resultobj
= 0;
42115 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42116 wxWindow
*arg2
= (wxWindow
*) 0 ;
42118 wxString
*arg4
= 0 ;
42119 wxString
*arg5
= 0 ;
42120 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42121 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42122 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42123 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42124 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42125 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42126 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42134 bool temp4
= false ;
42135 bool temp5
= false ;
42140 bool temp9
= false ;
42141 PyObject
* obj0
= 0 ;
42142 PyObject
* obj1
= 0 ;
42143 PyObject
* obj2
= 0 ;
42144 PyObject
* obj3
= 0 ;
42145 PyObject
* obj4
= 0 ;
42146 PyObject
* obj5
= 0 ;
42147 PyObject
* obj6
= 0 ;
42148 PyObject
* obj7
= 0 ;
42149 PyObject
* obj8
= 0 ;
42150 char * kwnames
[] = {
42151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42156 if (!SWIG_IsOK(res1
)) {
42157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42159 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42161 if (!SWIG_IsOK(res2
)) {
42162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42166 if (!SWIG_IsOK(ecode3
)) {
42167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42169 arg3
= static_cast< int >(val3
);
42171 arg4
= wxString_in_helper(obj3
);
42172 if (arg4
== NULL
) SWIG_fail
;
42176 arg5
= wxString_in_helper(obj4
);
42177 if (arg5
== NULL
) SWIG_fail
;
42183 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42189 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42193 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42194 if (!SWIG_IsOK(ecode8
)) {
42195 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42197 arg8
= static_cast< long >(val8
);
42201 arg9
= wxString_in_helper(obj8
);
42202 if (arg9
== NULL
) SWIG_fail
;
42207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42208 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42209 wxPyEndAllowThreads(__tstate
);
42210 if (PyErr_Occurred()) SWIG_fail
;
42213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42245 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42246 PyObject
*resultobj
= 0;
42247 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42251 PyObject
*swig_obj
[1] ;
42253 if (!args
) SWIG_fail
;
42254 swig_obj
[0] = args
;
42255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42256 if (!SWIG_IsOK(res1
)) {
42257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42259 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42262 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42263 wxPyEndAllowThreads(__tstate
);
42264 if (PyErr_Occurred()) SWIG_fail
;
42266 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42273 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42274 PyObject
*resultobj
= 0;
42275 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42276 wxColour
*arg2
= 0 ;
42280 PyObject
* obj0
= 0 ;
42281 PyObject
* obj1
= 0 ;
42282 char * kwnames
[] = {
42283 (char *) "self",(char *) "colour", NULL
42286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42288 if (!SWIG_IsOK(res1
)) {
42289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42291 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42298 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42299 wxPyEndAllowThreads(__tstate
);
42300 if (PyErr_Occurred()) SWIG_fail
;
42302 resultobj
= SWIG_Py_Void();
42309 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42310 PyObject
*resultobj
= 0;
42311 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42315 PyObject
*swig_obj
[1] ;
42317 if (!args
) SWIG_fail
;
42318 swig_obj
[0] = args
;
42319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42320 if (!SWIG_IsOK(res1
)) {
42321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42323 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42326 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42327 wxPyEndAllowThreads(__tstate
);
42328 if (PyErr_Occurred()) SWIG_fail
;
42330 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42337 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42338 PyObject
*resultobj
= 0;
42339 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42340 wxColour
*arg2
= 0 ;
42344 PyObject
* obj0
= 0 ;
42345 PyObject
* obj1
= 0 ;
42346 char * kwnames
[] = {
42347 (char *) "self",(char *) "colour", NULL
42350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42352 if (!SWIG_IsOK(res1
)) {
42353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42355 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42358 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42362 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42363 wxPyEndAllowThreads(__tstate
);
42364 if (PyErr_Occurred()) SWIG_fail
;
42366 resultobj
= SWIG_Py_Void();
42373 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42374 PyObject
*resultobj
= 0;
42375 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42379 PyObject
*swig_obj
[1] ;
42381 if (!args
) SWIG_fail
;
42382 swig_obj
[0] = args
;
42383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42384 if (!SWIG_IsOK(res1
)) {
42385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42387 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42390 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42391 wxPyEndAllowThreads(__tstate
);
42392 if (PyErr_Occurred()) SWIG_fail
;
42394 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42401 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42402 PyObject
*resultobj
= 0;
42403 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42404 wxColour
*arg2
= 0 ;
42408 PyObject
* obj0
= 0 ;
42409 PyObject
* obj1
= 0 ;
42410 char * kwnames
[] = {
42411 (char *) "self",(char *) "colour", NULL
42414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42416 if (!SWIG_IsOK(res1
)) {
42417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42419 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42426 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42427 wxPyEndAllowThreads(__tstate
);
42428 if (PyErr_Occurred()) SWIG_fail
;
42430 resultobj
= SWIG_Py_Void();
42437 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42438 PyObject
*resultobj
= 0;
42439 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42443 PyObject
*swig_obj
[1] ;
42445 if (!args
) SWIG_fail
;
42446 swig_obj
[0] = args
;
42447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42448 if (!SWIG_IsOK(res1
)) {
42449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42451 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42454 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42455 wxPyEndAllowThreads(__tstate
);
42456 if (PyErr_Occurred()) SWIG_fail
;
42460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42471 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42472 PyObject
*resultobj
= 0;
42473 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42474 wxString
*arg2
= 0 ;
42477 bool temp2
= false ;
42478 PyObject
* obj0
= 0 ;
42479 PyObject
* obj1
= 0 ;
42480 char * kwnames
[] = {
42481 (char *) "self",(char *) "url", NULL
42484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42486 if (!SWIG_IsOK(res1
)) {
42487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42489 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42491 arg2
= wxString_in_helper(obj1
);
42492 if (arg2
== NULL
) SWIG_fail
;
42496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42497 (arg1
)->SetURL((wxString
const &)*arg2
);
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= SWIG_Py_Void();
42516 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42517 PyObject
*resultobj
= 0;
42518 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42519 bool arg2
= (bool) true ;
42524 PyObject
* obj0
= 0 ;
42525 PyObject
* obj1
= 0 ;
42526 char * kwnames
[] = {
42527 (char *) "self",(char *) "visited", NULL
42530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42532 if (!SWIG_IsOK(res1
)) {
42533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42535 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42537 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42538 if (!SWIG_IsOK(ecode2
)) {
42539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42541 arg2
= static_cast< bool >(val2
);
42544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42545 (arg1
)->SetVisited(arg2
);
42546 wxPyEndAllowThreads(__tstate
);
42547 if (PyErr_Occurred()) SWIG_fail
;
42549 resultobj
= SWIG_Py_Void();
42556 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42557 PyObject
*resultobj
= 0;
42558 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42562 PyObject
*swig_obj
[1] ;
42564 if (!args
) SWIG_fail
;
42565 swig_obj
[0] = args
;
42566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42567 if (!SWIG_IsOK(res1
)) {
42568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42570 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42573 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42574 wxPyEndAllowThreads(__tstate
);
42575 if (PyErr_Occurred()) SWIG_fail
;
42578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42586 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42589 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42590 return SWIG_Py_Void();
42593 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42594 return SWIG_Python_InitShadowInstance(args
);
42597 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42598 PyObject
*resultobj
= 0;
42599 wxObject
*arg1
= (wxObject
*) 0 ;
42601 wxString
*arg3
= 0 ;
42602 wxHyperlinkEvent
*result
= 0 ;
42607 bool temp3
= false ;
42608 PyObject
* obj0
= 0 ;
42609 PyObject
* obj1
= 0 ;
42610 PyObject
* obj2
= 0 ;
42611 char * kwnames
[] = {
42612 (char *) "generator",(char *) "id",(char *) "url", NULL
42615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42617 if (!SWIG_IsOK(res1
)) {
42618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42620 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42622 if (!SWIG_IsOK(ecode2
)) {
42623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42625 arg2
= static_cast< int >(val2
);
42627 arg3
= wxString_in_helper(obj2
);
42628 if (arg3
== NULL
) SWIG_fail
;
42632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42633 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42634 wxPyEndAllowThreads(__tstate
);
42635 if (PyErr_Occurred()) SWIG_fail
;
42637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42652 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42653 PyObject
*resultobj
= 0;
42654 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42658 PyObject
*swig_obj
[1] ;
42660 if (!args
) SWIG_fail
;
42661 swig_obj
[0] = args
;
42662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42663 if (!SWIG_IsOK(res1
)) {
42664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42666 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42669 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42670 wxPyEndAllowThreads(__tstate
);
42671 if (PyErr_Occurred()) SWIG_fail
;
42675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42686 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42687 PyObject
*resultobj
= 0;
42688 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42689 wxString
*arg2
= 0 ;
42692 bool temp2
= false ;
42693 PyObject
* obj0
= 0 ;
42694 PyObject
* obj1
= 0 ;
42695 char * kwnames
[] = {
42696 (char *) "self",(char *) "url", NULL
42699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42701 if (!SWIG_IsOK(res1
)) {
42702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42704 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42706 arg2
= wxString_in_helper(obj1
);
42707 if (arg2
== NULL
) SWIG_fail
;
42711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42712 (arg1
)->SetURL((wxString
const &)*arg2
);
42713 wxPyEndAllowThreads(__tstate
);
42714 if (PyErr_Occurred()) SWIG_fail
;
42716 resultobj
= SWIG_Py_Void();
42731 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42734 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42735 return SWIG_Py_Void();
42738 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42739 return SWIG_Python_InitShadowInstance(args
);
42742 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42743 PyObject
*resultobj
= 0;
42744 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42745 wxWindow
*arg2
= (wxWindow
*) 0 ;
42747 wxString
const &arg4_defvalue
= wxEmptyString
;
42748 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42749 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42750 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42751 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42752 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42753 long arg7
= (long) 0 ;
42754 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42755 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42756 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42757 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42765 bool temp4
= false ;
42772 bool temp9
= false ;
42773 PyObject
* obj0
= 0 ;
42774 PyObject
* obj1
= 0 ;
42775 PyObject
* obj2
= 0 ;
42776 PyObject
* obj3
= 0 ;
42777 PyObject
* obj4
= 0 ;
42778 PyObject
* obj5
= 0 ;
42779 PyObject
* obj6
= 0 ;
42780 PyObject
* obj7
= 0 ;
42781 PyObject
* obj8
= 0 ;
42782 char * kwnames
[] = {
42783 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42788 if (!SWIG_IsOK(res1
)) {
42789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42791 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42793 if (!SWIG_IsOK(res2
)) {
42794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42796 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42798 if (!SWIG_IsOK(ecode3
)) {
42799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42801 arg3
= static_cast< int >(val3
);
42804 arg4
= wxString_in_helper(obj3
);
42805 if (arg4
== NULL
) SWIG_fail
;
42812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42822 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42823 if (!SWIG_IsOK(ecode7
)) {
42824 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42826 arg7
= static_cast< long >(val7
);
42829 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42830 if (!SWIG_IsOK(res8
)) {
42831 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42836 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42840 arg9
= wxString_in_helper(obj8
);
42841 if (arg9
== NULL
) SWIG_fail
;
42846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42847 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42848 wxPyEndAllowThreads(__tstate
);
42849 if (PyErr_Occurred()) SWIG_fail
;
42852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42876 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42877 PyObject
*resultobj
= 0;
42878 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42884 PyObject
* obj0
= 0 ;
42885 PyObject
* obj1
= 0 ;
42886 char * kwnames
[] = {
42887 (char *) "self",(char *) "newmargin", NULL
42890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42892 if (!SWIG_IsOK(res1
)) {
42893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42895 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42897 if (!SWIG_IsOK(ecode2
)) {
42898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42900 arg2
= static_cast< int >(val2
);
42902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42903 (arg1
)->SetInternalMargin(arg2
);
42904 wxPyEndAllowThreads(__tstate
);
42905 if (PyErr_Occurred()) SWIG_fail
;
42907 resultobj
= SWIG_Py_Void();
42914 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42915 PyObject
*resultobj
= 0;
42916 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42920 PyObject
*swig_obj
[1] ;
42922 if (!args
) SWIG_fail
;
42923 swig_obj
[0] = args
;
42924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42925 if (!SWIG_IsOK(res1
)) {
42926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42928 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42931 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42932 wxPyEndAllowThreads(__tstate
);
42933 if (PyErr_Occurred()) SWIG_fail
;
42935 resultobj
= SWIG_From_int(static_cast< int >(result
));
42942 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42943 PyObject
*resultobj
= 0;
42944 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42950 PyObject
* obj0
= 0 ;
42951 PyObject
* obj1
= 0 ;
42952 char * kwnames
[] = {
42953 (char *) "self",(char *) "prop", NULL
42956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42958 if (!SWIG_IsOK(res1
)) {
42959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42961 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42963 if (!SWIG_IsOK(ecode2
)) {
42964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42966 arg2
= static_cast< int >(val2
);
42968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42969 (arg1
)->SetTextCtrlProportion(arg2
);
42970 wxPyEndAllowThreads(__tstate
);
42971 if (PyErr_Occurred()) SWIG_fail
;
42973 resultobj
= SWIG_Py_Void();
42980 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42981 PyObject
*resultobj
= 0;
42982 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42986 PyObject
*swig_obj
[1] ;
42988 if (!args
) SWIG_fail
;
42989 swig_obj
[0] = args
;
42990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42991 if (!SWIG_IsOK(res1
)) {
42992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42994 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42997 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42998 wxPyEndAllowThreads(__tstate
);
42999 if (PyErr_Occurred()) SWIG_fail
;
43001 resultobj
= SWIG_From_int(static_cast< int >(result
));
43008 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43009 PyObject
*resultobj
= 0;
43010 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43016 PyObject
* obj0
= 0 ;
43017 PyObject
* obj1
= 0 ;
43018 char * kwnames
[] = {
43019 (char *) "self",(char *) "prop", NULL
43022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43024 if (!SWIG_IsOK(res1
)) {
43025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43027 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43029 if (!SWIG_IsOK(ecode2
)) {
43030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43032 arg2
= static_cast< int >(val2
);
43034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43035 (arg1
)->SetPickerCtrlProportion(arg2
);
43036 wxPyEndAllowThreads(__tstate
);
43037 if (PyErr_Occurred()) SWIG_fail
;
43039 resultobj
= SWIG_Py_Void();
43046 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43047 PyObject
*resultobj
= 0;
43048 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43052 PyObject
*swig_obj
[1] ;
43054 if (!args
) SWIG_fail
;
43055 swig_obj
[0] = args
;
43056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43057 if (!SWIG_IsOK(res1
)) {
43058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43060 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43063 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43064 wxPyEndAllowThreads(__tstate
);
43065 if (PyErr_Occurred()) SWIG_fail
;
43067 resultobj
= SWIG_From_int(static_cast< int >(result
));
43074 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43075 PyObject
*resultobj
= 0;
43076 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43080 PyObject
*swig_obj
[1] ;
43082 if (!args
) SWIG_fail
;
43083 swig_obj
[0] = args
;
43084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43085 if (!SWIG_IsOK(res1
)) {
43086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43088 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43091 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43092 wxPyEndAllowThreads(__tstate
);
43093 if (PyErr_Occurred()) SWIG_fail
;
43096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43104 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43105 PyObject
*resultobj
= 0;
43106 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43107 bool arg2
= (bool) true ;
43112 PyObject
* obj0
= 0 ;
43113 PyObject
* obj1
= 0 ;
43114 char * kwnames
[] = {
43115 (char *) "self",(char *) "grow", NULL
43118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43120 if (!SWIG_IsOK(res1
)) {
43121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43123 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43125 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43126 if (!SWIG_IsOK(ecode2
)) {
43127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43129 arg2
= static_cast< bool >(val2
);
43132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43133 (arg1
)->SetTextCtrlGrowable(arg2
);
43134 wxPyEndAllowThreads(__tstate
);
43135 if (PyErr_Occurred()) SWIG_fail
;
43137 resultobj
= SWIG_Py_Void();
43144 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43145 PyObject
*resultobj
= 0;
43146 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43150 PyObject
*swig_obj
[1] ;
43152 if (!args
) SWIG_fail
;
43153 swig_obj
[0] = args
;
43154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43155 if (!SWIG_IsOK(res1
)) {
43156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43158 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43161 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43162 wxPyEndAllowThreads(__tstate
);
43163 if (PyErr_Occurred()) SWIG_fail
;
43166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43174 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43175 PyObject
*resultobj
= 0;
43176 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43177 bool arg2
= (bool) true ;
43182 PyObject
* obj0
= 0 ;
43183 PyObject
* obj1
= 0 ;
43184 char * kwnames
[] = {
43185 (char *) "self",(char *) "grow", NULL
43188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43190 if (!SWIG_IsOK(res1
)) {
43191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43193 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43195 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43196 if (!SWIG_IsOK(ecode2
)) {
43197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43199 arg2
= static_cast< bool >(val2
);
43202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43203 (arg1
)->SetPickerCtrlGrowable(arg2
);
43204 wxPyEndAllowThreads(__tstate
);
43205 if (PyErr_Occurred()) SWIG_fail
;
43207 resultobj
= SWIG_Py_Void();
43214 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43215 PyObject
*resultobj
= 0;
43216 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43220 PyObject
*swig_obj
[1] ;
43222 if (!args
) SWIG_fail
;
43223 swig_obj
[0] = args
;
43224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43225 if (!SWIG_IsOK(res1
)) {
43226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43228 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43231 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43232 wxPyEndAllowThreads(__tstate
);
43233 if (PyErr_Occurred()) SWIG_fail
;
43236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43244 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43245 PyObject
*resultobj
= 0;
43246 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43247 wxTextCtrl
*result
= 0 ;
43250 PyObject
*swig_obj
[1] ;
43252 if (!args
) SWIG_fail
;
43253 swig_obj
[0] = args
;
43254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43255 if (!SWIG_IsOK(res1
)) {
43256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43258 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43261 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43262 wxPyEndAllowThreads(__tstate
);
43263 if (PyErr_Occurred()) SWIG_fail
;
43266 resultobj
= wxPyMake_wxObject(result
, 0);
43274 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43275 PyObject
*resultobj
= 0;
43276 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43277 wxControl
*result
= 0 ;
43280 PyObject
*swig_obj
[1] ;
43282 if (!args
) SWIG_fail
;
43283 swig_obj
[0] = args
;
43284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43285 if (!SWIG_IsOK(res1
)) {
43286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43288 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43291 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43292 wxPyEndAllowThreads(__tstate
);
43293 if (PyErr_Occurred()) SWIG_fail
;
43296 resultobj
= wxPyMake_wxObject(result
, 0);
43304 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43308 return SWIG_Py_Void();
43311 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43312 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43317 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43318 PyObject
*pyobj
= 0;
43322 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43324 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43331 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43332 PyObject
*resultobj
= 0;
43333 wxWindow
*arg1
= (wxWindow
*) 0 ;
43334 int arg2
= (int) -1 ;
43335 wxColour
const &arg3_defvalue
= *wxBLACK
;
43336 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43337 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43338 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43339 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43340 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43341 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43342 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43343 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43344 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43345 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43346 wxColourPickerCtrl
*result
= 0 ;
43358 bool temp8
= false ;
43359 PyObject
* obj0
= 0 ;
43360 PyObject
* obj1
= 0 ;
43361 PyObject
* obj2
= 0 ;
43362 PyObject
* obj3
= 0 ;
43363 PyObject
* obj4
= 0 ;
43364 PyObject
* obj5
= 0 ;
43365 PyObject
* obj6
= 0 ;
43366 PyObject
* obj7
= 0 ;
43367 char * kwnames
[] = {
43368 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43373 if (!SWIG_IsOK(res1
)) {
43374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43379 if (!SWIG_IsOK(ecode2
)) {
43380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43382 arg2
= static_cast< int >(val2
);
43387 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43403 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43404 if (!SWIG_IsOK(ecode6
)) {
43405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43407 arg6
= static_cast< long >(val6
);
43410 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43411 if (!SWIG_IsOK(res7
)) {
43412 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43417 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43421 arg8
= wxString_in_helper(obj7
);
43422 if (arg8
== NULL
) SWIG_fail
;
43427 if (!wxPyCheckForApp()) SWIG_fail
;
43428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43429 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43430 wxPyEndAllowThreads(__tstate
);
43431 if (PyErr_Occurred()) SWIG_fail
;
43433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43448 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43449 PyObject
*resultobj
= 0;
43450 wxColourPickerCtrl
*result
= 0 ;
43452 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43454 if (!wxPyCheckForApp()) SWIG_fail
;
43455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43456 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43457 wxPyEndAllowThreads(__tstate
);
43458 if (PyErr_Occurred()) SWIG_fail
;
43460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43467 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43468 PyObject
*resultobj
= 0;
43469 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43470 wxWindow
*arg2
= (wxWindow
*) 0 ;
43472 wxColour
const &arg4_defvalue
= *wxBLACK
;
43473 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43474 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43475 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43476 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43477 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43478 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43479 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43480 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43481 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43482 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43497 bool temp9
= false ;
43498 PyObject
* obj0
= 0 ;
43499 PyObject
* obj1
= 0 ;
43500 PyObject
* obj2
= 0 ;
43501 PyObject
* obj3
= 0 ;
43502 PyObject
* obj4
= 0 ;
43503 PyObject
* obj5
= 0 ;
43504 PyObject
* obj6
= 0 ;
43505 PyObject
* obj7
= 0 ;
43506 PyObject
* obj8
= 0 ;
43507 char * kwnames
[] = {
43508 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43513 if (!SWIG_IsOK(res1
)) {
43514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43516 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43518 if (!SWIG_IsOK(res2
)) {
43519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43523 if (!SWIG_IsOK(ecode3
)) {
43524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43526 arg3
= static_cast< int >(val3
);
43530 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43536 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43542 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43546 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43547 if (!SWIG_IsOK(ecode7
)) {
43548 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43550 arg7
= static_cast< long >(val7
);
43553 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43554 if (!SWIG_IsOK(res8
)) {
43555 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43560 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43564 arg9
= wxString_in_helper(obj8
);
43565 if (arg9
== NULL
) SWIG_fail
;
43570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43572 wxPyEndAllowThreads(__tstate
);
43573 if (PyErr_Occurred()) SWIG_fail
;
43576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43592 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43593 PyObject
*resultobj
= 0;
43594 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43598 PyObject
*swig_obj
[1] ;
43600 if (!args
) SWIG_fail
;
43601 swig_obj
[0] = args
;
43602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43603 if (!SWIG_IsOK(res1
)) {
43604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43606 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43609 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43610 wxPyEndAllowThreads(__tstate
);
43611 if (PyErr_Occurred()) SWIG_fail
;
43613 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43620 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43621 PyObject
*resultobj
= 0;
43622 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43623 wxColour
*arg2
= 0 ;
43627 PyObject
* obj0
= 0 ;
43628 PyObject
* obj1
= 0 ;
43629 char * kwnames
[] = {
43630 (char *) "self",(char *) "col", NULL
43633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43635 if (!SWIG_IsOK(res1
)) {
43636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43638 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43641 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43645 (arg1
)->SetColour((wxColour
const &)*arg2
);
43646 wxPyEndAllowThreads(__tstate
);
43647 if (PyErr_Occurred()) SWIG_fail
;
43649 resultobj
= SWIG_Py_Void();
43656 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43659 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43660 return SWIG_Py_Void();
43663 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43664 return SWIG_Python_InitShadowInstance(args
);
43667 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43668 PyObject
*resultobj
= 0;
43669 wxObject
*arg1
= (wxObject
*) 0 ;
43671 wxColour
*arg3
= 0 ;
43672 wxColourPickerEvent
*result
= 0 ;
43678 PyObject
* obj0
= 0 ;
43679 PyObject
* obj1
= 0 ;
43680 PyObject
* obj2
= 0 ;
43681 char * kwnames
[] = {
43682 (char *) "generator",(char *) "id",(char *) "col", NULL
43685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43687 if (!SWIG_IsOK(res1
)) {
43688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43690 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43692 if (!SWIG_IsOK(ecode2
)) {
43693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43695 arg2
= static_cast< int >(val2
);
43698 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43702 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43703 wxPyEndAllowThreads(__tstate
);
43704 if (PyErr_Occurred()) SWIG_fail
;
43706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43713 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43714 PyObject
*resultobj
= 0;
43715 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43719 PyObject
*swig_obj
[1] ;
43721 if (!args
) SWIG_fail
;
43722 swig_obj
[0] = args
;
43723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43724 if (!SWIG_IsOK(res1
)) {
43725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43727 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43730 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43731 wxPyEndAllowThreads(__tstate
);
43732 if (PyErr_Occurred()) SWIG_fail
;
43734 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43741 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43742 PyObject
*resultobj
= 0;
43743 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43744 wxColour
*arg2
= 0 ;
43748 PyObject
* obj0
= 0 ;
43749 PyObject
* obj1
= 0 ;
43750 char * kwnames
[] = {
43751 (char *) "self",(char *) "c", NULL
43754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43756 if (!SWIG_IsOK(res1
)) {
43757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43759 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43766 (arg1
)->SetColour((wxColour
const &)*arg2
);
43767 wxPyEndAllowThreads(__tstate
);
43768 if (PyErr_Occurred()) SWIG_fail
;
43770 resultobj
= SWIG_Py_Void();
43777 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43780 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43781 return SWIG_Py_Void();
43784 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43785 return SWIG_Python_InitShadowInstance(args
);
43788 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43789 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43794 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43795 PyObject
*pyobj
= 0;
43799 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43801 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43808 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43809 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43814 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43815 PyObject
*pyobj
= 0;
43819 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43821 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43828 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43829 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43834 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43835 PyObject
*pyobj
= 0;
43839 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43841 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43848 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43849 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43854 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43855 PyObject
*pyobj
= 0;
43859 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43861 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43868 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43869 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43874 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43875 PyObject
*pyobj
= 0;
43879 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43881 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43888 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43889 PyObject
*resultobj
= 0;
43890 wxWindow
*arg1
= (wxWindow
*) 0 ;
43891 int arg2
= (int) -1 ;
43892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43894 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43896 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43897 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43898 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43899 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43900 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43901 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43902 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43903 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43904 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43905 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43906 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43907 wxFilePickerCtrl
*result
= 0 ;
43912 bool temp3
= false ;
43913 bool temp4
= false ;
43914 bool temp5
= false ;
43921 bool temp10
= false ;
43922 PyObject
* obj0
= 0 ;
43923 PyObject
* obj1
= 0 ;
43924 PyObject
* obj2
= 0 ;
43925 PyObject
* obj3
= 0 ;
43926 PyObject
* obj4
= 0 ;
43927 PyObject
* obj5
= 0 ;
43928 PyObject
* obj6
= 0 ;
43929 PyObject
* obj7
= 0 ;
43930 PyObject
* obj8
= 0 ;
43931 PyObject
* obj9
= 0 ;
43932 char * kwnames
[] = {
43933 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43938 if (!SWIG_IsOK(res1
)) {
43939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43941 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43944 if (!SWIG_IsOK(ecode2
)) {
43945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43947 arg2
= static_cast< int >(val2
);
43951 arg3
= wxString_in_helper(obj2
);
43952 if (arg3
== NULL
) SWIG_fail
;
43958 arg4
= wxString_in_helper(obj3
);
43959 if (arg4
== NULL
) SWIG_fail
;
43965 arg5
= wxString_in_helper(obj4
);
43966 if (arg5
== NULL
) SWIG_fail
;
43973 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43979 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43983 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43984 if (!SWIG_IsOK(ecode8
)) {
43985 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43987 arg8
= static_cast< long >(val8
);
43990 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43991 if (!SWIG_IsOK(res9
)) {
43992 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43997 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44001 arg10
= wxString_in_helper(obj9
);
44002 if (arg10
== NULL
) SWIG_fail
;
44007 if (!wxPyCheckForApp()) SWIG_fail
;
44008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44009 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
);
44010 wxPyEndAllowThreads(__tstate
);
44011 if (PyErr_Occurred()) SWIG_fail
;
44013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44052 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44053 PyObject
*resultobj
= 0;
44054 wxFilePickerCtrl
*result
= 0 ;
44056 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44058 if (!wxPyCheckForApp()) SWIG_fail
;
44059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44060 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44061 wxPyEndAllowThreads(__tstate
);
44062 if (PyErr_Occurred()) SWIG_fail
;
44064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44071 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44072 PyObject
*resultobj
= 0;
44073 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44074 wxWindow
*arg2
= (wxWindow
*) 0 ;
44075 int arg3
= (int) -1 ;
44076 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44077 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44078 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44079 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44080 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44081 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44082 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44083 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44084 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44085 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44086 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44087 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44088 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44089 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44090 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44098 bool temp4
= false ;
44099 bool temp5
= false ;
44100 bool temp6
= false ;
44107 bool temp11
= false ;
44108 PyObject
* obj0
= 0 ;
44109 PyObject
* obj1
= 0 ;
44110 PyObject
* obj2
= 0 ;
44111 PyObject
* obj3
= 0 ;
44112 PyObject
* obj4
= 0 ;
44113 PyObject
* obj5
= 0 ;
44114 PyObject
* obj6
= 0 ;
44115 PyObject
* obj7
= 0 ;
44116 PyObject
* obj8
= 0 ;
44117 PyObject
* obj9
= 0 ;
44118 PyObject
* obj10
= 0 ;
44119 char * kwnames
[] = {
44120 (char *) "self",(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 *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44125 if (!SWIG_IsOK(res1
)) {
44126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44128 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44130 if (!SWIG_IsOK(res2
)) {
44131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44133 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44136 if (!SWIG_IsOK(ecode3
)) {
44137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44139 arg3
= static_cast< int >(val3
);
44143 arg4
= wxString_in_helper(obj3
);
44144 if (arg4
== NULL
) SWIG_fail
;
44150 arg5
= wxString_in_helper(obj4
);
44151 if (arg5
== NULL
) SWIG_fail
;
44157 arg6
= wxString_in_helper(obj5
);
44158 if (arg6
== NULL
) SWIG_fail
;
44165 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44171 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44175 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44176 if (!SWIG_IsOK(ecode9
)) {
44177 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44179 arg9
= static_cast< long >(val9
);
44182 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44183 if (!SWIG_IsOK(res10
)) {
44184 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44189 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44193 arg11
= wxString_in_helper(obj10
);
44194 if (arg11
== NULL
) SWIG_fail
;
44199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44200 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
);
44201 wxPyEndAllowThreads(__tstate
);
44202 if (PyErr_Occurred()) SWIG_fail
;
44205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44245 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44246 PyObject
*resultobj
= 0;
44247 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44251 PyObject
*swig_obj
[1] ;
44253 if (!args
) SWIG_fail
;
44254 swig_obj
[0] = args
;
44255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44256 if (!SWIG_IsOK(res1
)) {
44257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44259 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44262 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44263 wxPyEndAllowThreads(__tstate
);
44264 if (PyErr_Occurred()) SWIG_fail
;
44268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44279 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44280 PyObject
*resultobj
= 0;
44281 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44282 wxString
*arg2
= 0 ;
44285 bool temp2
= false ;
44286 PyObject
* obj0
= 0 ;
44287 PyObject
* obj1
= 0 ;
44288 char * kwnames
[] = {
44289 (char *) "self",(char *) "str", NULL
44292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44294 if (!SWIG_IsOK(res1
)) {
44295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44297 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44299 arg2
= wxString_in_helper(obj1
);
44300 if (arg2
== NULL
) SWIG_fail
;
44304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44305 (arg1
)->SetPath((wxString
const &)*arg2
);
44306 wxPyEndAllowThreads(__tstate
);
44307 if (PyErr_Occurred()) SWIG_fail
;
44309 resultobj
= SWIG_Py_Void();
44324 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44325 PyObject
*resultobj
= 0;
44326 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44327 wxString
*arg2
= 0 ;
44331 bool temp2
= false ;
44332 PyObject
* obj0
= 0 ;
44333 PyObject
* obj1
= 0 ;
44334 char * kwnames
[] = {
44335 (char *) "self",(char *) "path", NULL
44338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44340 if (!SWIG_IsOK(res1
)) {
44341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44343 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44345 arg2
= wxString_in_helper(obj1
);
44346 if (arg2
== NULL
) SWIG_fail
;
44350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44351 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44352 wxPyEndAllowThreads(__tstate
);
44353 if (PyErr_Occurred()) SWIG_fail
;
44356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44372 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44373 PyObject
*resultobj
= 0;
44374 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44378 PyObject
*swig_obj
[1] ;
44380 if (!args
) SWIG_fail
;
44381 swig_obj
[0] = args
;
44382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44383 if (!SWIG_IsOK(res1
)) {
44384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44386 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44389 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44390 wxPyEndAllowThreads(__tstate
);
44391 if (PyErr_Occurred()) SWIG_fail
;
44395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44406 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44409 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44410 return SWIG_Py_Void();
44413 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44414 return SWIG_Python_InitShadowInstance(args
);
44417 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44418 PyObject
*resultobj
= 0;
44419 wxWindow
*arg1
= (wxWindow
*) 0 ;
44420 int arg2
= (int) -1 ;
44421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44423 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44425 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44426 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44427 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44428 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44429 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44430 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44431 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44432 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44433 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44434 wxDirPickerCtrl
*result
= 0 ;
44439 bool temp3
= false ;
44440 bool temp4
= false ;
44447 bool temp9
= false ;
44448 PyObject
* obj0
= 0 ;
44449 PyObject
* obj1
= 0 ;
44450 PyObject
* obj2
= 0 ;
44451 PyObject
* obj3
= 0 ;
44452 PyObject
* obj4
= 0 ;
44453 PyObject
* obj5
= 0 ;
44454 PyObject
* obj6
= 0 ;
44455 PyObject
* obj7
= 0 ;
44456 PyObject
* obj8
= 0 ;
44457 char * kwnames
[] = {
44458 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44463 if (!SWIG_IsOK(res1
)) {
44464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44469 if (!SWIG_IsOK(ecode2
)) {
44470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44472 arg2
= static_cast< int >(val2
);
44476 arg3
= wxString_in_helper(obj2
);
44477 if (arg3
== NULL
) SWIG_fail
;
44483 arg4
= wxString_in_helper(obj3
);
44484 if (arg4
== NULL
) SWIG_fail
;
44491 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44497 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44501 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44502 if (!SWIG_IsOK(ecode7
)) {
44503 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44505 arg7
= static_cast< long >(val7
);
44508 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44509 if (!SWIG_IsOK(res8
)) {
44510 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44515 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44519 arg9
= wxString_in_helper(obj8
);
44520 if (arg9
== NULL
) SWIG_fail
;
44525 if (!wxPyCheckForApp()) SWIG_fail
;
44526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44527 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
);
44528 wxPyEndAllowThreads(__tstate
);
44529 if (PyErr_Occurred()) SWIG_fail
;
44531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44562 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44563 PyObject
*resultobj
= 0;
44564 wxDirPickerCtrl
*result
= 0 ;
44566 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44568 if (!wxPyCheckForApp()) SWIG_fail
;
44569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44570 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44571 wxPyEndAllowThreads(__tstate
);
44572 if (PyErr_Occurred()) SWIG_fail
;
44574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44581 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44582 PyObject
*resultobj
= 0;
44583 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44584 wxWindow
*arg2
= (wxWindow
*) 0 ;
44585 int arg3
= (int) -1 ;
44586 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44587 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44588 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44589 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44590 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44591 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44592 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44593 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44594 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44595 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44596 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44597 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44598 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44606 bool temp4
= false ;
44607 bool temp5
= false ;
44614 bool temp10
= false ;
44615 PyObject
* obj0
= 0 ;
44616 PyObject
* obj1
= 0 ;
44617 PyObject
* obj2
= 0 ;
44618 PyObject
* obj3
= 0 ;
44619 PyObject
* obj4
= 0 ;
44620 PyObject
* obj5
= 0 ;
44621 PyObject
* obj6
= 0 ;
44622 PyObject
* obj7
= 0 ;
44623 PyObject
* obj8
= 0 ;
44624 PyObject
* obj9
= 0 ;
44625 char * kwnames
[] = {
44626 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44631 if (!SWIG_IsOK(res1
)) {
44632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44634 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44636 if (!SWIG_IsOK(res2
)) {
44637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44642 if (!SWIG_IsOK(ecode3
)) {
44643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44645 arg3
= static_cast< int >(val3
);
44649 arg4
= wxString_in_helper(obj3
);
44650 if (arg4
== NULL
) SWIG_fail
;
44656 arg5
= wxString_in_helper(obj4
);
44657 if (arg5
== NULL
) SWIG_fail
;
44664 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44670 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44674 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44675 if (!SWIG_IsOK(ecode8
)) {
44676 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44678 arg8
= static_cast< long >(val8
);
44681 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44682 if (!SWIG_IsOK(res9
)) {
44683 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44688 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44692 arg10
= wxString_in_helper(obj9
);
44693 if (arg10
== NULL
) SWIG_fail
;
44698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44699 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
);
44700 wxPyEndAllowThreads(__tstate
);
44701 if (PyErr_Occurred()) SWIG_fail
;
44704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44736 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44737 PyObject
*resultobj
= 0;
44738 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44742 PyObject
*swig_obj
[1] ;
44744 if (!args
) SWIG_fail
;
44745 swig_obj
[0] = args
;
44746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44747 if (!SWIG_IsOK(res1
)) {
44748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44750 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44753 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44754 wxPyEndAllowThreads(__tstate
);
44755 if (PyErr_Occurred()) SWIG_fail
;
44759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44770 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44771 PyObject
*resultobj
= 0;
44772 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44773 wxString
*arg2
= 0 ;
44776 bool temp2
= false ;
44777 PyObject
* obj0
= 0 ;
44778 PyObject
* obj1
= 0 ;
44779 char * kwnames
[] = {
44780 (char *) "self",(char *) "str", NULL
44783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44785 if (!SWIG_IsOK(res1
)) {
44786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44788 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44790 arg2
= wxString_in_helper(obj1
);
44791 if (arg2
== NULL
) SWIG_fail
;
44795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44796 (arg1
)->SetPath((wxString
const &)*arg2
);
44797 wxPyEndAllowThreads(__tstate
);
44798 if (PyErr_Occurred()) SWIG_fail
;
44800 resultobj
= SWIG_Py_Void();
44815 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44816 PyObject
*resultobj
= 0;
44817 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44818 wxString
*arg2
= 0 ;
44822 bool temp2
= false ;
44823 PyObject
* obj0
= 0 ;
44824 PyObject
* obj1
= 0 ;
44825 char * kwnames
[] = {
44826 (char *) "self",(char *) "path", NULL
44829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44831 if (!SWIG_IsOK(res1
)) {
44832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44834 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44836 arg2
= wxString_in_helper(obj1
);
44837 if (arg2
== NULL
) SWIG_fail
;
44841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44842 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44843 wxPyEndAllowThreads(__tstate
);
44844 if (PyErr_Occurred()) SWIG_fail
;
44847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44863 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44864 PyObject
*resultobj
= 0;
44865 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44869 PyObject
*swig_obj
[1] ;
44871 if (!args
) SWIG_fail
;
44872 swig_obj
[0] = args
;
44873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44874 if (!SWIG_IsOK(res1
)) {
44875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44877 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44880 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44881 wxPyEndAllowThreads(__tstate
);
44882 if (PyErr_Occurred()) SWIG_fail
;
44886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44897 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44900 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44901 return SWIG_Py_Void();
44904 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44905 return SWIG_Python_InitShadowInstance(args
);
44908 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44909 PyObject
*resultobj
= 0;
44911 wxObject
*arg2
= (wxObject
*) 0 ;
44913 wxString
*arg4
= 0 ;
44914 wxFileDirPickerEvent
*result
= 0 ;
44921 bool temp4
= false ;
44922 PyObject
* obj0
= 0 ;
44923 PyObject
* obj1
= 0 ;
44924 PyObject
* obj2
= 0 ;
44925 PyObject
* obj3
= 0 ;
44926 char * kwnames
[] = {
44927 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44931 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44932 if (!SWIG_IsOK(ecode1
)) {
44933 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44935 arg1
= static_cast< wxEventType
>(val1
);
44936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44937 if (!SWIG_IsOK(res2
)) {
44938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44940 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44942 if (!SWIG_IsOK(ecode3
)) {
44943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44945 arg3
= static_cast< int >(val3
);
44947 arg4
= wxString_in_helper(obj3
);
44948 if (arg4
== NULL
) SWIG_fail
;
44952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44953 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44954 wxPyEndAllowThreads(__tstate
);
44955 if (PyErr_Occurred()) SWIG_fail
;
44957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44972 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44973 PyObject
*resultobj
= 0;
44974 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44978 PyObject
*swig_obj
[1] ;
44980 if (!args
) SWIG_fail
;
44981 swig_obj
[0] = args
;
44982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44983 if (!SWIG_IsOK(res1
)) {
44984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44986 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44989 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44990 wxPyEndAllowThreads(__tstate
);
44991 if (PyErr_Occurred()) SWIG_fail
;
44995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45006 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45007 PyObject
*resultobj
= 0;
45008 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45009 wxString
*arg2
= 0 ;
45012 bool temp2
= false ;
45013 PyObject
* obj0
= 0 ;
45014 PyObject
* obj1
= 0 ;
45015 char * kwnames
[] = {
45016 (char *) "self",(char *) "p", NULL
45019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45021 if (!SWIG_IsOK(res1
)) {
45022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45024 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45026 arg2
= wxString_in_helper(obj1
);
45027 if (arg2
== NULL
) SWIG_fail
;
45031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45032 (arg1
)->SetPath((wxString
const &)*arg2
);
45033 wxPyEndAllowThreads(__tstate
);
45034 if (PyErr_Occurred()) SWIG_fail
;
45036 resultobj
= SWIG_Py_Void();
45051 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45054 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45055 return SWIG_Py_Void();
45058 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45059 return SWIG_Python_InitShadowInstance(args
);
45062 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45063 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45068 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45069 PyObject
*pyobj
= 0;
45073 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45075 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45082 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45083 PyObject
*resultobj
= 0;
45084 wxWindow
*arg1
= (wxWindow
*) 0 ;
45085 int arg2
= (int) -1 ;
45086 wxFont
const &arg3_defvalue
= wxNullFont
;
45087 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45092 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45093 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45094 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45095 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45096 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45097 wxFontPickerCtrl
*result
= 0 ;
45110 bool temp8
= false ;
45111 PyObject
* obj0
= 0 ;
45112 PyObject
* obj1
= 0 ;
45113 PyObject
* obj2
= 0 ;
45114 PyObject
* obj3
= 0 ;
45115 PyObject
* obj4
= 0 ;
45116 PyObject
* obj5
= 0 ;
45117 PyObject
* obj6
= 0 ;
45118 PyObject
* obj7
= 0 ;
45119 char * kwnames
[] = {
45120 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45125 if (!SWIG_IsOK(res1
)) {
45126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45131 if (!SWIG_IsOK(ecode2
)) {
45132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45134 arg2
= static_cast< int >(val2
);
45137 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45138 if (!SWIG_IsOK(res3
)) {
45139 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45144 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45149 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45155 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45159 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45160 if (!SWIG_IsOK(ecode6
)) {
45161 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45163 arg6
= static_cast< long >(val6
);
45166 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45167 if (!SWIG_IsOK(res7
)) {
45168 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45173 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45177 arg8
= wxString_in_helper(obj7
);
45178 if (arg8
== NULL
) SWIG_fail
;
45183 if (!wxPyCheckForApp()) SWIG_fail
;
45184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45185 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45186 wxPyEndAllowThreads(__tstate
);
45187 if (PyErr_Occurred()) SWIG_fail
;
45189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45204 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45205 PyObject
*resultobj
= 0;
45206 wxFontPickerCtrl
*result
= 0 ;
45208 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45210 if (!wxPyCheckForApp()) SWIG_fail
;
45211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45212 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45213 wxPyEndAllowThreads(__tstate
);
45214 if (PyErr_Occurred()) SWIG_fail
;
45216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45223 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45224 PyObject
*resultobj
= 0;
45225 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45226 wxWindow
*arg2
= (wxWindow
*) 0 ;
45227 int arg3
= (int) -1 ;
45228 wxFont
const &arg4_defvalue
= wxNullFont
;
45229 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45230 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45231 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45232 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45233 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45234 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45235 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45236 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45237 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45238 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45254 bool temp9
= false ;
45255 PyObject
* obj0
= 0 ;
45256 PyObject
* obj1
= 0 ;
45257 PyObject
* obj2
= 0 ;
45258 PyObject
* obj3
= 0 ;
45259 PyObject
* obj4
= 0 ;
45260 PyObject
* obj5
= 0 ;
45261 PyObject
* obj6
= 0 ;
45262 PyObject
* obj7
= 0 ;
45263 PyObject
* obj8
= 0 ;
45264 char * kwnames
[] = {
45265 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45270 if (!SWIG_IsOK(res1
)) {
45271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45273 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45275 if (!SWIG_IsOK(res2
)) {
45276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45281 if (!SWIG_IsOK(ecode3
)) {
45282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45284 arg3
= static_cast< int >(val3
);
45287 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45288 if (!SWIG_IsOK(res4
)) {
45289 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45294 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45299 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45305 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45309 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45310 if (!SWIG_IsOK(ecode7
)) {
45311 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45313 arg7
= static_cast< long >(val7
);
45316 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45317 if (!SWIG_IsOK(res8
)) {
45318 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45323 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45327 arg9
= wxString_in_helper(obj8
);
45328 if (arg9
== NULL
) SWIG_fail
;
45333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45335 wxPyEndAllowThreads(__tstate
);
45336 if (PyErr_Occurred()) SWIG_fail
;
45339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45355 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45356 PyObject
*resultobj
= 0;
45357 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45361 PyObject
*swig_obj
[1] ;
45363 if (!args
) SWIG_fail
;
45364 swig_obj
[0] = args
;
45365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45366 if (!SWIG_IsOK(res1
)) {
45367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45369 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45372 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45373 wxPyEndAllowThreads(__tstate
);
45374 if (PyErr_Occurred()) SWIG_fail
;
45376 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45383 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45384 PyObject
*resultobj
= 0;
45385 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45391 PyObject
* obj0
= 0 ;
45392 PyObject
* obj1
= 0 ;
45393 char * kwnames
[] = {
45394 (char *) "self",(char *) "f", NULL
45397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45399 if (!SWIG_IsOK(res1
)) {
45400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45402 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45404 if (!SWIG_IsOK(res2
)) {
45405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45410 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45413 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45414 wxPyEndAllowThreads(__tstate
);
45415 if (PyErr_Occurred()) SWIG_fail
;
45417 resultobj
= SWIG_Py_Void();
45424 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45425 PyObject
*resultobj
= 0;
45426 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45427 unsigned int arg2
;
45430 unsigned int val2
;
45432 PyObject
* obj0
= 0 ;
45433 PyObject
* obj1
= 0 ;
45434 char * kwnames
[] = {
45435 (char *) "self",(char *) "max", NULL
45438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45440 if (!SWIG_IsOK(res1
)) {
45441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45443 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45444 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45445 if (!SWIG_IsOK(ecode2
)) {
45446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45448 arg2
= static_cast< unsigned int >(val2
);
45450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45451 (arg1
)->SetMaxPointSize(arg2
);
45452 wxPyEndAllowThreads(__tstate
);
45453 if (PyErr_Occurred()) SWIG_fail
;
45455 resultobj
= SWIG_Py_Void();
45462 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45463 PyObject
*resultobj
= 0;
45464 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45465 unsigned int result
;
45468 PyObject
*swig_obj
[1] ;
45470 if (!args
) SWIG_fail
;
45471 swig_obj
[0] = args
;
45472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45473 if (!SWIG_IsOK(res1
)) {
45474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45476 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45479 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45480 wxPyEndAllowThreads(__tstate
);
45481 if (PyErr_Occurred()) SWIG_fail
;
45483 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45490 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45492 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45493 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45494 return SWIG_Py_Void();
45497 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45498 return SWIG_Python_InitShadowInstance(args
);
45501 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45502 PyObject
*resultobj
= 0;
45503 wxObject
*arg1
= (wxObject
*) 0 ;
45506 wxFontPickerEvent
*result
= 0 ;
45513 PyObject
* obj0
= 0 ;
45514 PyObject
* obj1
= 0 ;
45515 PyObject
* obj2
= 0 ;
45516 char * kwnames
[] = {
45517 (char *) "generator",(char *) "id",(char *) "f", NULL
45520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45522 if (!SWIG_IsOK(res1
)) {
45523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45525 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45527 if (!SWIG_IsOK(ecode2
)) {
45528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45530 arg2
= static_cast< int >(val2
);
45531 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45532 if (!SWIG_IsOK(res3
)) {
45533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45538 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45541 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45542 wxPyEndAllowThreads(__tstate
);
45543 if (PyErr_Occurred()) SWIG_fail
;
45545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45552 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45553 PyObject
*resultobj
= 0;
45554 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45558 PyObject
*swig_obj
[1] ;
45560 if (!args
) SWIG_fail
;
45561 swig_obj
[0] = args
;
45562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45563 if (!SWIG_IsOK(res1
)) {
45564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45566 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45569 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45570 wxPyEndAllowThreads(__tstate
);
45571 if (PyErr_Occurred()) SWIG_fail
;
45573 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45580 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45581 PyObject
*resultobj
= 0;
45582 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45588 PyObject
* obj0
= 0 ;
45589 PyObject
* obj1
= 0 ;
45590 char * kwnames
[] = {
45591 (char *) "self",(char *) "c", NULL
45594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45596 if (!SWIG_IsOK(res1
)) {
45597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45599 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45601 if (!SWIG_IsOK(res2
)) {
45602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45607 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45610 (arg1
)->SetFont((wxFont
const &)*arg2
);
45611 wxPyEndAllowThreads(__tstate
);
45612 if (PyErr_Occurred()) SWIG_fail
;
45614 resultobj
= SWIG_Py_Void();
45621 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45624 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45625 return SWIG_Py_Void();
45628 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45629 return SWIG_Python_InitShadowInstance(args
);
45632 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45633 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45638 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45639 PyObject
*pyobj
= 0;
45643 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45645 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45652 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45653 PyObject
*resultobj
= 0;
45654 wxWindow
*arg1
= (wxWindow
*) 0 ;
45655 int arg2
= (int) -1 ;
45656 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45662 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45663 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45664 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45665 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45666 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45667 wxCollapsiblePane
*result
= 0 ;
45672 bool temp3
= false ;
45679 bool temp8
= false ;
45680 PyObject
* obj0
= 0 ;
45681 PyObject
* obj1
= 0 ;
45682 PyObject
* obj2
= 0 ;
45683 PyObject
* obj3
= 0 ;
45684 PyObject
* obj4
= 0 ;
45685 PyObject
* obj5
= 0 ;
45686 PyObject
* obj6
= 0 ;
45687 PyObject
* obj7
= 0 ;
45688 char * kwnames
[] = {
45689 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45694 if (!SWIG_IsOK(res1
)) {
45695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45700 if (!SWIG_IsOK(ecode2
)) {
45701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45703 arg2
= static_cast< int >(val2
);
45707 arg3
= wxString_in_helper(obj2
);
45708 if (arg3
== NULL
) SWIG_fail
;
45715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45725 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45726 if (!SWIG_IsOK(ecode6
)) {
45727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45729 arg6
= static_cast< long >(val6
);
45732 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45733 if (!SWIG_IsOK(res7
)) {
45734 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45739 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45743 arg8
= wxString_in_helper(obj7
);
45744 if (arg8
== NULL
) SWIG_fail
;
45749 if (!wxPyCheckForApp()) SWIG_fail
;
45750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45751 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45752 wxPyEndAllowThreads(__tstate
);
45753 if (PyErr_Occurred()) SWIG_fail
;
45755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45778 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45779 PyObject
*resultobj
= 0;
45780 wxCollapsiblePane
*result
= 0 ;
45782 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45784 if (!wxPyCheckForApp()) SWIG_fail
;
45785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45786 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45787 wxPyEndAllowThreads(__tstate
);
45788 if (PyErr_Occurred()) SWIG_fail
;
45790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45797 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45798 PyObject
*resultobj
= 0;
45799 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45800 wxWindow
*arg2
= (wxWindow
*) 0 ;
45801 int arg3
= (int) -1 ;
45802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45804 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45805 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45806 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45807 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45808 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45809 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45810 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45811 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45812 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45820 bool temp4
= false ;
45827 bool temp9
= false ;
45828 PyObject
* obj0
= 0 ;
45829 PyObject
* obj1
= 0 ;
45830 PyObject
* obj2
= 0 ;
45831 PyObject
* obj3
= 0 ;
45832 PyObject
* obj4
= 0 ;
45833 PyObject
* obj5
= 0 ;
45834 PyObject
* obj6
= 0 ;
45835 PyObject
* obj7
= 0 ;
45836 PyObject
* obj8
= 0 ;
45837 char * kwnames
[] = {
45838 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45843 if (!SWIG_IsOK(res1
)) {
45844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45846 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45848 if (!SWIG_IsOK(res2
)) {
45849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45854 if (!SWIG_IsOK(ecode3
)) {
45855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45857 arg3
= static_cast< int >(val3
);
45861 arg4
= wxString_in_helper(obj3
);
45862 if (arg4
== NULL
) SWIG_fail
;
45869 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45875 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45879 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45880 if (!SWIG_IsOK(ecode7
)) {
45881 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45883 arg7
= static_cast< long >(val7
);
45886 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45887 if (!SWIG_IsOK(res8
)) {
45888 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45893 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45897 arg9
= wxString_in_helper(obj8
);
45898 if (arg9
== NULL
) SWIG_fail
;
45903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45905 wxPyEndAllowThreads(__tstate
);
45906 if (PyErr_Occurred()) SWIG_fail
;
45909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45933 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45934 PyObject
*resultobj
= 0;
45935 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45936 bool arg2
= (bool) true ;
45941 PyObject
* obj0
= 0 ;
45942 PyObject
* obj1
= 0 ;
45943 char * kwnames
[] = {
45944 (char *) "self",(char *) "collapse", NULL
45947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45949 if (!SWIG_IsOK(res1
)) {
45950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45952 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45954 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45955 if (!SWIG_IsOK(ecode2
)) {
45956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45958 arg2
= static_cast< bool >(val2
);
45961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45962 (arg1
)->Collapse(arg2
);
45963 wxPyEndAllowThreads(__tstate
);
45964 if (PyErr_Occurred()) SWIG_fail
;
45966 resultobj
= SWIG_Py_Void();
45973 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45974 PyObject
*resultobj
= 0;
45975 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45978 PyObject
*swig_obj
[1] ;
45980 if (!args
) SWIG_fail
;
45981 swig_obj
[0] = args
;
45982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45983 if (!SWIG_IsOK(res1
)) {
45984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45986 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45990 wxPyEndAllowThreads(__tstate
);
45991 if (PyErr_Occurred()) SWIG_fail
;
45993 resultobj
= SWIG_Py_Void();
46000 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46001 PyObject
*resultobj
= 0;
46002 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46006 PyObject
*swig_obj
[1] ;
46008 if (!args
) SWIG_fail
;
46009 swig_obj
[0] = args
;
46010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46011 if (!SWIG_IsOK(res1
)) {
46012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46014 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46017 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46018 wxPyEndAllowThreads(__tstate
);
46019 if (PyErr_Occurred()) SWIG_fail
;
46022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46030 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46031 PyObject
*resultobj
= 0;
46032 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46036 PyObject
*swig_obj
[1] ;
46038 if (!args
) SWIG_fail
;
46039 swig_obj
[0] = args
;
46040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46041 if (!SWIG_IsOK(res1
)) {
46042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46044 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46047 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46048 wxPyEndAllowThreads(__tstate
);
46049 if (PyErr_Occurred()) SWIG_fail
;
46052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46060 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46061 PyObject
*resultobj
= 0;
46062 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46063 wxWindow
*result
= 0 ;
46066 PyObject
*swig_obj
[1] ;
46068 if (!args
) SWIG_fail
;
46069 swig_obj
[0] = args
;
46070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46071 if (!SWIG_IsOK(res1
)) {
46072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46074 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46077 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46078 wxPyEndAllowThreads(__tstate
);
46079 if (PyErr_Occurred()) SWIG_fail
;
46082 resultobj
= wxPyMake_wxObject(result
, 0);
46090 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46093 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46094 return SWIG_Py_Void();
46097 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46098 return SWIG_Python_InitShadowInstance(args
);
46101 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46102 PyObject
*resultobj
= 0;
46103 wxObject
*arg1
= (wxObject
*) 0 ;
46106 wxCollapsiblePaneEvent
*result
= 0 ;
46113 PyObject
* obj0
= 0 ;
46114 PyObject
* obj1
= 0 ;
46115 PyObject
* obj2
= 0 ;
46116 char * kwnames
[] = {
46117 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46122 if (!SWIG_IsOK(res1
)) {
46123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46125 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46127 if (!SWIG_IsOK(ecode2
)) {
46128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46130 arg2
= static_cast< int >(val2
);
46131 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46132 if (!SWIG_IsOK(ecode3
)) {
46133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46135 arg3
= static_cast< bool >(val3
);
46137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46138 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46139 wxPyEndAllowThreads(__tstate
);
46140 if (PyErr_Occurred()) SWIG_fail
;
46142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46149 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46150 PyObject
*resultobj
= 0;
46151 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46155 PyObject
*swig_obj
[1] ;
46157 if (!args
) SWIG_fail
;
46158 swig_obj
[0] = args
;
46159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46160 if (!SWIG_IsOK(res1
)) {
46161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46163 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46166 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46167 wxPyEndAllowThreads(__tstate
);
46168 if (PyErr_Occurred()) SWIG_fail
;
46171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46179 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46180 PyObject
*resultobj
= 0;
46181 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46187 PyObject
* obj0
= 0 ;
46188 PyObject
* obj1
= 0 ;
46189 char * kwnames
[] = {
46190 (char *) "self",(char *) "c", NULL
46193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46195 if (!SWIG_IsOK(res1
)) {
46196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46198 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46199 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46200 if (!SWIG_IsOK(ecode2
)) {
46201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46203 arg2
= static_cast< bool >(val2
);
46205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46206 (arg1
)->SetCollapsed(arg2
);
46207 wxPyEndAllowThreads(__tstate
);
46208 if (PyErr_Occurred()) SWIG_fail
;
46210 resultobj
= SWIG_Py_Void();
46217 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46220 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46221 return SWIG_Py_Void();
46224 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46225 return SWIG_Python_InitShadowInstance(args
);
46228 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46229 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46234 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46235 PyObject
*pyobj
= 0;
46239 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46241 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46248 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46249 PyObject
*resultobj
= 0;
46250 wxWindow
*arg1
= (wxWindow
*) 0 ;
46251 int arg2
= (int) -1 ;
46252 wxString
const &arg3_defvalue
= wxEmptyString
;
46253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46258 long arg6
= (long) 0 ;
46259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46261 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46263 wxSearchCtrl
*result
= 0 ;
46268 bool temp3
= false ;
46275 bool temp8
= false ;
46276 PyObject
* obj0
= 0 ;
46277 PyObject
* obj1
= 0 ;
46278 PyObject
* obj2
= 0 ;
46279 PyObject
* obj3
= 0 ;
46280 PyObject
* obj4
= 0 ;
46281 PyObject
* obj5
= 0 ;
46282 PyObject
* obj6
= 0 ;
46283 PyObject
* obj7
= 0 ;
46284 char * kwnames
[] = {
46285 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46290 if (!SWIG_IsOK(res1
)) {
46291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46296 if (!SWIG_IsOK(ecode2
)) {
46297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46299 arg2
= static_cast< int >(val2
);
46303 arg3
= wxString_in_helper(obj2
);
46304 if (arg3
== NULL
) SWIG_fail
;
46311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46321 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46322 if (!SWIG_IsOK(ecode6
)) {
46323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46325 arg6
= static_cast< long >(val6
);
46328 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46329 if (!SWIG_IsOK(res7
)) {
46330 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46335 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46339 arg8
= wxString_in_helper(obj7
);
46340 if (arg8
== NULL
) SWIG_fail
;
46345 if (!wxPyCheckForApp()) SWIG_fail
;
46346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46347 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46348 wxPyEndAllowThreads(__tstate
);
46349 if (PyErr_Occurred()) SWIG_fail
;
46351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46374 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46375 PyObject
*resultobj
= 0;
46376 wxSearchCtrl
*result
= 0 ;
46378 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46380 if (!wxPyCheckForApp()) SWIG_fail
;
46381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46382 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46383 wxPyEndAllowThreads(__tstate
);
46384 if (PyErr_Occurred()) SWIG_fail
;
46386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46393 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46394 PyObject
*resultobj
= 0;
46395 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46396 wxWindow
*arg2
= (wxWindow
*) 0 ;
46397 int arg3
= (int) -1 ;
46398 wxString
const &arg4_defvalue
= wxEmptyString
;
46399 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46400 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46401 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46402 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46403 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46404 long arg7
= (long) 0 ;
46405 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46406 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46407 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46408 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46416 bool temp4
= false ;
46423 bool temp9
= false ;
46424 PyObject
* obj0
= 0 ;
46425 PyObject
* obj1
= 0 ;
46426 PyObject
* obj2
= 0 ;
46427 PyObject
* obj3
= 0 ;
46428 PyObject
* obj4
= 0 ;
46429 PyObject
* obj5
= 0 ;
46430 PyObject
* obj6
= 0 ;
46431 PyObject
* obj7
= 0 ;
46432 PyObject
* obj8
= 0 ;
46433 char * kwnames
[] = {
46434 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46439 if (!SWIG_IsOK(res1
)) {
46440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46442 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46444 if (!SWIG_IsOK(res2
)) {
46445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46450 if (!SWIG_IsOK(ecode3
)) {
46451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46453 arg3
= static_cast< int >(val3
);
46457 arg4
= wxString_in_helper(obj3
);
46458 if (arg4
== NULL
) SWIG_fail
;
46465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46476 if (!SWIG_IsOK(ecode7
)) {
46477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46479 arg7
= static_cast< long >(val7
);
46482 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46483 if (!SWIG_IsOK(res8
)) {
46484 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46489 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46493 arg9
= wxString_in_helper(obj8
);
46494 if (arg9
== NULL
) SWIG_fail
;
46499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46501 wxPyEndAllowThreads(__tstate
);
46502 if (PyErr_Occurred()) SWIG_fail
;
46505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46529 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46530 PyObject
*resultobj
= 0;
46531 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46532 wxMenu
*arg2
= (wxMenu
*) 0 ;
46537 PyObject
* obj0
= 0 ;
46538 PyObject
* obj1
= 0 ;
46539 char * kwnames
[] = {
46540 (char *) "self",(char *) "menu", NULL
46543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46545 if (!SWIG_IsOK(res1
)) {
46546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46548 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46550 if (!SWIG_IsOK(res2
)) {
46551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46553 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46556 (arg1
)->SetMenu(arg2
);
46557 wxPyEndAllowThreads(__tstate
);
46558 if (PyErr_Occurred()) SWIG_fail
;
46560 resultobj
= SWIG_Py_Void();
46567 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46568 PyObject
*resultobj
= 0;
46569 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46570 wxMenu
*result
= 0 ;
46573 PyObject
*swig_obj
[1] ;
46575 if (!args
) SWIG_fail
;
46576 swig_obj
[0] = args
;
46577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46578 if (!SWIG_IsOK(res1
)) {
46579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46581 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46584 result
= (wxMenu
*)(arg1
)->GetMenu();
46585 wxPyEndAllowThreads(__tstate
);
46586 if (PyErr_Occurred()) SWIG_fail
;
46589 resultobj
= wxPyMake_wxObject(result
, 0);
46597 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46598 PyObject
*resultobj
= 0;
46599 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46605 PyObject
* obj0
= 0 ;
46606 PyObject
* obj1
= 0 ;
46607 char * kwnames
[] = {
46608 (char *) "self",(char *) "show", NULL
46611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46613 if (!SWIG_IsOK(res1
)) {
46614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46616 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46618 if (!SWIG_IsOK(ecode2
)) {
46619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46621 arg2
= static_cast< bool >(val2
);
46623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46624 (arg1
)->SetSearchButtonVisible(arg2
);
46625 wxPyEndAllowThreads(__tstate
);
46626 if (PyErr_Occurred()) SWIG_fail
;
46628 resultobj
= SWIG_Py_Void();
46635 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46636 PyObject
*resultobj
= 0;
46637 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46641 PyObject
*swig_obj
[1] ;
46643 if (!args
) SWIG_fail
;
46644 swig_obj
[0] = args
;
46645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46646 if (!SWIG_IsOK(res1
)) {
46647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46649 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46652 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetSearchButtonVisible();
46653 wxPyEndAllowThreads(__tstate
);
46654 if (PyErr_Occurred()) SWIG_fail
;
46657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46665 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46666 PyObject
*resultobj
= 0;
46667 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46673 PyObject
* obj0
= 0 ;
46674 PyObject
* obj1
= 0 ;
46675 char * kwnames
[] = {
46676 (char *) "self",(char *) "show", NULL
46679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46681 if (!SWIG_IsOK(res1
)) {
46682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46684 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46686 if (!SWIG_IsOK(ecode2
)) {
46687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46689 arg2
= static_cast< bool >(val2
);
46691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46692 (arg1
)->SetCancelButtonVisible(arg2
);
46693 wxPyEndAllowThreads(__tstate
);
46694 if (PyErr_Occurred()) SWIG_fail
;
46696 resultobj
= SWIG_Py_Void();
46703 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46704 PyObject
*resultobj
= 0;
46705 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46709 PyObject
*swig_obj
[1] ;
46711 if (!args
) SWIG_fail
;
46712 swig_obj
[0] = args
;
46713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46714 if (!SWIG_IsOK(res1
)) {
46715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46717 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46720 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetCancelButtonVisible();
46721 wxPyEndAllowThreads(__tstate
);
46722 if (PyErr_Occurred()) SWIG_fail
;
46725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46733 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46734 PyObject
*resultobj
= 0;
46735 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46736 wxBitmap
*arg2
= 0 ;
46741 PyObject
* obj0
= 0 ;
46742 PyObject
* obj1
= 0 ;
46743 char * kwnames
[] = {
46744 (char *) "self",(char *) "bitmap", NULL
46747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46749 if (!SWIG_IsOK(res1
)) {
46750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46752 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46754 if (!SWIG_IsOK(res2
)) {
46755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46760 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46763 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46764 wxPyEndAllowThreads(__tstate
);
46765 if (PyErr_Occurred()) SWIG_fail
;
46767 resultobj
= SWIG_Py_Void();
46774 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46775 PyObject
*resultobj
= 0;
46776 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46777 wxBitmap
*arg2
= 0 ;
46782 PyObject
* obj0
= 0 ;
46783 PyObject
* obj1
= 0 ;
46784 char * kwnames
[] = {
46785 (char *) "self",(char *) "bitmap", NULL
46788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46790 if (!SWIG_IsOK(res1
)) {
46791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46793 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46795 if (!SWIG_IsOK(res2
)) {
46796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46801 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46804 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
46805 wxPyEndAllowThreads(__tstate
);
46806 if (PyErr_Occurred()) SWIG_fail
;
46808 resultobj
= SWIG_Py_Void();
46815 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46816 PyObject
*resultobj
= 0;
46817 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46818 wxBitmap
*arg2
= 0 ;
46823 PyObject
* obj0
= 0 ;
46824 PyObject
* obj1
= 0 ;
46825 char * kwnames
[] = {
46826 (char *) "self",(char *) "bitmap", NULL
46829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46831 if (!SWIG_IsOK(res1
)) {
46832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46834 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46836 if (!SWIG_IsOK(res2
)) {
46837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46842 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46845 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
46846 wxPyEndAllowThreads(__tstate
);
46847 if (PyErr_Occurred()) SWIG_fail
;
46849 resultobj
= SWIG_Py_Void();
46856 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46859 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46860 return SWIG_Py_Void();
46863 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46864 return SWIG_Python_InitShadowInstance(args
);
46867 static PyMethodDef SwigMethods
[] = {
46868 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46870 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46872 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46873 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46875 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46876 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46878 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46880 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46881 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46882 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46883 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46884 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46891 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46892 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46893 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46894 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46896 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46898 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46899 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46901 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46903 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46904 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46906 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46907 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46909 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46911 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46913 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46914 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46916 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46918 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46920 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46921 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46922 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46924 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46925 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46928 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46929 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46932 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46934 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46935 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46936 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46937 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46938 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46939 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46940 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46941 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46942 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46944 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46945 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46947 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46950 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46952 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46953 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46954 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46956 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46958 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46960 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46961 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46963 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46966 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46967 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46969 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46971 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46972 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46974 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46975 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46977 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46981 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46982 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46984 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46986 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46990 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46991 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46993 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47004 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47009 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47015 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47016 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47018 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47022 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47023 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47024 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47026 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47027 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47037 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47038 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47039 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47040 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47041 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47042 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47043 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47045 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47046 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47047 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47048 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47049 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47050 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47051 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47052 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47053 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47054 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47056 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47057 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47059 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47061 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47063 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47068 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47069 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47070 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47071 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47072 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47073 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47074 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47075 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47080 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47081 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47090 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47096 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47097 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47098 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47099 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47100 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47101 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47102 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47103 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47104 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47105 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47107 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47108 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47109 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47111 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47114 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
47116 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47120 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47121 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47123 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47124 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47125 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47126 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47127 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47129 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47131 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47132 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47133 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47134 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47135 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47138 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47139 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47141 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47143 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47144 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47145 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47150 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47152 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47153 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47155 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47157 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47161 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47162 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47165 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47166 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47168 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47170 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47171 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47173 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47176 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47177 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47179 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47187 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47188 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47195 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47196 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47198 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47200 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47203 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47204 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47206 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47208 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47211 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47212 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47217 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47218 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47220 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47222 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47223 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47225 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47226 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47227 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47230 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47231 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47233 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47236 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47238 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47239 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47240 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47242 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47243 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47248 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47253 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47255 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47257 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47259 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47260 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47263 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47271 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47273 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47275 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47277 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47278 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47280 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47282 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47285 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47289 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47290 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47292 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47293 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47295 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47297 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47298 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47299 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47301 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47302 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47304 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47306 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47307 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47308 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47310 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47311 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47313 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47321 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47322 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47323 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47325 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47326 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47328 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47330 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47331 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47332 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47333 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47335 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47336 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47337 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47338 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47339 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47340 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47341 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47342 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47343 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47344 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47345 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47346 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47347 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47348 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47349 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47350 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47351 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47352 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47353 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47355 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47362 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47364 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47366 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47374 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47379 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47380 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47397 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47398 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47399 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47400 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47403 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47404 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47406 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47407 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47410 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47411 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47412 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47414 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47417 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47418 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47420 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47424 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47425 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47426 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47427 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47428 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47429 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47431 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47432 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47433 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47434 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47435 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47436 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47437 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47451 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47452 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47453 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47454 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47455 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47456 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47457 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47458 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47459 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47460 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47461 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47462 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47463 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47464 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47465 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47466 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47467 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47468 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47469 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47470 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47471 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47472 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47473 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47474 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47475 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47476 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47477 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47478 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47479 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47480 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47481 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47482 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47483 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47484 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47485 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47486 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47487 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47488 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47489 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47490 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47491 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47492 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47493 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47494 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47495 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47496 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47497 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47498 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47499 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47500 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47501 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47502 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47503 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47504 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47505 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47506 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47507 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47508 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47509 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47510 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47511 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47513 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47514 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47516 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47523 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47524 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47525 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47527 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47530 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47540 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47541 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47542 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47543 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47544 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47546 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47552 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47553 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47558 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47559 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47560 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47561 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47585 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47587 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47588 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47590 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47594 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47596 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47600 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47601 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47602 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47603 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47604 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47607 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47608 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47609 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47610 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47612 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47613 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47615 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47617 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47618 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47619 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47620 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47621 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47622 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47623 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47625 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47627 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47628 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47630 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47632 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47635 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47636 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47637 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47639 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47642 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47643 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47645 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47647 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47648 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47654 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47660 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47673 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47676 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47677 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47678 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47685 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47695 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47698 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47700 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47702 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47703 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47704 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47710 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47719 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47720 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47721 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47723 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47727 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47729 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47730 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47733 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47734 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47736 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47738 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47739 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47740 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47742 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47743 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47744 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47745 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47747 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47750 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47751 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47753 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47760 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47761 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47762 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47763 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47764 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47765 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47766 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47767 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47768 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47769 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47770 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47772 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47773 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47774 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47776 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47777 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47778 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47779 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47781 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47782 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47783 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47784 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47785 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47787 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47788 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47789 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47791 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47797 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47798 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47799 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47800 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47801 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47802 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47808 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47809 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47811 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47812 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47814 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47815 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47817 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47819 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47820 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47821 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47822 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47823 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47824 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47825 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47826 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47828 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47829 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47830 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47831 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47833 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47835 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47836 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47837 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47839 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47841 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47842 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47844 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47845 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47846 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47848 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47850 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47851 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47854 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47856 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47857 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47858 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47859 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47861 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47863 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47864 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47865 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47866 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47868 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47870 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47872 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47873 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47875 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47877 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47878 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47880 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47882 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47885 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47886 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47887 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47889 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47891 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47894 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47895 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47896 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47898 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47900 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47901 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47903 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47904 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47905 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47907 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47908 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47909 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47910 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47912 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47914 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47915 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47917 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47920 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47921 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47922 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47923 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47924 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47925 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47927 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47929 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47930 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47932 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47935 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetSearchButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetSearchButtonVisible
, METH_O
, NULL
},
47937 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetCancelButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47938 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetCancelButtonVisible
, METH_O
, NULL
},
47939 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47941 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47943 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47944 { NULL
, NULL
, 0, NULL
}
47948 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47950 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47953 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47954 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47956 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47957 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47959 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47960 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47962 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47963 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47965 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47966 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47968 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47969 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47971 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47972 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47974 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47977 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47980 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47983 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47984 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47986 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47989 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47992 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47993 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47995 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47996 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47998 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47999 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48001 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48002 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48004 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48005 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48007 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48008 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48010 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48011 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48013 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48014 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48016 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48017 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48019 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48022 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48023 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48025 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48028 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48029 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48031 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48032 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48034 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48035 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48037 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48038 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48040 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48041 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48043 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48044 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48046 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48047 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48049 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48050 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48052 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48053 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48055 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48056 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48058 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48059 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48061 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48062 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48064 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48065 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48067 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48068 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48070 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48071 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48073 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48074 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48076 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48077 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48079 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48080 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48082 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48083 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48085 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48086 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48088 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48089 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48091 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48092 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48094 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48097 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48100 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48101 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48103 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48104 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48106 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48107 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48109 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48110 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48112 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48113 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48115 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48116 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48118 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48119 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48121 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48122 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48124 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48125 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48127 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48128 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48130 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48131 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48133 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48134 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48136 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48137 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48139 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48140 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48142 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48143 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48145 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48146 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48148 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48149 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48151 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48152 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48154 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48155 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48157 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48158 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48160 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48161 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48163 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48164 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48166 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48167 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48169 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48170 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48172 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48173 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48175 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48176 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48178 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48179 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48181 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48182 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48184 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48185 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48187 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48188 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48190 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48191 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48193 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48194 return (void *)((wxControl
*) ((wxGauge
*) x
));
48196 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48197 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48199 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48200 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48202 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48203 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48205 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48206 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48208 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48209 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48211 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48212 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48214 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48215 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48217 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48218 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48220 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48221 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48223 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48224 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48226 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48227 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48229 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48230 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48232 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48233 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48235 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48236 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48238 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48239 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48241 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48242 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48244 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48245 return (void *)((wxControl
*) ((wxSlider
*) x
));
48247 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48248 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48250 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48251 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48253 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48254 return (void *)((wxControl
*) ((wxButton
*) x
));
48256 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48257 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48259 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48260 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48262 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48263 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48265 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48266 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48268 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48269 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48271 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48272 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48274 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48275 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48277 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48278 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48280 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48281 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48283 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
48284 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
48286 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48287 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48289 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48290 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48292 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48293 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48295 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48296 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48298 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48299 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48301 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48302 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48304 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48305 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48307 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48308 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48310 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48311 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48313 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48314 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48316 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48317 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48319 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48320 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48322 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48323 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48325 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48326 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48328 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48329 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48331 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48332 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48334 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48337 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48338 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48340 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48343 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48344 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48346 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48347 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48349 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48352 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48355 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48356 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48358 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48361 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48364 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48367 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48370 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48371 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48373 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48376 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48379 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48382 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48385 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48388 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48391 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48392 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48394 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48397 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48403 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48406 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48409 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48412 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48415 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48418 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48421 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48424 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48427 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48430 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48433 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48436 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48439 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48442 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48445 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48448 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48451 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48454 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48457 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48460 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48463 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48466 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48469 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48472 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48475 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48478 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48481 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48484 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48487 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48490 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48491 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48493 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48494 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48496 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48497 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48499 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48500 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48502 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48503 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48505 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48506 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48508 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48511 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48512 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48514 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48515 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48517 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48520 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48521 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48523 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48526 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48527 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48529 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48530 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48532 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48533 return (void *)((wxObject
*) ((wxSizer
*) x
));
48535 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48536 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48538 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48541 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48544 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48547 static void *_p_wxEventTo_p_wxObject(void *x
) {
48548 return (void *)((wxObject
*) ((wxEvent
*) x
));
48550 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48551 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48553 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48554 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48556 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48559 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48560 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48562 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48565 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48568 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48571 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48574 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48577 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48578 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48580 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48581 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48583 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48584 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48586 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48587 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48589 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48590 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48592 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48593 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48595 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48598 static void *_p_wxControlTo_p_wxObject(void *x
) {
48599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48601 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48604 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48607 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48610 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48613 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48616 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48617 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48619 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48622 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48625 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48628 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48631 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48632 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48634 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48635 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48637 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48640 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48643 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48646 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48649 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48652 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48653 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48655 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48658 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48661 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48664 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48665 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48667 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48670 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48673 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48674 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48676 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48679 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48680 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48682 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48685 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48686 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48688 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48689 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48691 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48692 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48694 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48695 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48697 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48698 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48700 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48701 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48703 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48706 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48707 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48709 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48712 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48715 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48718 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48719 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48721 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48722 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48724 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48727 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48728 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48730 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48731 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48733 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48734 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48736 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48737 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48739 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48742 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48745 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48746 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48748 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48751 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48754 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48757 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48758 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48760 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48761 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48763 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48766 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48769 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48772 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48775 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48778 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48781 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48784 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48785 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48787 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48788 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48790 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48793 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48796 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48799 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48802 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48803 return (void *)((wxObject
*) ((wxListItem
*) x
));
48805 static void *_p_wxImageTo_p_wxObject(void *x
) {
48806 return (void *)((wxObject
*) ((wxImage
*) x
));
48808 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48809 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48811 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48814 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48815 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48817 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48820 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48823 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48826 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48829 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48832 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48835 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48838 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48839 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48841 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48842 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48844 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48845 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48847 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48848 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48850 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48853 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48854 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48856 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48859 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48862 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48863 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48865 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48868 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48869 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48871 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48872 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48874 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48875 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48877 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48880 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48883 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48886 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48887 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48889 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48892 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48893 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48895 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48896 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48898 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48901 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48904 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48907 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48910 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48913 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48916 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48919 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48922 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48923 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48925 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48928 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48931 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48932 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48934 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48935 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48937 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48938 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48940 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48941 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48943 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48944 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48946 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48947 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48949 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48950 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48952 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48953 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48955 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48956 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48958 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48959 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48961 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48962 return (void *)((wxWindow
*) ((wxControl
*) x
));
48964 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48965 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48967 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48968 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48970 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48971 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48973 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48974 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48976 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48977 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48979 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48980 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48982 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48983 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48985 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48986 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48988 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48989 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48991 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48992 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48994 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48995 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48997 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48998 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49000 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49001 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49003 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49004 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49006 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49007 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49009 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49010 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49012 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49013 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49015 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49016 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49018 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49019 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49021 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49022 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49024 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49025 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49027 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49028 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49030 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49031 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49033 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49034 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49036 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49037 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49039 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49040 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49042 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49043 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49045 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49046 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49048 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49049 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49051 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49052 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49054 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49055 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49057 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49058 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49060 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49061 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49063 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49064 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49066 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49067 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49069 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49070 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49072 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49073 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49075 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49076 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49078 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49079 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49081 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49082 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49084 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49085 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49087 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49088 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49090 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49091 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49093 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49094 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49096 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49097 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49099 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49100 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49102 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49103 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49105 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49106 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49108 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49109 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49111 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49112 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49114 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49115 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49117 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49118 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49120 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49121 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49123 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49124 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49126 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49127 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49129 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49130 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49132 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49133 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49135 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49136 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49138 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49139 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49141 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49142 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49144 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49145 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49147 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49148 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49150 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49151 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49153 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49154 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49156 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49157 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49159 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49160 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49162 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49163 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49165 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49166 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49168 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
49169 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
49171 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49172 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49174 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49175 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49177 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49178 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49180 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49181 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49183 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49184 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49186 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49187 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49188 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};
49189 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49190 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49191 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49192 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49193 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49194 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49195 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49196 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49197 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49198 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49199 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49200 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49201 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49202 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49203 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49204 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49205 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49206 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49207 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49208 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49209 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49210 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49211 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49212 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49213 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49214 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49215 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49216 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49217 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49218 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49219 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49220 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49221 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49222 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49223 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49224 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49225 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49226 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49227 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49228 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49229 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49230 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49231 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49232 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49233 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49234 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49235 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49236 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49237 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49238 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49239 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49240 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49241 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49242 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49243 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49244 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49245 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49246 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49247 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49248 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49249 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49250 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49251 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49252 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49253 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49254 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49255 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49256 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49257 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49258 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49259 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49260 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49261 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49262 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49263 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49264 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49265 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49266 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49267 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49268 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49269 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49275 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49276 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49277 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49278 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49279 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49280 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49281 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49282 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49283 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49284 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49285 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49286 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49287 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49288 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49289 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49290 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49291 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49292 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49293 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49294 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49295 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49296 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49297 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49298 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49299 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49300 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49301 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49302 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49303 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49304 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49305 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49306 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49307 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49308 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49309 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49310 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49311 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49312 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49313 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49314 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49315 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49316 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49317 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49318 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49319 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49320 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49321 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49322 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49323 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49324 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49325 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49326 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49327 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49328 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49329 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49330 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49331 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49332 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49333 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49334 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49335 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49336 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49337 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49338 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49339 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49340 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49341 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49342 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49343 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49344 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49345 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49346 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49347 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49348 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49349 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49350 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49351 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49352 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49353 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49354 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49355 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49356 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49357 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49358 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49359 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49360 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49361 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49362 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49363 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49364 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49366 static swig_type_info
*swig_type_initial
[] = {
49369 &_swigt__p_form_ops_t
,
49372 &_swigt__p_unsigned_char
,
49373 &_swigt__p_unsigned_int
,
49374 &_swigt__p_unsigned_long
,
49376 &_swigt__p_wxANIHandler
,
49377 &_swigt__p_wxAcceleratorTable
,
49378 &_swigt__p_wxActivateEvent
,
49379 &_swigt__p_wxArrayInt
,
49380 &_swigt__p_wxArrayString
,
49381 &_swigt__p_wxBMPHandler
,
49382 &_swigt__p_wxBitmap
,
49383 &_swigt__p_wxBitmapButton
,
49384 &_swigt__p_wxBookCtrlBase
,
49385 &_swigt__p_wxBookCtrlBaseEvent
,
49386 &_swigt__p_wxBoxSizer
,
49387 &_swigt__p_wxButton
,
49388 &_swigt__p_wxCURHandler
,
49389 &_swigt__p_wxCheckBox
,
49390 &_swigt__p_wxCheckListBox
,
49391 &_swigt__p_wxChildFocusEvent
,
49392 &_swigt__p_wxChoice
,
49393 &_swigt__p_wxChoicebook
,
49394 &_swigt__p_wxChoicebookEvent
,
49395 &_swigt__p_wxClipboardTextEvent
,
49396 &_swigt__p_wxCloseEvent
,
49397 &_swigt__p_wxCollapsiblePane
,
49398 &_swigt__p_wxCollapsiblePaneEvent
,
49399 &_swigt__p_wxColour
,
49400 &_swigt__p_wxColourPickerCtrl
,
49401 &_swigt__p_wxColourPickerEvent
,
49402 &_swigt__p_wxComboBox
,
49403 &_swigt__p_wxCommandEvent
,
49404 &_swigt__p_wxContextHelp
,
49405 &_swigt__p_wxContextHelpButton
,
49406 &_swigt__p_wxContextMenuEvent
,
49407 &_swigt__p_wxControl
,
49408 &_swigt__p_wxControlWithItems
,
49409 &_swigt__p_wxCursor
,
49411 &_swigt__p_wxDateEvent
,
49412 &_swigt__p_wxDatePickerCtrl
,
49413 &_swigt__p_wxDateTime
,
49414 &_swigt__p_wxDirFilterListCtrl
,
49415 &_swigt__p_wxDirPickerCtrl
,
49416 &_swigt__p_wxDisplayChangedEvent
,
49417 &_swigt__p_wxDropFilesEvent
,
49418 &_swigt__p_wxDuplexMode
,
49419 &_swigt__p_wxEraseEvent
,
49420 &_swigt__p_wxEvent
,
49421 &_swigt__p_wxEvtHandler
,
49422 &_swigt__p_wxFSFile
,
49423 &_swigt__p_wxFileDirPickerEvent
,
49424 &_swigt__p_wxFilePickerCtrl
,
49425 &_swigt__p_wxFileSystem
,
49426 &_swigt__p_wxFlexGridSizer
,
49427 &_swigt__p_wxFocusEvent
,
49429 &_swigt__p_wxFontPickerCtrl
,
49430 &_swigt__p_wxFontPickerEvent
,
49431 &_swigt__p_wxGBSizerItem
,
49432 &_swigt__p_wxGIFHandler
,
49433 &_swigt__p_wxGauge
,
49434 &_swigt__p_wxGenericDirCtrl
,
49435 &_swigt__p_wxGenericDragImage
,
49436 &_swigt__p_wxGridBagSizer
,
49437 &_swigt__p_wxGridSizer
,
49438 &_swigt__p_wxHelpEvent
,
49439 &_swigt__p_wxHelpProvider
,
49440 &_swigt__p_wxHyperlinkCtrl
,
49441 &_swigt__p_wxHyperlinkEvent
,
49442 &_swigt__p_wxICOHandler
,
49444 &_swigt__p_wxIconizeEvent
,
49445 &_swigt__p_wxIdleEvent
,
49446 &_swigt__p_wxImage
,
49447 &_swigt__p_wxImageHandler
,
49448 &_swigt__p_wxImageList
,
49449 &_swigt__p_wxIndividualLayoutConstraint
,
49450 &_swigt__p_wxInitDialogEvent
,
49451 &_swigt__p_wxItemContainer
,
49452 &_swigt__p_wxJPEGHandler
,
49453 &_swigt__p_wxKeyEvent
,
49454 &_swigt__p_wxLayoutConstraints
,
49455 &_swigt__p_wxListBox
,
49456 &_swigt__p_wxListEvent
,
49457 &_swigt__p_wxListItem
,
49458 &_swigt__p_wxListItemAttr
,
49459 &_swigt__p_wxListView
,
49460 &_swigt__p_wxListbook
,
49461 &_swigt__p_wxListbookEvent
,
49462 &_swigt__p_wxMaximizeEvent
,
49463 &_swigt__p_wxMemoryDC
,
49465 &_swigt__p_wxMenuBar
,
49466 &_swigt__p_wxMenuEvent
,
49467 &_swigt__p_wxMenuItem
,
49468 &_swigt__p_wxMouseCaptureChangedEvent
,
49469 &_swigt__p_wxMouseCaptureLostEvent
,
49470 &_swigt__p_wxMouseEvent
,
49471 &_swigt__p_wxMoveEvent
,
49472 &_swigt__p_wxNavigationKeyEvent
,
49473 &_swigt__p_wxNcPaintEvent
,
49474 &_swigt__p_wxNotebook
,
49475 &_swigt__p_wxNotebookEvent
,
49476 &_swigt__p_wxNotifyEvent
,
49477 &_swigt__p_wxObject
,
49478 &_swigt__p_wxPCXHandler
,
49479 &_swigt__p_wxPNGHandler
,
49480 &_swigt__p_wxPNMHandler
,
49481 &_swigt__p_wxPaintEvent
,
49482 &_swigt__p_wxPaletteChangedEvent
,
49483 &_swigt__p_wxPaperSize
,
49484 &_swigt__p_wxPickerBase
,
49485 &_swigt__p_wxPoint
,
49486 &_swigt__p_wxPyApp
,
49487 &_swigt__p_wxPyCommandEvent
,
49488 &_swigt__p_wxPyControl
,
49489 &_swigt__p_wxPyEvent
,
49490 &_swigt__p_wxPyImageHandler
,
49491 &_swigt__p_wxPyListCtrl
,
49492 &_swigt__p_wxPySizer
,
49493 &_swigt__p_wxPyTreeCtrl
,
49494 &_swigt__p_wxPyTreeItemData
,
49495 &_swigt__p_wxPyValidator
,
49496 &_swigt__p_wxQueryNewPaletteEvent
,
49497 &_swigt__p_wxRadioBox
,
49498 &_swigt__p_wxRadioButton
,
49500 &_swigt__p_wxScrollBar
,
49501 &_swigt__p_wxScrollEvent
,
49502 &_swigt__p_wxScrollWinEvent
,
49503 &_swigt__p_wxSearchCtrl
,
49504 &_swigt__p_wxSetCursorEvent
,
49505 &_swigt__p_wxShowEvent
,
49506 &_swigt__p_wxSimpleHelpProvider
,
49508 &_swigt__p_wxSizeEvent
,
49509 &_swigt__p_wxSizer
,
49510 &_swigt__p_wxSizerItem
,
49511 &_swigt__p_wxSlider
,
49512 &_swigt__p_wxSpinButton
,
49513 &_swigt__p_wxSpinCtrl
,
49514 &_swigt__p_wxSpinEvent
,
49515 &_swigt__p_wxStaticBitmap
,
49516 &_swigt__p_wxStaticBox
,
49517 &_swigt__p_wxStaticBoxSizer
,
49518 &_swigt__p_wxStaticLine
,
49519 &_swigt__p_wxStaticText
,
49520 &_swigt__p_wxStdDialogButtonSizer
,
49521 &_swigt__p_wxString
,
49522 &_swigt__p_wxSysColourChangedEvent
,
49523 &_swigt__p_wxTGAHandler
,
49524 &_swigt__p_wxTIFFHandler
,
49525 &_swigt__p_wxTextAttr
,
49526 &_swigt__p_wxTextCtrl
,
49527 &_swigt__p_wxTextUrlEvent
,
49528 &_swigt__p_wxToggleButton
,
49529 &_swigt__p_wxToolBar
,
49530 &_swigt__p_wxToolBarBase
,
49531 &_swigt__p_wxToolBarToolBase
,
49532 &_swigt__p_wxToolbook
,
49533 &_swigt__p_wxToolbookEvent
,
49534 &_swigt__p_wxTreeEvent
,
49535 &_swigt__p_wxTreeItemId
,
49536 &_swigt__p_wxTreebook
,
49537 &_swigt__p_wxTreebookEvent
,
49538 &_swigt__p_wxUpdateUIEvent
,
49539 &_swigt__p_wxValidator
,
49540 &_swigt__p_wxVisualAttributes
,
49541 &_swigt__p_wxWindow
,
49542 &_swigt__p_wxWindowBase
,
49543 &_swigt__p_wxWindowCreateEvent
,
49544 &_swigt__p_wxWindowDestroyEvent
,
49545 &_swigt__p_wxXPMHandler
,
49548 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49549 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49550 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49551 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49552 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49553 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49554 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49555 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49556 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49557 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49558 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49559 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49560 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}};
49561 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}};
49562 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}};
49563 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}};
49564 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49565 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49566 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49567 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49568 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49569 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49570 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49571 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49572 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49573 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49574 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49575 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49576 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49577 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49578 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49579 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49580 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49581 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49582 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49583 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49584 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}};
49585 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49586 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49587 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}};
49588 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
49589 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49590 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49591 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49592 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49593 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49594 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49595 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49596 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49597 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49598 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49599 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49600 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49601 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49602 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49603 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49604 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49605 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49606 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49607 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49608 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49609 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49610 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49611 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49612 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49613 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49614 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49615 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49616 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49617 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49618 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49619 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49620 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49621 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}};
49622 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49623 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49624 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49625 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_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_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
49626 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49627 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49629 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49630 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49631 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49632 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49635 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}};
49636 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49638 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49639 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49640 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}};
49641 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49642 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}};
49643 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49644 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49645 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49646 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49647 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49648 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49653 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49654 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}};
49655 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49656 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49657 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49658 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49659 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49660 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49661 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49662 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49663 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49664 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49665 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49666 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49667 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49668 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49669 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49670 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49671 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49672 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49673 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49674 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49675 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49676 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49677 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49678 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49679 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49680 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49681 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49682 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49683 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49684 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49685 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49686 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
49687 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49688 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}};
49689 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49690 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49691 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}};
49692 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49693 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49694 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49695 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49696 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49697 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49698 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49699 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49700 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49701 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49702 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49706 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49711 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}};
49712 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49714 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49715 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}};
49716 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49717 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49718 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49719 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49720 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49721 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49722 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49723 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}};
49724 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49725 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}};
49726 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49728 static swig_cast_info
*swig_cast_initial
[] = {
49731 _swigc__p_form_ops_t
,
49734 _swigc__p_unsigned_char
,
49735 _swigc__p_unsigned_int
,
49736 _swigc__p_unsigned_long
,
49738 _swigc__p_wxANIHandler
,
49739 _swigc__p_wxAcceleratorTable
,
49740 _swigc__p_wxActivateEvent
,
49741 _swigc__p_wxArrayInt
,
49742 _swigc__p_wxArrayString
,
49743 _swigc__p_wxBMPHandler
,
49744 _swigc__p_wxBitmap
,
49745 _swigc__p_wxBitmapButton
,
49746 _swigc__p_wxBookCtrlBase
,
49747 _swigc__p_wxBookCtrlBaseEvent
,
49748 _swigc__p_wxBoxSizer
,
49749 _swigc__p_wxButton
,
49750 _swigc__p_wxCURHandler
,
49751 _swigc__p_wxCheckBox
,
49752 _swigc__p_wxCheckListBox
,
49753 _swigc__p_wxChildFocusEvent
,
49754 _swigc__p_wxChoice
,
49755 _swigc__p_wxChoicebook
,
49756 _swigc__p_wxChoicebookEvent
,
49757 _swigc__p_wxClipboardTextEvent
,
49758 _swigc__p_wxCloseEvent
,
49759 _swigc__p_wxCollapsiblePane
,
49760 _swigc__p_wxCollapsiblePaneEvent
,
49761 _swigc__p_wxColour
,
49762 _swigc__p_wxColourPickerCtrl
,
49763 _swigc__p_wxColourPickerEvent
,
49764 _swigc__p_wxComboBox
,
49765 _swigc__p_wxCommandEvent
,
49766 _swigc__p_wxContextHelp
,
49767 _swigc__p_wxContextHelpButton
,
49768 _swigc__p_wxContextMenuEvent
,
49769 _swigc__p_wxControl
,
49770 _swigc__p_wxControlWithItems
,
49771 _swigc__p_wxCursor
,
49773 _swigc__p_wxDateEvent
,
49774 _swigc__p_wxDatePickerCtrl
,
49775 _swigc__p_wxDateTime
,
49776 _swigc__p_wxDirFilterListCtrl
,
49777 _swigc__p_wxDirPickerCtrl
,
49778 _swigc__p_wxDisplayChangedEvent
,
49779 _swigc__p_wxDropFilesEvent
,
49780 _swigc__p_wxDuplexMode
,
49781 _swigc__p_wxEraseEvent
,
49783 _swigc__p_wxEvtHandler
,
49784 _swigc__p_wxFSFile
,
49785 _swigc__p_wxFileDirPickerEvent
,
49786 _swigc__p_wxFilePickerCtrl
,
49787 _swigc__p_wxFileSystem
,
49788 _swigc__p_wxFlexGridSizer
,
49789 _swigc__p_wxFocusEvent
,
49791 _swigc__p_wxFontPickerCtrl
,
49792 _swigc__p_wxFontPickerEvent
,
49793 _swigc__p_wxGBSizerItem
,
49794 _swigc__p_wxGIFHandler
,
49796 _swigc__p_wxGenericDirCtrl
,
49797 _swigc__p_wxGenericDragImage
,
49798 _swigc__p_wxGridBagSizer
,
49799 _swigc__p_wxGridSizer
,
49800 _swigc__p_wxHelpEvent
,
49801 _swigc__p_wxHelpProvider
,
49802 _swigc__p_wxHyperlinkCtrl
,
49803 _swigc__p_wxHyperlinkEvent
,
49804 _swigc__p_wxICOHandler
,
49806 _swigc__p_wxIconizeEvent
,
49807 _swigc__p_wxIdleEvent
,
49809 _swigc__p_wxImageHandler
,
49810 _swigc__p_wxImageList
,
49811 _swigc__p_wxIndividualLayoutConstraint
,
49812 _swigc__p_wxInitDialogEvent
,
49813 _swigc__p_wxItemContainer
,
49814 _swigc__p_wxJPEGHandler
,
49815 _swigc__p_wxKeyEvent
,
49816 _swigc__p_wxLayoutConstraints
,
49817 _swigc__p_wxListBox
,
49818 _swigc__p_wxListEvent
,
49819 _swigc__p_wxListItem
,
49820 _swigc__p_wxListItemAttr
,
49821 _swigc__p_wxListView
,
49822 _swigc__p_wxListbook
,
49823 _swigc__p_wxListbookEvent
,
49824 _swigc__p_wxMaximizeEvent
,
49825 _swigc__p_wxMemoryDC
,
49827 _swigc__p_wxMenuBar
,
49828 _swigc__p_wxMenuEvent
,
49829 _swigc__p_wxMenuItem
,
49830 _swigc__p_wxMouseCaptureChangedEvent
,
49831 _swigc__p_wxMouseCaptureLostEvent
,
49832 _swigc__p_wxMouseEvent
,
49833 _swigc__p_wxMoveEvent
,
49834 _swigc__p_wxNavigationKeyEvent
,
49835 _swigc__p_wxNcPaintEvent
,
49836 _swigc__p_wxNotebook
,
49837 _swigc__p_wxNotebookEvent
,
49838 _swigc__p_wxNotifyEvent
,
49839 _swigc__p_wxObject
,
49840 _swigc__p_wxPCXHandler
,
49841 _swigc__p_wxPNGHandler
,
49842 _swigc__p_wxPNMHandler
,
49843 _swigc__p_wxPaintEvent
,
49844 _swigc__p_wxPaletteChangedEvent
,
49845 _swigc__p_wxPaperSize
,
49846 _swigc__p_wxPickerBase
,
49849 _swigc__p_wxPyCommandEvent
,
49850 _swigc__p_wxPyControl
,
49851 _swigc__p_wxPyEvent
,
49852 _swigc__p_wxPyImageHandler
,
49853 _swigc__p_wxPyListCtrl
,
49854 _swigc__p_wxPySizer
,
49855 _swigc__p_wxPyTreeCtrl
,
49856 _swigc__p_wxPyTreeItemData
,
49857 _swigc__p_wxPyValidator
,
49858 _swigc__p_wxQueryNewPaletteEvent
,
49859 _swigc__p_wxRadioBox
,
49860 _swigc__p_wxRadioButton
,
49862 _swigc__p_wxScrollBar
,
49863 _swigc__p_wxScrollEvent
,
49864 _swigc__p_wxScrollWinEvent
,
49865 _swigc__p_wxSearchCtrl
,
49866 _swigc__p_wxSetCursorEvent
,
49867 _swigc__p_wxShowEvent
,
49868 _swigc__p_wxSimpleHelpProvider
,
49870 _swigc__p_wxSizeEvent
,
49872 _swigc__p_wxSizerItem
,
49873 _swigc__p_wxSlider
,
49874 _swigc__p_wxSpinButton
,
49875 _swigc__p_wxSpinCtrl
,
49876 _swigc__p_wxSpinEvent
,
49877 _swigc__p_wxStaticBitmap
,
49878 _swigc__p_wxStaticBox
,
49879 _swigc__p_wxStaticBoxSizer
,
49880 _swigc__p_wxStaticLine
,
49881 _swigc__p_wxStaticText
,
49882 _swigc__p_wxStdDialogButtonSizer
,
49883 _swigc__p_wxString
,
49884 _swigc__p_wxSysColourChangedEvent
,
49885 _swigc__p_wxTGAHandler
,
49886 _swigc__p_wxTIFFHandler
,
49887 _swigc__p_wxTextAttr
,
49888 _swigc__p_wxTextCtrl
,
49889 _swigc__p_wxTextUrlEvent
,
49890 _swigc__p_wxToggleButton
,
49891 _swigc__p_wxToolBar
,
49892 _swigc__p_wxToolBarBase
,
49893 _swigc__p_wxToolBarToolBase
,
49894 _swigc__p_wxToolbook
,
49895 _swigc__p_wxToolbookEvent
,
49896 _swigc__p_wxTreeEvent
,
49897 _swigc__p_wxTreeItemId
,
49898 _swigc__p_wxTreebook
,
49899 _swigc__p_wxTreebookEvent
,
49900 _swigc__p_wxUpdateUIEvent
,
49901 _swigc__p_wxValidator
,
49902 _swigc__p_wxVisualAttributes
,
49903 _swigc__p_wxWindow
,
49904 _swigc__p_wxWindowBase
,
49905 _swigc__p_wxWindowCreateEvent
,
49906 _swigc__p_wxWindowDestroyEvent
,
49907 _swigc__p_wxXPMHandler
,
49911 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49913 static swig_const_info swig_const_table
[] = {
49914 {0, 0, 0, 0.0, 0, 0}};
49919 /* -----------------------------------------------------------------------------
49920 * Type initialization:
49921 * This problem is tough by the requirement that no dynamic
49922 * memory is used. Also, since swig_type_info structures store pointers to
49923 * swig_cast_info structures and swig_cast_info structures store pointers back
49924 * to swig_type_info structures, we need some lookup code at initialization.
49925 * The idea is that swig generates all the structures that are needed.
49926 * The runtime then collects these partially filled structures.
49927 * The SWIG_InitializeModule function takes these initial arrays out of
49928 * swig_module, and does all the lookup, filling in the swig_module.types
49929 * array with the correct data and linking the correct swig_cast_info
49930 * structures together.
49932 * The generated swig_type_info structures are assigned staticly to an initial
49933 * array. We just loop though that array, and handle each type individually.
49934 * First we lookup if this type has been already loaded, and if so, use the
49935 * loaded structure instead of the generated one. Then we have to fill in the
49936 * cast linked list. The cast data is initially stored in something like a
49937 * two-dimensional array. Each row corresponds to a type (there are the same
49938 * number of rows as there are in the swig_type_initial array). Each entry in
49939 * a column is one of the swig_cast_info structures for that type.
49940 * The cast_initial array is actually an array of arrays, because each row has
49941 * a variable number of columns. So to actually build the cast linked list,
49942 * we find the array of casts associated with the type, and loop through it
49943 * adding the casts to the list. The one last trick we need to do is making
49944 * sure the type pointer in the swig_cast_info struct is correct.
49946 * First off, we lookup the cast->type name to see if it is already loaded.
49947 * There are three cases to handle:
49948 * 1) If the cast->type has already been loaded AND the type we are adding
49949 * casting info to has not been loaded (it is in this module), THEN we
49950 * replace the cast->type pointer with the type pointer that has already
49952 * 2) If BOTH types (the one we are adding casting info to, and the
49953 * cast->type) are loaded, THEN the cast info has already been loaded by
49954 * the previous module so we just ignore it.
49955 * 3) Finally, if cast->type has not already been loaded, then we add that
49956 * swig_cast_info to the linked list (because the cast->type) pointer will
49958 * ----------------------------------------------------------------------------- */
49968 #define SWIGRUNTIME_DEBUG
49972 SWIG_InitializeModule(void *clientdata
) {
49974 swig_module_info
*module_head
;
49975 static int init_run
= 0;
49977 clientdata
= clientdata
;
49979 if (init_run
) return;
49982 /* Initialize the swig_module */
49983 swig_module
.type_initial
= swig_type_initial
;
49984 swig_module
.cast_initial
= swig_cast_initial
;
49986 /* Try and load any already created modules */
49987 module_head
= SWIG_GetModule(clientdata
);
49989 swig_module
.next
= module_head
->next
;
49990 module_head
->next
= &swig_module
;
49992 /* This is the first module loaded */
49993 swig_module
.next
= &swig_module
;
49994 SWIG_SetModule(clientdata
, &swig_module
);
49997 /* Now work on filling in swig_module.types */
49998 #ifdef SWIGRUNTIME_DEBUG
49999 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50001 for (i
= 0; i
< swig_module
.size
; ++i
) {
50002 swig_type_info
*type
= 0;
50003 swig_type_info
*ret
;
50004 swig_cast_info
*cast
;
50006 #ifdef SWIGRUNTIME_DEBUG
50007 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50010 /* if there is another module already loaded */
50011 if (swig_module
.next
!= &swig_module
) {
50012 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50015 /* Overwrite clientdata field */
50016 #ifdef SWIGRUNTIME_DEBUG
50017 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50019 if (swig_module
.type_initial
[i
]->clientdata
) {
50020 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50021 #ifdef SWIGRUNTIME_DEBUG
50022 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50026 type
= swig_module
.type_initial
[i
];
50029 /* Insert casting types */
50030 cast
= swig_module
.cast_initial
[i
];
50031 while (cast
->type
) {
50032 /* Don't need to add information already in the list */
50034 #ifdef SWIGRUNTIME_DEBUG
50035 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50037 if (swig_module
.next
!= &swig_module
) {
50038 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50039 #ifdef SWIGRUNTIME_DEBUG
50040 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50044 if (type
== swig_module
.type_initial
[i
]) {
50045 #ifdef SWIGRUNTIME_DEBUG
50046 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50051 /* Check for casting already in the list */
50052 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50053 #ifdef SWIGRUNTIME_DEBUG
50054 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50056 if (!ocast
) ret
= 0;
50061 #ifdef SWIGRUNTIME_DEBUG
50062 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50065 type
->cast
->prev
= cast
;
50066 cast
->next
= type
->cast
;
50072 /* Set entry in modules->types array equal to the type */
50073 swig_module
.types
[i
] = type
;
50075 swig_module
.types
[i
] = 0;
50077 #ifdef SWIGRUNTIME_DEBUG
50078 printf("**** SWIG_InitializeModule: Cast List ******\n");
50079 for (i
= 0; i
< swig_module
.size
; ++i
) {
50081 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50082 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50083 while (cast
->type
) {
50084 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50088 printf("---- Total casts: %d\n",j
);
50090 printf("**** SWIG_InitializeModule: Cast List ******\n");
50094 /* This function will propagate the clientdata field of type to
50095 * any new swig_type_info structures that have been added into the list
50096 * of equivalent types. It is like calling
50097 * SWIG_TypeClientData(type, clientdata) a second time.
50100 SWIG_PropagateClientData(void) {
50102 swig_cast_info
*equiv
;
50103 static int init_run
= 0;
50105 if (init_run
) return;
50108 for (i
= 0; i
< swig_module
.size
; i
++) {
50109 if (swig_module
.types
[i
]->clientdata
) {
50110 equiv
= swig_module
.types
[i
]->cast
;
50112 if (!equiv
->converter
) {
50113 if (equiv
->type
&& !equiv
->type
->clientdata
)
50114 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50116 equiv
= equiv
->next
;
50136 /* Python-specific SWIG API */
50137 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50138 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50139 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50141 /* -----------------------------------------------------------------------------
50142 * global variable support code.
50143 * ----------------------------------------------------------------------------- */
50145 typedef struct swig_globalvar
{
50146 char *name
; /* Name of global variable */
50147 PyObject
*(*get_attr
)(void); /* Return the current value */
50148 int (*set_attr
)(PyObject
*); /* Set the value */
50149 struct swig_globalvar
*next
;
50152 typedef struct swig_varlinkobject
{
50154 swig_globalvar
*vars
;
50155 } swig_varlinkobject
;
50157 SWIGINTERN PyObject
*
50158 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50159 return PyString_FromString("<Swig global variables>");
50162 SWIGINTERN PyObject
*
50163 swig_varlink_str(swig_varlinkobject
*v
) {
50164 PyObject
*str
= PyString_FromString("(");
50165 swig_globalvar
*var
;
50166 for (var
= v
->vars
; var
; var
=var
->next
) {
50167 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50168 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50170 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50175 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50176 PyObject
*str
= swig_varlink_str(v
);
50177 fprintf(fp
,"Swig global variables ");
50178 fprintf(fp
,"%s\n", PyString_AsString(str
));
50184 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50185 swig_globalvar
*var
= v
->vars
;
50187 swig_globalvar
*n
= var
->next
;
50194 SWIGINTERN PyObject
*
50195 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50196 PyObject
*res
= NULL
;
50197 swig_globalvar
*var
= v
->vars
;
50199 if (strcmp(var
->name
,n
) == 0) {
50200 res
= (*var
->get_attr
)();
50205 if (res
== NULL
&& !PyErr_Occurred()) {
50206 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50212 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50214 swig_globalvar
*var
= v
->vars
;
50216 if (strcmp(var
->name
,n
) == 0) {
50217 res
= (*var
->set_attr
)(p
);
50222 if (res
== 1 && !PyErr_Occurred()) {
50223 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50228 SWIGINTERN PyTypeObject
*
50229 swig_varlink_type(void) {
50230 static char varlink__doc__
[] = "Swig var link object";
50231 static PyTypeObject varlink_type
;
50232 static int type_init
= 0;
50234 const PyTypeObject tmp
50236 PyObject_HEAD_INIT(NULL
)
50237 0, /* Number of items in variable part (ob_size) */
50238 (char *)"swigvarlink", /* Type name (tp_name) */
50239 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50240 0, /* Itemsize (tp_itemsize) */
50241 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50242 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50243 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50244 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50245 0, /* tp_compare */
50246 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50247 0, /* tp_as_number */
50248 0, /* tp_as_sequence */
50249 0, /* tp_as_mapping */
50252 (reprfunc
)swig_varlink_str
, /* tp_str */
50253 0, /* tp_getattro */
50254 0, /* tp_setattro */
50255 0, /* tp_as_buffer */
50257 varlink__doc__
, /* tp_doc */
50258 0, /* tp_traverse */
50260 0, /* tp_richcompare */
50261 0, /* tp_weaklistoffset */
50262 #if PY_VERSION_HEX >= 0x02020000
50263 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50265 #if PY_VERSION_HEX >= 0x02030000
50268 #ifdef COUNT_ALLOCS
50269 0,0,0,0 /* tp_alloc -> tp_next */
50272 varlink_type
= tmp
;
50273 varlink_type
.ob_type
= &PyType_Type
;
50276 return &varlink_type
;
50279 /* Create a variable linking object for use later */
50280 SWIGINTERN PyObject
*
50281 SWIG_Python_newvarlink(void) {
50282 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50286 return ((PyObject
*) result
);
50290 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50291 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50292 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50294 size_t size
= strlen(name
)+1;
50295 gv
->name
= (char *)malloc(size
);
50297 strncpy(gv
->name
,name
,size
);
50298 gv
->get_attr
= get_attr
;
50299 gv
->set_attr
= set_attr
;
50300 gv
->next
= v
->vars
;
50306 SWIGINTERN PyObject
*
50308 static PyObject
*_SWIG_globals
= 0;
50309 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50310 return _SWIG_globals
;
50313 /* -----------------------------------------------------------------------------
50314 * constants/methods manipulation
50315 * ----------------------------------------------------------------------------- */
50317 /* Install Constants */
50319 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50322 for (i
= 0; constants
[i
].type
; ++i
) {
50323 switch(constants
[i
].type
) {
50324 case SWIG_PY_POINTER
:
50325 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50327 case SWIG_PY_BINARY
:
50328 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50335 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50341 /* -----------------------------------------------------------------------------*/
50342 /* Fix SwigMethods to carry the callback ptrs when needed */
50343 /* -----------------------------------------------------------------------------*/
50346 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50347 swig_const_info
*const_table
,
50348 swig_type_info
**types
,
50349 swig_type_info
**types_initial
) {
50351 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50352 const char *c
= methods
[i
].ml_doc
;
50353 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50355 swig_const_info
*ci
= 0;
50356 const char *name
= c
+ 10;
50357 for (j
= 0; const_table
[j
].type
; ++j
) {
50358 if (strncmp(const_table
[j
].name
, name
,
50359 strlen(const_table
[j
].name
)) == 0) {
50360 ci
= &(const_table
[j
]);
50365 size_t shift
= (ci
->ptype
) - types
;
50366 swig_type_info
*ty
= types_initial
[shift
];
50367 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50368 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50369 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50372 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50374 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50376 strncpy(buff
, "swig_ptr: ", 10);
50378 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50379 methods
[i
].ml_doc
= ndoc
;
50391 /* -----------------------------------------------------------------------------*
50392 * Partial Init method
50393 * -----------------------------------------------------------------------------*/
50398 SWIGEXPORT
void SWIG_init(void) {
50401 /* Fix SwigMethods to carry the callback ptrs when needed */
50402 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50404 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50405 d
= PyModule_GetDict(m
);
50407 SWIG_InitializeModule(0);
50408 SWIG_InstallConstants(d
,swig_const_table
);
50411 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50412 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50413 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50414 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50415 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50416 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50417 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50418 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50419 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50420 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50421 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50422 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50423 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50424 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50425 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50426 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50427 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50428 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50429 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50430 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50431 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50432 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50433 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50434 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50435 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50436 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50437 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50438 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50439 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50440 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50441 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50442 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50443 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50444 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50445 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50446 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50447 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50448 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50449 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50450 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50451 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50452 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50453 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50454 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50455 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50456 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50457 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50458 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50459 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50460 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50461 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50462 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50463 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50464 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50465 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50466 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50467 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50468 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50469 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50470 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50471 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50472 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50473 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50474 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50475 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50476 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50477 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50478 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50479 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50480 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50481 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50482 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50483 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50484 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50489 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50490 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50491 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50492 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50493 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50494 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50495 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50496 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50497 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50498 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50499 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50500 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50501 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50502 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50503 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50504 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50505 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50506 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50507 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50508 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50509 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50510 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50511 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50512 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50513 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50514 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50515 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50516 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50517 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50518 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50519 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50520 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50521 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50522 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50523 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50524 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50525 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50526 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50527 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50528 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50529 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50530 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50531 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50532 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50533 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50534 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50535 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50536 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50537 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50538 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50539 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50540 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50541 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50542 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50543 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50544 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50545 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50546 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50547 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50548 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50549 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50550 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50551 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50552 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50553 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50554 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50555 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50556 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50557 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50558 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50561 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50563 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50564 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50565 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50566 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50567 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50568 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50569 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50570 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50571 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50572 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50573 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50574 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50575 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50576 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50577 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50578 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50579 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50580 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50581 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50582 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50583 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50584 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50585 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50586 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50587 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50588 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50589 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50590 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50591 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50592 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50593 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50594 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50595 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50596 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50597 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50598 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50599 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50600 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50601 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50602 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50603 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50604 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50605 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50606 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50607 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50608 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50609 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50610 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50611 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50612 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50613 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50614 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50615 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50616 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50617 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50618 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50619 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50620 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50621 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50622 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50623 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50624 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50625 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50626 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50627 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50628 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50629 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50630 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50631 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50632 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50633 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50634 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50635 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50636 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50637 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50638 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50639 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50640 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50641 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50642 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50643 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50644 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50645 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50646 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50647 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50648 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50649 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50650 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50651 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50652 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50653 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50654 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50655 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50656 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50658 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50659 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50660 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50661 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50662 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50663 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50664 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50665 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50666 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50667 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50668 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50673 // Map renamed classes back to their common name for OOR
50674 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50676 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50677 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50678 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50679 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50680 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50681 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50682 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50683 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50684 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50685 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50686 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50687 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50688 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50689 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50690 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50691 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50692 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50693 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50694 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50695 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50696 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50697 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50698 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50699 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50700 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50701 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50702 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50703 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50704 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50705 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50706 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50707 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50708 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50709 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50710 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50711 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50713 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50714 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50716 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50717 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50720 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50721 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50722 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50723 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50724 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50725 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50726 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50727 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50728 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50729 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50730 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50731 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50733 // Map renamed classes back to their common name for OOR
50734 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50735 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50737 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50738 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50739 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50740 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50741 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50742 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50743 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50744 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50745 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50746 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50747 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50749 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50751 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50752 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50753 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50754 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50755 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50756 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50757 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50758 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50759 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50760 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50761 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50762 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50763 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50764 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50765 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50766 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50767 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50768 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50769 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50770 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50771 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50772 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50773 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50774 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50775 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50776 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50777 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50778 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50779 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50780 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50781 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50782 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50783 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50784 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50785 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50786 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50787 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50788 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50789 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50790 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50791 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50792 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50793 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50794 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50795 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50796 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50797 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50798 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50799 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL
));
50800 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH
));