1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 PyObject
*swig_obj
[1] ;
6193 if (!args
) SWIG_fail
;
6195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6196 if (!SWIG_IsOK(res1
)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6199 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_From_int(static_cast< int >(result
));
6213 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6216 wxString
*arg2
= 0 ;
6220 bool temp2
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "self",(char *) "string", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6232 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6265 wxString
*arg3
= 0 ;
6270 bool temp3
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 PyObject
* obj2
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "n",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
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 PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxWindow
*arg1
= (wxWindow
*) 0 ;
7445 int arg2
= (int) -1 ;
7446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7452 long arg6
= (long) 0 ;
7453 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7455 wxStaticBox
*result
= 0 ;
7460 bool temp3
= false ;
7465 bool temp7
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7485 if (!SWIG_IsOK(ecode2
)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7488 arg2
= static_cast< int >(val2
);
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7511 if (!SWIG_IsOK(ecode6
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7514 arg6
= static_cast< long >(val6
);
7518 arg7
= wxString_in_helper(obj6
);
7519 if (arg7
== NULL
) SWIG_fail
;
7524 if (!wxPyCheckForApp()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxStaticBox
*result
= 0 ;
7557 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7559 if (!wxPyCheckForApp()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxStaticBox
*)new wxStaticBox();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7572 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7575 wxWindow
*arg2
= (wxWindow
*) 0 ;
7576 int arg3
= (int) -1 ;
7577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7583 long arg7
= (long) 0 ;
7584 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7593 bool temp4
= false ;
7598 bool temp8
= false ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 char * kwnames
[] = {
7608 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7616 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7618 if (!SWIG_IsOK(res2
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7631 arg4
= wxString_in_helper(obj3
);
7632 if (arg4
== NULL
) SWIG_fail
;
7639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7650 if (!SWIG_IsOK(ecode7
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7653 arg7
= static_cast< long >(val7
);
7657 arg8
= wxString_in_helper(obj7
);
7658 if (arg8
== NULL
) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7696 SwigValueWrapper
<wxVisualAttributes
> result
;
7699 PyObject
* obj0
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "variant", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7707 if (!SWIG_IsOK(ecode1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7710 arg1
= static_cast< wxWindowVariant
>(val1
);
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7726 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7729 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7730 return SWIG_Py_Void();
7733 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 return SWIG_Python_InitShadowInstance(args
);
7737 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxWindow
*arg1
= (wxWindow
*) 0 ;
7740 int arg2
= (int) -1 ;
7741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7745 long arg5
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7748 wxStaticLine
*result
= 0 ;
7757 bool temp6
= false ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 PyObject
* obj4
= 0 ;
7763 PyObject
* obj5
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7779 arg2
= static_cast< int >(val2
);
7784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7795 if (!SWIG_IsOK(ecode5
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7798 arg5
= static_cast< long >(val5
);
7802 arg6
= wxString_in_helper(obj5
);
7803 if (arg6
== NULL
) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7829 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxStaticLine
*result
= 0 ;
7833 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxStaticLine
*)new wxStaticLine();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7848 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7852 int arg3
= (int) -1 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxLI_HORIZONTAL
;
7858 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7871 bool temp7
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 PyObject
* obj3
= 0 ;
7876 PyObject
* obj4
= 0 ;
7877 PyObject
* obj5
= 0 ;
7878 PyObject
* obj6
= 0 ;
7879 char * kwnames
[] = {
7880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7888 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7896 if (!SWIG_IsOK(ecode3
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7899 arg3
= static_cast< int >(val3
);
7904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7915 if (!SWIG_IsOK(ecode6
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7918 arg6
= static_cast< long >(val6
);
7922 arg7
= wxString_in_helper(obj6
);
7923 if (arg7
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7951 PyObject
*resultobj
= 0;
7952 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7964 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7984 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)wxStaticLine::GetDefaultSize();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_From_int(static_cast< int >(result
));
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8001 SwigValueWrapper
<wxVisualAttributes
> result
;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "variant", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8012 if (!SWIG_IsOK(ecode1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8015 arg1
= static_cast< wxWindowVariant
>(val1
);
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8031 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8034 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8035 return SWIG_Py_Void();
8038 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 return SWIG_Python_InitShadowInstance(args
);
8042 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxWindow
*arg1
= (wxWindow
*) 0 ;
8045 int arg2
= (int) -1 ;
8046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8052 long arg6
= (long) 0 ;
8053 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8055 wxStaticText
*result
= 0 ;
8060 bool temp3
= false ;
8065 bool temp7
= false ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 PyObject
* obj4
= 0 ;
8071 PyObject
* obj5
= 0 ;
8072 PyObject
* obj6
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8085 if (!SWIG_IsOK(ecode2
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8088 arg2
= static_cast< int >(val2
);
8092 arg3
= wxString_in_helper(obj2
);
8093 if (arg3
== NULL
) SWIG_fail
;
8100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8111 if (!SWIG_IsOK(ecode6
)) {
8112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8114 arg6
= static_cast< long >(val6
);
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxStaticText
*result
= 0 ;
8157 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxStaticText
*)new wxStaticText();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8172 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8175 wxWindow
*arg2
= (wxWindow
*) 0 ;
8176 int arg3
= (int) -1 ;
8177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8183 long arg7
= (long) 0 ;
8184 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp4
= false ;
8198 bool temp8
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8204 PyObject
* obj5
= 0 ;
8205 PyObject
* obj6
= 0 ;
8206 PyObject
* obj7
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8216 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8231 arg4
= wxString_in_helper(obj3
);
8232 if (arg4
== NULL
) SWIG_fail
;
8239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8250 if (!SWIG_IsOK(ecode7
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8253 arg7
= static_cast< long >(val7
);
8257 arg8
= wxString_in_helper(obj7
);
8258 if (arg8
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "width", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8312 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8314 if (!SWIG_IsOK(ecode2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8317 arg2
= static_cast< int >(val2
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8331 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= 0;
8333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8334 SwigValueWrapper
<wxVisualAttributes
> result
;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "variant", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8348 arg1
= static_cast< wxWindowVariant
>(val1
);
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8367 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8368 return SWIG_Py_Void();
8371 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 return SWIG_Python_InitShadowInstance(args
);
8375 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8377 wxWindow
*arg1
= (wxWindow
*) 0 ;
8378 int arg2
= (int) -1 ;
8379 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8380 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8385 long arg6
= (long) 0 ;
8386 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8388 wxStaticBitmap
*result
= 0 ;
8399 bool temp7
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 PyObject
* obj4
= 0 ;
8405 PyObject
* obj5
= 0 ;
8406 PyObject
* obj6
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8426 if (!SWIG_IsOK(res3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8432 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8448 if (!SWIG_IsOK(ecode6
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8451 arg6
= static_cast< long >(val6
);
8455 arg7
= wxString_in_helper(obj6
);
8456 if (arg7
== NULL
) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxStaticBitmap
*result
= 0 ;
8486 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8501 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8504 wxWindow
*arg2
= (wxWindow
*) 0 ;
8505 int arg3
= (int) -1 ;
8506 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8507 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8512 long arg7
= (long) 0 ;
8513 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8528 bool temp8
= false ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8546 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8583 if (!SWIG_IsOK(ecode7
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8586 arg7
= static_cast< long >(val7
);
8590 arg8
= wxString_in_helper(obj7
);
8591 if (arg8
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8632 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (arg1
)->GetBitmap();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8646 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8649 wxBitmap
*arg2
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "bitmap", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8665 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8673 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "icon", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8706 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8708 if (!SWIG_IsOK(res2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8731 SwigValueWrapper
<wxVisualAttributes
> result
;
8734 PyObject
* obj0
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "variant", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8742 if (!SWIG_IsOK(ecode1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8745 arg1
= static_cast< wxWindowVariant
>(val1
);
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8761 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8773 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8778 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8779 PyObject
*pyobj
= 0;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8792 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) -1 ;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8801 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8802 long arg6
= (long) 0 ;
8803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8805 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8807 wxListBox
*result
= 0 ;
8814 bool temp5
= false ;
8819 bool temp8
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8827 PyObject
* obj7
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8840 if (!SWIG_IsOK(ecode2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8843 arg2
= static_cast< int >(val2
);
8848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8859 if (! PySequence_Check(obj4
)) {
8860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8863 arg5
= new wxArrayString
;
8865 int i
, len
=PySequence_Length(obj4
);
8866 for (i
=0; i
<len
; i
++) {
8867 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8868 wxString
* s
= wxString_in_helper(item
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8878 if (!SWIG_IsOK(ecode6
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8881 arg6
= static_cast< long >(val6
);
8884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8885 if (!SWIG_IsOK(res7
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8895 arg8
= wxString_in_helper(obj7
);
8896 if (arg8
== NULL
) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8909 if (temp5
) delete arg5
;
8918 if (temp5
) delete arg5
;
8928 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxListBox
*result
= 0 ;
8932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxListBox
*)new wxListBox();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*arg1
= (wxListBox
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 int arg3
= (int) -1 ;
8952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8958 long arg7
= (long) 0 ;
8959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8961 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8972 bool temp6
= false ;
8977 bool temp9
= false ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 PyObject
* obj3
= 0 ;
8982 PyObject
* obj4
= 0 ;
8983 PyObject
* obj5
= 0 ;
8984 PyObject
* obj6
= 0 ;
8985 PyObject
* obj7
= 0 ;
8986 PyObject
* obj8
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8996 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9004 if (!SWIG_IsOK(ecode3
)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9007 arg3
= static_cast< int >(val3
);
9012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9023 if (! PySequence_Check(obj5
)) {
9024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9027 arg6
= new wxArrayString
;
9029 int i
, len
=PySequence_Length(obj5
);
9030 for (i
=0; i
<len
; i
++) {
9031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9032 wxString
* s
= wxString_in_helper(item
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9042 if (!SWIG_IsOK(ecode7
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9045 arg7
= static_cast< long >(val7
);
9048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9049 if (!SWIG_IsOK(res8
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9059 arg9
= wxString_in_helper(obj8
);
9060 if (arg9
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 if (temp6
) delete arg6
;
9083 if (temp6
) delete arg6
;
9093 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxListBox
*arg1
= (wxListBox
*) 0 ;
9096 wxString
*arg2
= 0 ;
9098 PyObject
*arg4
= (PyObject
*) NULL
;
9101 bool temp2
= false ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9117 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9124 if (!SWIG_IsOK(ecode3
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9127 arg3
= static_cast< int >(val3
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxListBox
*arg1
= (wxListBox
*) 0 ;
9155 wxArrayString
*arg2
= 0 ;
9159 bool temp2
= false ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "items",(char *) "pos", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9174 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9176 if (! PySequence_Check(obj1
)) {
9177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9180 arg2
= new wxArrayString
;
9182 int i
, len
=PySequence_Length(obj1
);
9183 for (i
=0; i
<len
; i
++) {
9184 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9185 wxString
* s
= wxString_in_helper(item
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9192 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9196 arg3
= static_cast< unsigned int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9205 if (temp2
) delete arg2
;
9210 if (temp2
) delete arg2
;
9216 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxListBox
*arg1
= (wxListBox
*) 0 ;
9219 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "items", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9234 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9236 if (! PySequence_Check(obj1
)) {
9237 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9240 arg2
= new wxArrayString
;
9242 int i
, len
=PySequence_Length(obj1
);
9243 for (i
=0; i
<len
; i
++) {
9244 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9245 wxString
* s
= wxString_in_helper(item
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->Set((wxArrayString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (temp2
) delete arg2
;
9265 if (temp2
) delete arg2
;
9271 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxListBox
*arg1
= (wxListBox
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "n", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9291 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9293 if (!SWIG_IsOK(ecode2
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9296 arg2
= static_cast< int >(val2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 bool arg3
= (bool) true ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "n",(char *) "select", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9335 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9346 arg3
= static_cast< bool >(val3
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetSelection(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "n", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9380 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->Select(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "n", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9418 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->Deselect(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxListBox
*arg1
= (wxListBox
*) 0 ;
9440 int arg2
= (int) -1 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "itemToLeaveSelected", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9456 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->DeselectAll(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxListBox
*arg1
= (wxListBox
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 bool arg3
= (bool) true ;
9485 bool temp2
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "s",(char *) "select", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9508 if (!SWIG_IsOK(ecode3
)) {
9509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9511 arg3
= static_cast< bool >(val3
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9539 PyObject
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9564 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxListBox
*arg1
= (wxListBox
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "n", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9583 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetFirstItem(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "s", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9620 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9622 arg2
= wxString_in_helper(obj1
);
9623 if (arg2
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "n", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9668 if (!SWIG_IsOK(ecode2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9671 arg2
= static_cast< int >(val2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->EnsureVisible(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9688 wxString
*arg2
= 0 ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "s", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9703 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 PyObject
*swig_obj
[1] ;
9738 if (!args
) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9744 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxListBox
*arg1
= (wxListBox
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "pt", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9779 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9801 wxColour
*arg3
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "item",(char *) "c", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9819 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxListBox
*arg1
= (wxListBox
*) 0 ;
9846 wxColour
*arg3
= 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "item",(char *) "c", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9864 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxListBox
*arg1
= (wxListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "item",(char *) "f", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9912 if (!SWIG_IsOK(ecode2
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9915 arg2
= static_cast< int >(val2
);
9916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9917 if (!SWIG_IsOK(res3
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9940 SwigValueWrapper
<wxVisualAttributes
> result
;
9943 PyObject
* obj0
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "variant", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9951 if (!SWIG_IsOK(ecode1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9954 arg1
= static_cast< wxWindowVariant
>(val1
);
9957 if (!wxPyCheckForApp()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9970 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9973 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9974 return SWIG_Py_Void();
9977 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 return SWIG_Python_InitShadowInstance(args
);
9981 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxWindow
*arg1
= (wxWindow
*) 0 ;
9984 int arg2
= (int) -1 ;
9985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9991 long arg6
= (long) 0 ;
9992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9996 wxCheckListBox
*result
= 0 ;
10003 bool temp5
= false ;
10008 bool temp8
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 PyObject
* obj4
= 0 ;
10014 PyObject
* obj5
= 0 ;
10015 PyObject
* obj6
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10048 if (! PySequence_Check(obj4
)) {
10049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10052 arg5
= new wxArrayString
;
10054 int i
, len
=PySequence_Length(obj4
);
10055 for (i
=0; i
<len
; i
++) {
10056 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10057 wxString
* s
= wxString_in_helper(item
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10067 if (!SWIG_IsOK(ecode6
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10070 arg6
= static_cast< long >(val6
);
10073 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10074 if (!SWIG_IsOK(res7
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10080 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10084 arg8
= wxString_in_helper(obj7
);
10085 if (arg8
== NULL
) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10098 if (temp5
) delete arg5
;
10107 if (temp5
) delete arg5
;
10117 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxCheckListBox
*result
= 0 ;
10121 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCheckListBox
*)new wxCheckListBox();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10136 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10146 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10147 long arg7
= (long) 0 ;
10148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10150 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10161 bool temp6
= false ;
10166 bool temp9
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 PyObject
* obj3
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10185 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res2
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10193 if (!SWIG_IsOK(ecode3
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10196 arg3
= static_cast< int >(val3
);
10201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10212 if (! PySequence_Check(obj5
)) {
10213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10216 arg6
= new wxArrayString
;
10218 int i
, len
=PySequence_Length(obj5
);
10219 for (i
=0; i
<len
; i
++) {
10220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10221 wxString
* s
= wxString_in_helper(item
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10231 if (!SWIG_IsOK(ecode7
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10234 arg7
= static_cast< long >(val7
);
10237 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10238 if (!SWIG_IsOK(res8
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10244 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10248 arg9
= wxString_in_helper(obj8
);
10249 if (arg9
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 if (temp6
) delete arg6
;
10272 if (temp6
) delete arg6
;
10282 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10285 unsigned int arg2
;
10289 unsigned int val2
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "index", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10302 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10307 arg2
= static_cast< unsigned int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsChecked(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10326 unsigned int arg2
;
10327 int arg3
= (int) true ;
10330 unsigned int val2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "index",(char *) "check", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10346 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10347 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10348 if (!SWIG_IsOK(ecode2
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10351 arg2
= static_cast< unsigned int >(val2
);
10353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10354 if (!SWIG_IsOK(ecode3
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10357 arg3
= static_cast< int >(val3
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->Check(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10375 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10376 return SWIG_Py_Void();
10379 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 return SWIG_Python_InitShadowInstance(args
);
10383 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10384 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10389 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10390 PyObject
*pyobj
= 0;
10394 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10396 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10403 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxColour
const &arg1_defvalue
= wxNullColour
;
10406 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10407 wxColour
const &arg2_defvalue
= wxNullColour
;
10408 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10409 wxFont
const &arg3_defvalue
= wxNullFont
;
10410 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10411 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10412 wxTextAttr
*result
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 PyObject
* obj2
= 0 ;
10422 PyObject
* obj3
= 0 ;
10423 char * kwnames
[] = {
10424 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10431 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10442 if (!SWIG_IsOK(res3
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10448 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10452 if (!SWIG_IsOK(ecode4
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10455 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10470 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10483 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_Py_Void();
10498 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10511 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10527 wxTextAttr
*arg1
= 0 ;
10528 wxTextAttr
*arg2
= 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char * kwnames
[] = {
10537 (char *) "base",(char *) "overlay", NULL
10540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10541 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10548 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10550 if (!SWIG_IsOK(res2
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10556 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10570 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10573 wxColour
*arg2
= 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char * kwnames
[] = {
10580 (char *) "self",(char *) "colText", NULL
10583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10588 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_Py_Void();
10606 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10609 wxColour
*arg2
= 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "self",(char *) "colBack", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10624 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_Py_Void();
10642 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10646 long arg3
= (long) wxTEXT_ATTR_FONT
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char * kwnames
[] = {
10657 (char *) "self",(char *) "font",(char *) "flags", NULL
10660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10665 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10667 if (!SWIG_IsOK(res2
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10673 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10675 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10676 if (!SWIG_IsOK(ecode3
)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10679 arg3
= static_cast< long >(val3
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_Py_Void();
10694 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
= 0;
10696 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10697 wxTextAttrAlignment arg2
;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "alignment", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) 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_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10715 if (!SWIG_IsOK(ecode2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10718 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetAlignment(arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_Py_Void();
10732 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
= 0;
10734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10735 wxArrayInt
*arg2
= 0 ;
10738 bool temp2
= false ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "tabs", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10750 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10752 if (! PySequence_Check(obj1
)) {
10753 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10756 arg2
= new wxArrayInt
;
10758 int i
, len
=PySequence_Length(obj1
);
10759 for (i
=0; i
<len
; i
++) {
10760 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10761 PyObject
* number
= PyNumber_Int(item
);
10762 arg2
->Add(PyInt_AS_LONG(number
));
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10775 if (temp2
) delete arg2
;
10780 if (temp2
) delete arg2
;
10786 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= 0;
10788 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10790 int arg3
= (int) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 PyObject
* obj2
= 0 ;
10800 char * kwnames
[] = {
10801 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10809 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10811 if (!SWIG_IsOK(ecode2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10814 arg2
= static_cast< int >(val2
);
10816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10817 if (!SWIG_IsOK(ecode3
)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10820 arg3
= static_cast< int >(val3
);
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetLeftIndent(arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_Py_Void();
10835 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= 0;
10837 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "self",(char *) "indent", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10854 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10856 if (!SWIG_IsOK(ecode2
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10859 arg2
= static_cast< int >(val2
);
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetRightIndent(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_Py_Void();
10873 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "flags", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10892 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10894 if (!SWIG_IsOK(ecode2
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10897 arg2
= static_cast< long >(val2
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetFlags(arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_Py_Void();
10911 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10912 PyObject
*resultobj
= 0;
10913 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10917 PyObject
*swig_obj
[1] ;
10919 if (!args
) SWIG_fail
;
10920 swig_obj
[0] = args
;
10921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10925 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10941 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10942 PyObject
*resultobj
= 0;
10943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10947 PyObject
*swig_obj
[1] ;
10949 if (!args
) SWIG_fail
;
10950 swig_obj
[0] = args
;
10951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10955 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10971 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10972 PyObject
*resultobj
= 0;
10973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10977 PyObject
*swig_obj
[1] ;
10979 if (!args
) SWIG_fail
;
10980 swig_obj
[0] = args
;
10981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10982 if (!SWIG_IsOK(res1
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10985 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11015 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11032 PyObject
*resultobj
= 0;
11033 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11037 PyObject
*swig_obj
[1] ;
11039 if (!args
) SWIG_fail
;
11040 swig_obj
[0] = args
;
11041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11045 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11061 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11062 PyObject
*resultobj
= 0;
11063 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11067 PyObject
*swig_obj
[1] ;
11069 if (!args
) SWIG_fail
;
11070 swig_obj
[0] = args
;
11071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11072 if (!SWIG_IsOK(res1
)) {
11073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11075 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 PyObject
*resultobj
= 0;
11093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11097 PyObject
*swig_obj
[1] ;
11099 if (!args
) SWIG_fail
;
11100 swig_obj
[0] = args
;
11101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11105 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11121 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "flag", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11141 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11143 if (!SWIG_IsOK(ecode2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11146 arg2
= static_cast< long >(val2
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 wxColour
*result
= 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11176 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11181 result
= (wxColour
*) &_result_ref
;
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11193 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11194 PyObject
*resultobj
= 0;
11195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11196 wxColour
*result
= 0 ;
11199 PyObject
*swig_obj
[1] ;
11201 if (!args
) SWIG_fail
;
11202 swig_obj
[0] = args
;
11203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11207 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11212 result
= (wxColour
*) &_result_ref
;
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11224 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11227 wxFont
*result
= 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11238 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11243 result
= (wxFont
*) &_result_ref
;
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 wxFont
* resultptr
= new wxFont(*result
);
11250 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxTextAttrAlignment result
;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= SWIG_From_int(static_cast< int >(result
));
11286 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 PyObject
*resultobj
= 0;
11288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11289 wxArrayInt
*result
= 0 ;
11292 PyObject
*swig_obj
[1] ;
11294 if (!args
) SWIG_fail
;
11295 swig_obj
[0] = args
;
11296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11305 result
= (wxArrayInt
*) &_result_ref
;
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= PyList_New(0);
11313 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11314 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11315 PyList_Append(resultobj
, val
);
11325 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11339 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_long(static_cast< long >(result
));
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_From_long(static_cast< long >(result
));
11437 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11438 PyObject
*resultobj
= 0;
11439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11451 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11467 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
= 0;
11469 wxTextAttr
*arg1
= 0 ;
11470 wxTextAttr
*arg2
= 0 ;
11471 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 PyObject
* obj2
= 0 ;
11482 char * kwnames
[] = {
11483 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11487 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11488 if (!SWIG_IsOK(res1
)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11494 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11496 if (!SWIG_IsOK(res2
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11502 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11503 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11504 if (!SWIG_IsOK(res3
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11507 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11521 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11524 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11525 return SWIG_Py_Void();
11528 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 return SWIG_Python_InitShadowInstance(args
);
11532 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
= 0;
11534 wxWindow
*arg1
= (wxWindow
*) 0 ;
11535 int arg2
= (int) -1 ;
11536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11542 long arg6
= (long) 0 ;
11543 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11544 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11545 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11547 wxTextCtrl
*result
= 0 ;
11552 bool temp3
= false ;
11559 bool temp8
= false ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 PyObject
* obj2
= 0 ;
11563 PyObject
* obj3
= 0 ;
11564 PyObject
* obj4
= 0 ;
11565 PyObject
* obj5
= 0 ;
11566 PyObject
* obj6
= 0 ;
11567 PyObject
* obj7
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11580 if (!SWIG_IsOK(ecode2
)) {
11581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11583 arg2
= static_cast< int >(val2
);
11587 arg3
= wxString_in_helper(obj2
);
11588 if (arg3
== NULL
) SWIG_fail
;
11595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11606 if (!SWIG_IsOK(ecode6
)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11609 arg6
= static_cast< long >(val6
);
11612 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11613 if (!SWIG_IsOK(res7
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11619 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11623 arg8
= wxString_in_helper(obj7
);
11624 if (arg8
== NULL
) SWIG_fail
;
11629 if (!wxPyCheckForApp()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11658 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxTextCtrl
*result
= 0 ;
11662 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11664 if (!wxPyCheckForApp()) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxTextCtrl
*)new wxTextCtrl();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11677 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
= 0;
11679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11680 wxWindow
*arg2
= (wxWindow
*) 0 ;
11681 int arg3
= (int) -1 ;
11682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11688 long arg7
= (long) 0 ;
11689 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11690 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11691 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11692 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11700 bool temp4
= false ;
11707 bool temp9
= false ;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 PyObject
* obj4
= 0 ;
11713 PyObject
* obj5
= 0 ;
11714 PyObject
* obj6
= 0 ;
11715 PyObject
* obj7
= 0 ;
11716 PyObject
* obj8
= 0 ;
11717 char * kwnames
[] = {
11718 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11723 if (!SWIG_IsOK(res1
)) {
11724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11726 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11728 if (!SWIG_IsOK(res2
)) {
11729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11734 if (!SWIG_IsOK(ecode3
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11737 arg3
= static_cast< int >(val3
);
11741 arg4
= wxString_in_helper(obj3
);
11742 if (arg4
== NULL
) SWIG_fail
;
11749 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11755 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11759 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11760 if (!SWIG_IsOK(ecode7
)) {
11761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11763 arg7
= static_cast< long >(val7
);
11766 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11767 if (!SWIG_IsOK(res8
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11773 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11777 arg9
= wxString_in_helper(obj8
);
11778 if (arg9
== NULL
) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 PyObject
*resultobj
= 0;
11815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11819 PyObject
*swig_obj
[1] ;
11821 if (!args
) SWIG_fail
;
11822 swig_obj
[0] = args
;
11823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11824 if (!SWIG_IsOK(res1
)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11827 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11847 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
= 0;
11849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11850 wxString
*arg2
= 0 ;
11853 bool temp2
= false ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char * kwnames
[] = {
11857 (char *) "self",(char *) "value", NULL
11860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11865 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11867 arg2
= wxString_in_helper(obj1
);
11868 if (arg2
== NULL
) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 (arg1
)->SetValue((wxString
const &)*arg2
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= SWIG_Py_Void();
11892 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 PyObject
* obj2
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "from",(char *) "to", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11918 if (!SWIG_IsOK(ecode2
)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11921 arg2
= static_cast< long >(val2
);
11922 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11923 if (!SWIG_IsOK(ecode3
)) {
11924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11926 arg3
= static_cast< long >(val3
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11946 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
= 0;
11948 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char * kwnames
[] = {
11958 (char *) "self",(char *) "lineNo", NULL
11961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11966 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11968 if (!SWIG_IsOK(ecode2
)) {
11969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11971 arg2
= static_cast< long >(val2
);
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_From_int(static_cast< int >(result
));
11985 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
= 0;
11987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "lineNo", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12005 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12006 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12007 if (!SWIG_IsOK(ecode2
)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12010 arg2
= static_cast< long >(val2
);
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12030 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_From_int(static_cast< int >(result
));
12058 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12088 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12089 PyObject
*resultobj
= 0;
12090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12094 PyObject
*swig_obj
[1] ;
12096 if (!args
) SWIG_fail
;
12097 swig_obj
[0] = args
;
12098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12102 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12118 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12119 PyObject
*resultobj
= 0;
12120 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12124 PyObject
*swig_obj
[1] ;
12126 if (!args
) SWIG_fail
;
12127 swig_obj
[0] = args
;
12128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12129 if (!SWIG_IsOK(res1
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12132 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12148 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12149 PyObject
*resultobj
= 0;
12150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12154 PyObject
*swig_obj
[1] ;
12156 if (!args
) SWIG_fail
;
12157 swig_obj
[0] = args
;
12158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12159 if (!SWIG_IsOK(res1
)) {
12160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12162 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12178 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12181 long *arg2
= (long *) 0 ;
12182 long *arg3
= (long *) 0 ;
12186 int res2
= SWIG_TMPOBJ
;
12188 int res3
= SWIG_TMPOBJ
;
12189 PyObject
*swig_obj
[1] ;
12193 if (!args
) SWIG_fail
;
12194 swig_obj
[0] = args
;
12195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12199 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= SWIG_Py_Void();
12207 if (SWIG_IsTmpObj(res2
)) {
12208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12210 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12213 if (SWIG_IsTmpObj(res3
)) {
12214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12216 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12225 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12231 PyObject
*swig_obj
[1] ;
12233 if (!args
) SWIG_fail
;
12234 swig_obj
[0] = args
;
12235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12239 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12259 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12260 PyObject
*resultobj
= 0;
12261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12264 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12272 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_Py_Void();
12286 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= 0;
12288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12291 wxString
*arg4
= 0 ;
12298 bool temp4
= false ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 PyObject
* obj2
= 0 ;
12302 PyObject
* obj3
= 0 ;
12303 char * kwnames
[] = {
12304 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12314 if (!SWIG_IsOK(ecode2
)) {
12315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12317 arg2
= static_cast< long >(val2
);
12318 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12319 if (!SWIG_IsOK(ecode3
)) {
12320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12322 arg3
= static_cast< long >(val3
);
12324 arg4
= wxString_in_helper(obj3
);
12325 if (arg4
== NULL
) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= 0;
12351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 PyObject
* obj2
= 0 ;
12363 char * kwnames
[] = {
12364 (char *) "self",(char *) "from",(char *) "to", NULL
12367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12369 if (!SWIG_IsOK(res1
)) {
12370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12372 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12374 if (!SWIG_IsOK(ecode2
)) {
12375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12377 arg2
= static_cast< long >(val2
);
12378 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12379 if (!SWIG_IsOK(ecode3
)) {
12380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12382 arg3
= static_cast< long >(val3
);
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->Remove(arg2
,arg3
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_Py_Void();
12396 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= 0;
12398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12399 wxString
*arg2
= 0 ;
12400 int arg3
= (int) wxTEXT_TYPE_ANY
;
12404 bool temp2
= false ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 PyObject
* obj2
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "self",(char *) "file",(char *) "fileType", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12421 arg2
= wxString_in_helper(obj1
);
12422 if (arg2
== NULL
) SWIG_fail
;
12426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12427 if (!SWIG_IsOK(ecode3
)) {
12428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12430 arg3
= static_cast< int >(val3
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12455 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
= 0;
12457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12458 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12459 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12460 int arg3
= (int) wxTEXT_TYPE_ANY
;
12464 bool temp2
= false ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 PyObject
* obj2
= 0 ;
12470 char * kwnames
[] = {
12471 (char *) "self",(char *) "file",(char *) "fileType", NULL
12474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12479 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12482 arg2
= wxString_in_helper(obj1
);
12483 if (arg2
== NULL
) SWIG_fail
;
12488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12489 if (!SWIG_IsOK(ecode3
)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12492 arg3
= static_cast< int >(val3
);
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12530 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->MarkDirty();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12557 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 (arg1
)->DiscardEdits();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_Py_Void();
12571 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char * kwnames
[] = {
12582 (char *) "self",(char *) "modified", NULL
12585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12590 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12591 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12595 arg2
= static_cast< bool >(val2
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetModified(arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_Py_Void();
12609 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12612 unsigned long arg2
;
12615 unsigned long val2
;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char * kwnames
[] = {
12620 (char *) "self",(char *) "len", NULL
12623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12628 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12629 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12630 if (!SWIG_IsOK(ecode2
)) {
12631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12633 arg2
= static_cast< unsigned long >(val2
);
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->SetMaxLength(arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12650 wxString
*arg2
= 0 ;
12653 bool temp2
= false ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "text", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12665 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12667 arg2
= wxString_in_helper(obj1
);
12668 if (arg2
== NULL
) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->WriteText((wxString
const &)*arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= 0;
12694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12695 wxString
*arg2
= 0 ;
12698 bool temp2
= false ;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 char * kwnames
[] = {
12702 (char *) "self",(char *) "text", NULL
12705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12707 if (!SWIG_IsOK(res1
)) {
12708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12710 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12712 arg2
= wxString_in_helper(obj1
);
12713 if (arg2
== NULL
) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->AppendText((wxString
const &)*arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_Py_Void();
12737 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
= 0;
12739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12740 wxKeyEvent
*arg2
= 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "self",(char *) "event", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12759 if (!SWIG_IsOK(res2
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12765 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12781 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12783 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12786 wxTextAttr
*arg4
= 0 ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 PyObject
* obj2
= 0 ;
12799 PyObject
* obj3
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12811 if (!SWIG_IsOK(ecode2
)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12814 arg2
= static_cast< long >(val2
);
12815 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12816 if (!SWIG_IsOK(ecode3
)) {
12817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12819 arg3
= static_cast< long >(val3
);
12820 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12821 if (!SWIG_IsOK(res4
)) {
12822 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12827 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12843 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12847 wxTextAttr
*arg3
= 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 PyObject
* obj2
= 0 ;
12858 char * kwnames
[] = {
12859 (char *) "self",(char *) "position",(char *) "style", NULL
12862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12867 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12868 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12869 if (!SWIG_IsOK(ecode2
)) {
12870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12872 arg2
= static_cast< long >(val2
);
12873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12874 if (!SWIG_IsOK(res3
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12880 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12899 wxTextAttr
*arg2
= 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char * kwnames
[] = {
12908 (char *) "self",(char *) "style", NULL
12911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12918 if (!SWIG_IsOK(res2
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12924 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12940 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12941 PyObject
*resultobj
= 0;
12942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12943 wxTextAttr
*result
= 0 ;
12946 PyObject
*swig_obj
[1] ;
12948 if (!args
) SWIG_fail
;
12949 swig_obj
[0] = args
;
12950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12951 if (!SWIG_IsOK(res1
)) {
12952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12954 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12959 result
= (wxTextAttr
*) &_result_ref
;
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12971 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
= 0;
12973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12983 PyObject
* obj0
= 0 ;
12984 PyObject
* obj1
= 0 ;
12985 PyObject
* obj2
= 0 ;
12986 char * kwnames
[] = {
12987 (char *) "self",(char *) "x",(char *) "y", NULL
12990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12992 if (!SWIG_IsOK(res1
)) {
12993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12995 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12996 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12997 if (!SWIG_IsOK(ecode2
)) {
12998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13000 arg2
= static_cast< long >(val2
);
13001 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13002 if (!SWIG_IsOK(ecode3
)) {
13003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13005 arg3
= static_cast< long >(val3
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_From_long(static_cast< long >(result
));
13019 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13023 long *arg3
= (long *) 0 ;
13024 long *arg4
= (long *) 0 ;
13030 int res3
= SWIG_TMPOBJ
;
13032 int res4
= SWIG_TMPOBJ
;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char * kwnames
[] = {
13036 (char *) "self",(char *) "pos", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13046 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13048 if (!SWIG_IsOK(ecode2
)) {
13049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13051 arg2
= static_cast< long >(val2
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_Py_Void();
13059 if (SWIG_IsTmpObj(res3
)) {
13060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13062 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13065 if (SWIG_IsTmpObj(res4
)) {
13066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13068 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13077 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
= 0;
13079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 char * kwnames
[] = {
13088 (char *) "self",(char *) "pos", NULL
13091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13093 if (!SWIG_IsOK(res1
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13096 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13098 if (!SWIG_IsOK(ecode2
)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13101 arg2
= static_cast< long >(val2
);
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->ShowPosition(arg2
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_Py_Void();
13115 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
= 0;
13117 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13118 wxPoint
*arg2
= 0 ;
13119 long *arg3
= (long *) 0 ;
13120 long *arg4
= (long *) 0 ;
13121 wxTextCtrlHitTestResult result
;
13126 int res3
= SWIG_TMPOBJ
;
13128 int res4
= SWIG_TMPOBJ
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "self",(char *) "pt", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13142 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_From_int(static_cast< int >(result
));
13154 if (SWIG_IsTmpObj(res3
)) {
13155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13160 if (SWIG_IsTmpObj(res4
)) {
13161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13163 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13172 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
= 0;
13174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13175 wxPoint
*arg2
= 0 ;
13176 long *arg3
= (long *) 0 ;
13177 wxTextCtrlHitTestResult result
;
13182 int res3
= SWIG_TMPOBJ
;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char * kwnames
[] = {
13186 (char *) "self",(char *) "pt", NULL
13190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13192 if (!SWIG_IsOK(res1
)) {
13193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13195 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_From_int(static_cast< int >(result
));
13207 if (SWIG_IsTmpObj(res3
)) {
13208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13210 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13219 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 PyObject
*resultobj
= 0;
13221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13224 PyObject
*swig_obj
[1] ;
13226 if (!args
) SWIG_fail
;
13227 swig_obj
[0] = args
;
13228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13229 if (!SWIG_IsOK(res1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13232 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_Py_Void();
13246 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 PyObject
*resultobj
= 0;
13248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13251 PyObject
*swig_obj
[1] ;
13253 if (!args
) SWIG_fail
;
13254 swig_obj
[0] = args
;
13255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13256 if (!SWIG_IsOK(res1
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13259 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= SWIG_Py_Void();
13273 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13274 PyObject
*resultobj
= 0;
13275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13278 PyObject
*swig_obj
[1] ;
13280 if (!args
) SWIG_fail
;
13281 swig_obj
[0] = args
;
13282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_Py_Void();
13300 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13301 PyObject
*resultobj
= 0;
13302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13306 PyObject
*swig_obj
[1] ;
13308 if (!args
) SWIG_fail
;
13309 swig_obj
[0] = args
;
13310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13311 if (!SWIG_IsOK(res1
)) {
13312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13314 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13330 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13331 PyObject
*resultobj
= 0;
13332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13336 PyObject
*swig_obj
[1] ;
13338 if (!args
) SWIG_fail
;
13339 swig_obj
[0] = args
;
13340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13341 if (!SWIG_IsOK(res1
)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13344 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13360 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13361 PyObject
*resultobj
= 0;
13362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13366 PyObject
*swig_obj
[1] ;
13368 if (!args
) SWIG_fail
;
13369 swig_obj
[0] = args
;
13370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13371 if (!SWIG_IsOK(res1
)) {
13372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13374 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13395 PyObject
*swig_obj
[1] ;
13397 if (!args
) SWIG_fail
;
13398 swig_obj
[0] = args
;
13399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13400 if (!SWIG_IsOK(res1
)) {
13401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13403 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_Py_Void();
13417 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13418 PyObject
*resultobj
= 0;
13419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13422 PyObject
*swig_obj
[1] ;
13424 if (!args
) SWIG_fail
;
13425 swig_obj
[0] = args
;
13426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13427 if (!SWIG_IsOK(res1
)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13430 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13445 PyObject
*resultobj
= 0;
13446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13450 PyObject
*swig_obj
[1] ;
13452 if (!args
) SWIG_fail
;
13453 swig_obj
[0] = args
;
13454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13455 if (!SWIG_IsOK(res1
)) {
13456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13458 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13474 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13480 PyObject
*swig_obj
[1] ;
13482 if (!args
) SWIG_fail
;
13483 swig_obj
[0] = args
;
13484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13488 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
= 0;
13506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "self",(char *) "pos", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13525 if (!SWIG_IsOK(ecode2
)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13528 arg2
= static_cast< long >(val2
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->SetInsertionPoint(arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13543 PyObject
*resultobj
= 0;
13544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13547 PyObject
*swig_obj
[1] ;
13549 if (!args
) SWIG_fail
;
13550 swig_obj
[0] = args
;
13551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 (arg1
)->SetInsertionPointEnd();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= SWIG_Py_Void();
13569 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13570 PyObject
*resultobj
= 0;
13571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13575 PyObject
*swig_obj
[1] ;
13577 if (!args
) SWIG_fail
;
13578 swig_obj
[0] = args
;
13579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_From_long(static_cast< long >(result
));
13597 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13598 PyObject
*resultobj
= 0;
13599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13603 PyObject
*swig_obj
[1] ;
13605 if (!args
) SWIG_fail
;
13606 swig_obj
[0] = args
;
13607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13608 if (!SWIG_IsOK(res1
)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13611 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_From_long(static_cast< long >(result
));
13625 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "self",(char *) "from",(char *) "to", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13648 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13649 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13650 if (!SWIG_IsOK(ecode2
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13653 arg2
= static_cast< long >(val2
);
13654 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13655 if (!SWIG_IsOK(ecode3
)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13658 arg3
= static_cast< long >(val3
);
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->SetSelection(arg2
,arg3
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_Py_Void();
13672 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13673 PyObject
*resultobj
= 0;
13674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13677 PyObject
*swig_obj
[1] ;
13679 if (!args
) SWIG_fail
;
13680 swig_obj
[0] = args
;
13681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13682 if (!SWIG_IsOK(res1
)) {
13683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13685 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 (arg1
)->SelectAll();
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= SWIG_Py_Void();
13699 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
= 0;
13701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char * kwnames
[] = {
13710 (char *) "self",(char *) "editable", NULL
13713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13715 if (!SWIG_IsOK(res1
)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13720 if (!SWIG_IsOK(ecode2
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13723 arg2
= static_cast< bool >(val2
);
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 (arg1
)->SetEditable(arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_Py_Void();
13737 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
= 0;
13739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13740 wxString
*arg2
= 0 ;
13743 bool temp2
= false ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char * kwnames
[] = {
13747 (char *) "self",(char *) "text", NULL
13750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13755 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13757 arg2
= wxString_in_helper(obj1
);
13758 if (arg2
== NULL
) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_Py_Void();
13782 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
= 0;
13784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "self",(char *) "from",(char *) "to", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13806 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13807 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13808 if (!SWIG_IsOK(ecode2
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13811 arg2
= static_cast< long >(val2
);
13812 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13813 if (!SWIG_IsOK(ecode3
)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13816 arg3
= static_cast< long >(val3
);
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13836 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
= 0;
13838 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13839 SwigValueWrapper
<wxVisualAttributes
> result
;
13842 PyObject
* obj0
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "variant", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13850 if (!SWIG_IsOK(ecode1
)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13853 arg1
= static_cast< wxWindowVariant
>(val1
);
13856 if (!wxPyCheckForApp()) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13869 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13872 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13873 return SWIG_Py_Void();
13876 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13877 return SWIG_Python_InitShadowInstance(args
);
13880 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13883 wxMouseEvent
*arg2
= 0 ;
13886 wxTextUrlEvent
*result
= 0 ;
13895 PyObject
* obj0
= 0 ;
13896 PyObject
* obj1
= 0 ;
13897 PyObject
* obj2
= 0 ;
13898 PyObject
* obj3
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13904 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13905 if (!SWIG_IsOK(ecode1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13908 arg1
= static_cast< int >(val1
);
13909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13910 if (!SWIG_IsOK(res2
)) {
13911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13916 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13917 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13918 if (!SWIG_IsOK(ecode3
)) {
13919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13921 arg3
= static_cast< long >(val3
);
13922 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13923 if (!SWIG_IsOK(ecode4
)) {
13924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13926 arg4
= static_cast< long >(val4
);
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13940 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13941 PyObject
*resultobj
= 0;
13942 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13943 wxMouseEvent
*result
= 0 ;
13946 PyObject
*swig_obj
[1] ;
13948 if (!args
) SWIG_fail
;
13949 swig_obj
[0] = args
;
13950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13951 if (!SWIG_IsOK(res1
)) {
13952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13954 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13959 result
= (wxMouseEvent
*) &_result_ref
;
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13971 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13977 PyObject
*swig_obj
[1] ;
13979 if (!args
) SWIG_fail
;
13980 swig_obj
[0] = args
;
13981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13982 if (!SWIG_IsOK(res1
)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13985 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_From_long(static_cast< long >(result
));
13999 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14000 PyObject
*resultobj
= 0;
14001 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14005 PyObject
*swig_obj
[1] ;
14007 if (!args
) SWIG_fail
;
14008 swig_obj
[0] = args
;
14009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14010 if (!SWIG_IsOK(res1
)) {
14011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14013 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_From_long(static_cast< long >(result
));
14027 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14030 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14031 return SWIG_Py_Void();
14034 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14035 return SWIG_Python_InitShadowInstance(args
);
14038 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14039 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14044 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14045 PyObject
*pyobj
= 0;
14049 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14051 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14058 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= 0;
14060 wxWindow
*arg1
= (wxWindow
*) 0 ;
14061 int arg2
= (int) -1 ;
14062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14066 long arg5
= (long) wxSB_HORIZONTAL
;
14067 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14068 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14069 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14071 wxScrollBar
*result
= 0 ;
14082 bool temp7
= false ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 PyObject
* obj2
= 0 ;
14086 PyObject
* obj3
= 0 ;
14087 PyObject
* obj4
= 0 ;
14088 PyObject
* obj5
= 0 ;
14089 PyObject
* obj6
= 0 ;
14090 char * kwnames
[] = {
14091 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14096 if (!SWIG_IsOK(res1
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14102 if (!SWIG_IsOK(ecode2
)) {
14103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14105 arg2
= static_cast< int >(val2
);
14110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14120 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14121 if (!SWIG_IsOK(ecode5
)) {
14122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14124 arg5
= static_cast< long >(val5
);
14127 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14128 if (!SWIG_IsOK(res6
)) {
14129 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14134 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14138 arg7
= wxString_in_helper(obj6
);
14139 if (arg7
== NULL
) SWIG_fail
;
14144 if (!wxPyCheckForApp()) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14165 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14166 PyObject
*resultobj
= 0;
14167 wxScrollBar
*result
= 0 ;
14169 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14171 if (!wxPyCheckForApp()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (wxScrollBar
*)new wxScrollBar();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14184 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
= 0;
14186 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14187 wxWindow
*arg2
= (wxWindow
*) 0 ;
14188 int arg3
= (int) -1 ;
14189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14193 long arg6
= (long) wxSB_HORIZONTAL
;
14194 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14195 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14196 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14211 bool temp8
= false ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 PyObject
* obj3
= 0 ;
14216 PyObject
* obj4
= 0 ;
14217 PyObject
* obj5
= 0 ;
14218 PyObject
* obj6
= 0 ;
14219 PyObject
* obj7
= 0 ;
14220 char * kwnames
[] = {
14221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14229 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14231 if (!SWIG_IsOK(res2
)) {
14232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14237 if (!SWIG_IsOK(ecode3
)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14240 arg3
= static_cast< int >(val3
);
14245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14255 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14256 if (!SWIG_IsOK(ecode6
)) {
14257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14259 arg6
= static_cast< long >(val6
);
14262 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14263 if (!SWIG_IsOK(res7
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14269 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14273 arg8
= wxString_in_helper(obj7
);
14274 if (arg8
== NULL
) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14301 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14302 PyObject
*resultobj
= 0;
14303 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14307 PyObject
*swig_obj
[1] ;
14309 if (!args
) SWIG_fail
;
14310 swig_obj
[0] = args
;
14311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14315 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= SWIG_From_int(static_cast< int >(result
));
14329 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14330 PyObject
*resultobj
= 0;
14331 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14335 PyObject
*swig_obj
[1] ;
14337 if (!args
) SWIG_fail
;
14338 swig_obj
[0] = args
;
14339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14343 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_From_int(static_cast< int >(result
));
14357 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14358 PyObject
*resultobj
= 0;
14359 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14363 PyObject
*swig_obj
[1] ;
14365 if (!args
) SWIG_fail
;
14366 swig_obj
[0] = args
;
14367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14368 if (!SWIG_IsOK(res1
)) {
14369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14371 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= SWIG_From_int(static_cast< int >(result
));
14385 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14386 PyObject
*resultobj
= 0;
14387 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14391 PyObject
*swig_obj
[1] ;
14393 if (!args
) SWIG_fail
;
14394 swig_obj
[0] = args
;
14395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14396 if (!SWIG_IsOK(res1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14399 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= SWIG_From_int(static_cast< int >(result
));
14413 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14414 PyObject
*resultobj
= 0;
14415 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14419 PyObject
*swig_obj
[1] ;
14421 if (!args
) SWIG_fail
;
14422 swig_obj
[0] = args
;
14423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14424 if (!SWIG_IsOK(res1
)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14427 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14443 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= 0;
14445 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 char * kwnames
[] = {
14454 (char *) "self",(char *) "viewStart", NULL
14457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14459 if (!SWIG_IsOK(res1
)) {
14460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14462 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14464 if (!SWIG_IsOK(ecode2
)) {
14465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14467 arg2
= static_cast< int >(val2
);
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 (arg1
)->SetThumbPosition(arg2
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_Py_Void();
14481 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
= 0;
14483 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14484 SwigValueWrapper
<wxVisualAttributes
> result
;
14487 PyObject
* obj0
= 0 ;
14488 char * kwnames
[] = {
14489 (char *) "variant", NULL
14492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14495 if (!SWIG_IsOK(ecode1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14498 arg1
= static_cast< wxWindowVariant
>(val1
);
14501 if (!wxPyCheckForApp()) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14514 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14517 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14518 return SWIG_Py_Void();
14521 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14522 return SWIG_Python_InitShadowInstance(args
);
14525 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14526 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14531 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14532 PyObject
*pyobj
= 0;
14536 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14538 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14545 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14546 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14551 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14552 PyObject
*pyobj
= 0;
14556 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14558 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14565 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
= 0;
14567 wxWindow
*arg1
= (wxWindow
*) 0 ;
14568 int arg2
= (int) -1 ;
14569 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14570 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14571 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14572 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14573 long arg5
= (long) wxSP_HORIZONTAL
;
14574 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14575 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14576 wxSpinButton
*result
= 0 ;
14585 bool temp6
= false ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 PyObject
* obj3
= 0 ;
14590 PyObject
* obj4
= 0 ;
14591 PyObject
* obj5
= 0 ;
14592 char * kwnames
[] = {
14593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14598 if (!SWIG_IsOK(res1
)) {
14599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14604 if (!SWIG_IsOK(ecode2
)) {
14605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14607 arg2
= static_cast< int >(val2
);
14612 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14618 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14622 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14623 if (!SWIG_IsOK(ecode5
)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14626 arg5
= static_cast< long >(val5
);
14630 arg6
= wxString_in_helper(obj5
);
14631 if (arg6
== NULL
) SWIG_fail
;
14636 if (!wxPyCheckForApp()) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14657 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14658 PyObject
*resultobj
= 0;
14659 wxSpinButton
*result
= 0 ;
14661 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14663 if (!wxPyCheckForApp()) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (wxSpinButton
*)new wxSpinButton();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14676 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
= 0;
14678 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14679 wxWindow
*arg2
= (wxWindow
*) 0 ;
14680 int arg3
= (int) -1 ;
14681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14685 long arg6
= (long) wxSP_HORIZONTAL
;
14686 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14687 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14699 bool temp7
= false ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 PyObject
* obj3
= 0 ;
14704 PyObject
* obj4
= 0 ;
14705 PyObject
* obj5
= 0 ;
14706 PyObject
* obj6
= 0 ;
14707 char * kwnames
[] = {
14708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14713 if (!SWIG_IsOK(res1
)) {
14714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14716 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14718 if (!SWIG_IsOK(res2
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14721 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14724 if (!SWIG_IsOK(ecode3
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14727 arg3
= static_cast< int >(val3
);
14732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14742 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14743 if (!SWIG_IsOK(ecode6
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14746 arg6
= static_cast< long >(val6
);
14750 arg7
= wxString_in_helper(obj6
);
14751 if (arg7
== NULL
) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14778 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14779 PyObject
*resultobj
= 0;
14780 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14784 PyObject
*swig_obj
[1] ;
14786 if (!args
) SWIG_fail
;
14787 swig_obj
[0] = args
;
14788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14789 if (!SWIG_IsOK(res1
)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14792 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_From_int(static_cast< int >(result
));
14806 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14812 PyObject
*swig_obj
[1] ;
14814 if (!args
) SWIG_fail
;
14815 swig_obj
[0] = args
;
14816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14820 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_From_int(static_cast< int >(result
));
14834 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14840 PyObject
*swig_obj
[1] ;
14842 if (!args
) SWIG_fail
;
14843 swig_obj
[0] = args
;
14844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14848 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_From_int(static_cast< int >(result
));
14862 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
= 0;
14864 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char * kwnames
[] = {
14873 (char *) "self",(char *) "val", NULL
14876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14878 if (!SWIG_IsOK(res1
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14881 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14883 if (!SWIG_IsOK(ecode2
)) {
14884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14886 arg2
= static_cast< int >(val2
);
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->SetValue(arg2
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_Py_Void();
14900 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
= 0;
14902 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 char * kwnames
[] = {
14911 (char *) "self",(char *) "minVal", NULL
14914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14919 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14921 if (!SWIG_IsOK(ecode2
)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14924 arg2
= static_cast< int >(val2
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 (arg1
)->SetMin(arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_Py_Void();
14938 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
= 0;
14940 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 char * kwnames
[] = {
14949 (char *) "self",(char *) "maxVal", NULL
14952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14957 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14959 if (!SWIG_IsOK(ecode2
)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14962 arg2
= static_cast< int >(val2
);
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->SetMax(arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_Py_Void();
14976 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
= 0;
14978 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 PyObject
* obj2
= 0 ;
14990 char * kwnames
[] = {
14991 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14999 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15001 if (!SWIG_IsOK(ecode2
)) {
15002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15004 arg2
= static_cast< int >(val2
);
15005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15006 if (!SWIG_IsOK(ecode3
)) {
15007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15009 arg3
= static_cast< int >(val3
);
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 (arg1
)->SetRange(arg2
,arg3
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= SWIG_Py_Void();
15023 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15024 PyObject
*resultobj
= 0;
15025 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15029 PyObject
*swig_obj
[1] ;
15031 if (!args
) SWIG_fail
;
15032 swig_obj
[0] = args
;
15033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15037 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15053 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
= 0;
15055 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15056 SwigValueWrapper
<wxVisualAttributes
> result
;
15059 PyObject
* obj0
= 0 ;
15060 char * kwnames
[] = {
15061 (char *) "variant", NULL
15064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15067 if (!SWIG_IsOK(ecode1
)) {
15068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15070 arg1
= static_cast< wxWindowVariant
>(val1
);
15073 if (!wxPyCheckForApp()) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15086 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15089 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15090 return SWIG_Py_Void();
15093 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15094 return SWIG_Python_InitShadowInstance(args
);
15097 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
= 0;
15099 wxWindow
*arg1
= (wxWindow
*) 0 ;
15100 int arg2
= (int) -1 ;
15101 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15102 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15103 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15104 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15105 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15106 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15107 long arg6
= (long) wxSP_ARROW_KEYS
;
15108 int arg7
= (int) 0 ;
15109 int arg8
= (int) 100 ;
15110 int arg9
= (int) 0 ;
15111 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15112 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15113 wxSpinCtrl
*result
= 0 ;
15118 bool temp3
= false ;
15129 bool temp10
= false ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 PyObject
* obj3
= 0 ;
15134 PyObject
* obj4
= 0 ;
15135 PyObject
* obj5
= 0 ;
15136 PyObject
* obj6
= 0 ;
15137 PyObject
* obj7
= 0 ;
15138 PyObject
* obj8
= 0 ;
15139 PyObject
* obj9
= 0 ;
15140 char * kwnames
[] = {
15141 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15152 if (!SWIG_IsOK(ecode2
)) {
15153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15155 arg2
= static_cast< int >(val2
);
15159 arg3
= wxString_in_helper(obj2
);
15160 if (arg3
== NULL
) SWIG_fail
;
15167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15178 if (!SWIG_IsOK(ecode6
)) {
15179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15181 arg6
= static_cast< long >(val6
);
15184 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15185 if (!SWIG_IsOK(ecode7
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15188 arg7
= static_cast< int >(val7
);
15191 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15192 if (!SWIG_IsOK(ecode8
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15195 arg8
= static_cast< int >(val8
);
15198 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15199 if (!SWIG_IsOK(ecode9
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15202 arg9
= static_cast< int >(val9
);
15206 arg10
= wxString_in_helper(obj9
);
15207 if (arg10
== NULL
) SWIG_fail
;
15212 if (!wxPyCheckForApp()) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15241 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15242 PyObject
*resultobj
= 0;
15243 wxSpinCtrl
*result
= 0 ;
15245 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15247 if (!wxPyCheckForApp()) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15260 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
= 0;
15262 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15263 wxWindow
*arg2
= (wxWindow
*) 0 ;
15264 int arg3
= (int) -1 ;
15265 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15266 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15267 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15268 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15269 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15270 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15271 long arg7
= (long) wxSP_ARROW_KEYS
;
15272 int arg8
= (int) 0 ;
15273 int arg9
= (int) 100 ;
15274 int arg10
= (int) 0 ;
15275 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15276 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15284 bool temp4
= false ;
15295 bool temp11
= false ;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 PyObject
* obj2
= 0 ;
15299 PyObject
* obj3
= 0 ;
15300 PyObject
* obj4
= 0 ;
15301 PyObject
* obj5
= 0 ;
15302 PyObject
* obj6
= 0 ;
15303 PyObject
* obj7
= 0 ;
15304 PyObject
* obj8
= 0 ;
15305 PyObject
* obj9
= 0 ;
15306 PyObject
* obj10
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15316 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15318 if (!SWIG_IsOK(res2
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15324 if (!SWIG_IsOK(ecode3
)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15327 arg3
= static_cast< int >(val3
);
15331 arg4
= wxString_in_helper(obj3
);
15332 if (arg4
== NULL
) SWIG_fail
;
15339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15349 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15350 if (!SWIG_IsOK(ecode7
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15353 arg7
= static_cast< long >(val7
);
15356 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15357 if (!SWIG_IsOK(ecode8
)) {
15358 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15360 arg8
= static_cast< int >(val8
);
15363 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15364 if (!SWIG_IsOK(ecode9
)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15367 arg9
= static_cast< int >(val9
);
15370 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15371 if (!SWIG_IsOK(ecode10
)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15374 arg10
= static_cast< int >(val10
);
15378 arg11
= wxString_in_helper(obj10
);
15379 if (arg11
== NULL
) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15414 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15415 PyObject
*resultobj
= 0;
15416 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15420 PyObject
*swig_obj
[1] ;
15422 if (!args
) SWIG_fail
;
15423 swig_obj
[0] = args
;
15424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15425 if (!SWIG_IsOK(res1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15428 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_From_int(static_cast< int >(result
));
15442 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= 0;
15444 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15450 PyObject
* obj0
= 0 ;
15451 PyObject
* obj1
= 0 ;
15452 char * kwnames
[] = {
15453 (char *) "self",(char *) "value", NULL
15456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15461 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15463 if (!SWIG_IsOK(ecode2
)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15466 arg2
= static_cast< int >(val2
);
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 (arg1
)->SetValue(arg2
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_Py_Void();
15480 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
= 0;
15482 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15483 wxString
*arg2
= 0 ;
15486 bool temp2
= false ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "self",(char *) "text", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15498 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15500 arg2
= wxString_in_helper(obj1
);
15501 if (arg2
== NULL
) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 (arg1
)->SetValue((wxString
const &)*arg2
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= SWIG_Py_Void();
15525 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
= 0;
15527 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 PyObject
* obj2
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15548 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15550 if (!SWIG_IsOK(ecode2
)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15553 arg2
= static_cast< int >(val2
);
15554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15555 if (!SWIG_IsOK(ecode3
)) {
15556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15558 arg3
= static_cast< int >(val3
);
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->SetRange(arg2
,arg3
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_Py_Void();
15572 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15573 PyObject
*resultobj
= 0;
15574 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15578 PyObject
*swig_obj
[1] ;
15580 if (!args
) SWIG_fail
;
15581 swig_obj
[0] = args
;
15582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15586 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_From_int(static_cast< int >(result
));
15600 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15601 PyObject
*resultobj
= 0;
15602 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15606 PyObject
*swig_obj
[1] ;
15608 if (!args
) SWIG_fail
;
15609 swig_obj
[0] = args
;
15610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15611 if (!SWIG_IsOK(res1
)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15614 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_From_int(static_cast< int >(result
));
15628 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= 0;
15630 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 PyObject
* obj2
= 0 ;
15642 char * kwnames
[] = {
15643 (char *) "self",(char *) "from",(char *) "to", NULL
15646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15648 if (!SWIG_IsOK(res1
)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15651 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15652 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15653 if (!SWIG_IsOK(ecode2
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15656 arg2
= static_cast< long >(val2
);
15657 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15658 if (!SWIG_IsOK(ecode3
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15661 arg3
= static_cast< long >(val3
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 (arg1
)->SetSelection(arg2
,arg3
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_Py_Void();
15675 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
= 0;
15677 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15678 SwigValueWrapper
<wxVisualAttributes
> result
;
15681 PyObject
* obj0
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "variant", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15688 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15689 if (!SWIG_IsOK(ecode1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15692 arg1
= static_cast< wxWindowVariant
>(val1
);
15695 if (!wxPyCheckForApp()) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15708 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15711 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15712 return SWIG_Py_Void();
15715 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15716 return SWIG_Python_InitShadowInstance(args
);
15719 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
= 0;
15721 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15722 int arg2
= (int) 0 ;
15723 wxSpinEvent
*result
= 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 char * kwnames
[] = {
15731 (char *) "commandType",(char *) "winid", NULL
15734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15737 if (!SWIG_IsOK(ecode1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15740 arg1
= static_cast< wxEventType
>(val1
);
15743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15744 if (!SWIG_IsOK(ecode2
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15747 arg2
= static_cast< int >(val2
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15762 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15763 PyObject
*resultobj
= 0;
15764 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15768 PyObject
*swig_obj
[1] ;
15770 if (!args
) SWIG_fail
;
15771 swig_obj
[0] = args
;
15772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15773 if (!SWIG_IsOK(res1
)) {
15774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15776 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_From_int(static_cast< int >(result
));
15790 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
= 0;
15792 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char * kwnames
[] = {
15801 (char *) "self",(char *) "pos", NULL
15804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15806 if (!SWIG_IsOK(res1
)) {
15807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15809 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15811 if (!SWIG_IsOK(ecode2
)) {
15812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15814 arg2
= static_cast< int >(val2
);
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 (arg1
)->SetPosition(arg2
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_Py_Void();
15828 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15831 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15832 return SWIG_Py_Void();
15835 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15836 return SWIG_Python_InitShadowInstance(args
);
15839 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15840 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15845 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15846 PyObject
*pyobj
= 0;
15850 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15852 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15859 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15860 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15865 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15866 PyObject
*pyobj
= 0;
15870 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15872 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15879 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
= 0;
15881 wxWindow
*arg1
= (wxWindow
*) 0 ;
15882 int arg2
= (int) -1 ;
15883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15889 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15890 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15891 int arg7
= (int) 0 ;
15892 long arg8
= (long) wxRA_HORIZONTAL
;
15893 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15894 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15895 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15896 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15897 wxRadioBox
*result
= 0 ;
15902 bool temp3
= false ;
15905 bool temp6
= false ;
15912 bool temp10
= false ;
15913 PyObject
* obj0
= 0 ;
15914 PyObject
* obj1
= 0 ;
15915 PyObject
* obj2
= 0 ;
15916 PyObject
* obj3
= 0 ;
15917 PyObject
* obj4
= 0 ;
15918 PyObject
* obj5
= 0 ;
15919 PyObject
* obj6
= 0 ;
15920 PyObject
* obj7
= 0 ;
15921 PyObject
* obj8
= 0 ;
15922 PyObject
* obj9
= 0 ;
15923 char * kwnames
[] = {
15924 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15935 if (!SWIG_IsOK(ecode2
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15938 arg2
= static_cast< int >(val2
);
15942 arg3
= wxString_in_helper(obj2
);
15943 if (arg3
== NULL
) SWIG_fail
;
15950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15961 if (! PySequence_Check(obj5
)) {
15962 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15965 arg6
= new wxArrayString
;
15967 int i
, len
=PySequence_Length(obj5
);
15968 for (i
=0; i
<len
; i
++) {
15969 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15970 wxString
* s
= wxString_in_helper(item
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15979 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15980 if (!SWIG_IsOK(ecode7
)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15983 arg7
= static_cast< int >(val7
);
15986 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15987 if (!SWIG_IsOK(ecode8
)) {
15988 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15990 arg8
= static_cast< long >(val8
);
15993 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15994 if (!SWIG_IsOK(res9
)) {
15995 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16000 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16004 arg10
= wxString_in_helper(obj9
);
16005 if (arg10
== NULL
) SWIG_fail
;
16010 if (!wxPyCheckForApp()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 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
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16022 if (temp6
) delete arg6
;
16035 if (temp6
) delete arg6
;
16045 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16046 PyObject
*resultobj
= 0;
16047 wxRadioBox
*result
= 0 ;
16049 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16051 if (!wxPyCheckForApp()) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (wxRadioBox
*)new wxRadioBox();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16064 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
= 0;
16066 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16067 wxWindow
*arg2
= (wxWindow
*) 0 ;
16068 int arg3
= (int) -1 ;
16069 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16070 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16073 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16074 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16075 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16076 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16077 int arg8
= (int) 0 ;
16078 long arg9
= (long) wxRA_HORIZONTAL
;
16079 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16080 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16081 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16082 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16090 bool temp4
= false ;
16093 bool temp7
= false ;
16100 bool temp11
= false ;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 PyObject
* obj2
= 0 ;
16104 PyObject
* obj3
= 0 ;
16105 PyObject
* obj4
= 0 ;
16106 PyObject
* obj5
= 0 ;
16107 PyObject
* obj6
= 0 ;
16108 PyObject
* obj7
= 0 ;
16109 PyObject
* obj8
= 0 ;
16110 PyObject
* obj9
= 0 ;
16111 PyObject
* obj10
= 0 ;
16112 char * kwnames
[] = {
16113 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16118 if (!SWIG_IsOK(res1
)) {
16119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16121 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16123 if (!SWIG_IsOK(res2
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16126 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16129 if (!SWIG_IsOK(ecode3
)) {
16130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16132 arg3
= static_cast< int >(val3
);
16136 arg4
= wxString_in_helper(obj3
);
16137 if (arg4
== NULL
) SWIG_fail
;
16144 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16150 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16155 if (! PySequence_Check(obj6
)) {
16156 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16159 arg7
= new wxArrayString
;
16161 int i
, len
=PySequence_Length(obj6
);
16162 for (i
=0; i
<len
; i
++) {
16163 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16164 wxString
* s
= wxString_in_helper(item
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16173 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16174 if (!SWIG_IsOK(ecode8
)) {
16175 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16177 arg8
= static_cast< int >(val8
);
16180 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16181 if (!SWIG_IsOK(ecode9
)) {
16182 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16184 arg9
= static_cast< long >(val9
);
16187 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16188 if (!SWIG_IsOK(res10
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16194 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16198 arg11
= wxString_in_helper(obj10
);
16199 if (arg11
== NULL
) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 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
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16217 if (temp7
) delete arg7
;
16230 if (temp7
) delete arg7
;
16240 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
= 0;
16242 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char * kwnames
[] = {
16251 (char *) "self",(char *) "n", NULL
16254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16256 if (!SWIG_IsOK(res1
)) {
16257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16259 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16261 if (!SWIG_IsOK(ecode2
)) {
16262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16264 arg2
= static_cast< int >(val2
);
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 (arg1
)->SetSelection(arg2
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_Py_Void();
16278 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16279 PyObject
*resultobj
= 0;
16280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16284 PyObject
*swig_obj
[1] ;
16286 if (!args
) SWIG_fail
;
16287 swig_obj
[0] = args
;
16288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16292 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_From_int(static_cast< int >(result
));
16306 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 PyObject
*resultobj
= 0;
16308 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16312 PyObject
*swig_obj
[1] ;
16314 if (!args
) SWIG_fail
;
16315 swig_obj
[0] = args
;
16316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16317 if (!SWIG_IsOK(res1
)) {
16318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16320 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16340 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= 0;
16342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16343 wxString
*arg2
= 0 ;
16347 bool temp2
= false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char * kwnames
[] = {
16351 (char *) "self",(char *) "s", NULL
16354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16356 if (!SWIG_IsOK(res1
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16359 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16361 arg2
= wxString_in_helper(obj1
);
16362 if (arg2
== NULL
) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16388 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16389 PyObject
*resultobj
= 0;
16390 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16394 PyObject
*swig_obj
[1] ;
16396 if (!args
) SWIG_fail
;
16397 swig_obj
[0] = args
;
16398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16399 if (!SWIG_IsOK(res1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16402 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16416 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
= 0;
16418 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16419 wxString
*arg2
= 0 ;
16423 bool temp2
= false ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 char * kwnames
[] = {
16427 (char *) "self",(char *) "s", NULL
16430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16432 if (!SWIG_IsOK(res1
)) {
16433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16435 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16437 arg2
= wxString_in_helper(obj1
);
16438 if (arg2
== NULL
) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_From_int(static_cast< int >(result
));
16462 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
= 0;
16464 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 char * kwnames
[] = {
16474 (char *) "self",(char *) "n", NULL
16477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16479 if (!SWIG_IsOK(res1
)) {
16480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16482 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16484 if (!SWIG_IsOK(ecode2
)) {
16485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16487 arg2
= static_cast< int >(val2
);
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16507 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
= 0;
16509 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16511 wxString
*arg3
= 0 ;
16516 bool temp3
= false ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 PyObject
* obj2
= 0 ;
16520 char * kwnames
[] = {
16521 (char *) "self",(char *) "n",(char *) "label", NULL
16524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16529 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16531 if (!SWIG_IsOK(ecode2
)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16534 arg2
= static_cast< int >(val2
);
16536 arg3
= wxString_in_helper(obj2
);
16537 if (arg3
== NULL
) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_Py_Void();
16561 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
= 0;
16563 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16564 unsigned int arg2
;
16565 bool arg3
= (bool) true ;
16568 unsigned int val2
;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 PyObject
* obj2
= 0 ;
16575 char * kwnames
[] = {
16576 (char *) "self",(char *) "n",(char *) "enable", NULL
16579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16581 if (!SWIG_IsOK(res1
)) {
16582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16584 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16585 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16586 if (!SWIG_IsOK(ecode2
)) {
16587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16589 arg2
= static_cast< unsigned int >(val2
);
16591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16592 if (!SWIG_IsOK(ecode3
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16595 arg3
= static_cast< bool >(val3
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->Enable(arg2
,arg3
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_Py_Void();
16610 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16613 unsigned int arg2
;
16614 bool arg3
= (bool) true ;
16617 unsigned int val2
;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 PyObject
* obj2
= 0 ;
16624 char * kwnames
[] = {
16625 (char *) "self",(char *) "n",(char *) "show", NULL
16628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16630 if (!SWIG_IsOK(res1
)) {
16631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16633 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16634 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16635 if (!SWIG_IsOK(ecode2
)) {
16636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16638 arg2
= static_cast< unsigned int >(val2
);
16640 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16641 if (!SWIG_IsOK(ecode3
)) {
16642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16644 arg3
= static_cast< bool >(val3
);
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 (arg1
)->Show(arg2
,arg3
);
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_Py_Void();
16659 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= 0;
16661 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16662 unsigned int arg2
;
16666 unsigned int val2
;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 char * kwnames
[] = {
16671 (char *) "self",(char *) "n", NULL
16674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16679 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16680 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16681 if (!SWIG_IsOK(ecode2
)) {
16682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16684 arg2
= static_cast< unsigned int >(val2
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16700 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= 0;
16702 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16703 unsigned int arg2
;
16707 unsigned int val2
;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char * kwnames
[] = {
16712 (char *) "self",(char *) "n", NULL
16715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16720 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16721 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16722 if (!SWIG_IsOK(ecode2
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16725 arg2
= static_cast< unsigned int >(val2
);
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16741 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16742 PyObject
*resultobj
= 0;
16743 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16744 unsigned int result
;
16747 PyObject
*swig_obj
[1] ;
16749 if (!args
) SWIG_fail
;
16750 swig_obj
[0] = args
;
16751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16755 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16769 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16770 PyObject
*resultobj
= 0;
16771 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16772 unsigned int result
;
16775 PyObject
*swig_obj
[1] ;
16777 if (!args
) SWIG_fail
;
16778 swig_obj
[0] = args
;
16779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16780 if (!SWIG_IsOK(res1
)) {
16781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16783 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16797 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
= 0;
16799 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 PyObject
* obj2
= 0 ;
16815 PyObject
* obj3
= 0 ;
16816 char * kwnames
[] = {
16817 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16825 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16827 if (!SWIG_IsOK(ecode2
)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16830 arg2
= static_cast< int >(val2
);
16831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16832 if (!SWIG_IsOK(ecode3
)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16835 arg3
= static_cast< wxDirection
>(val3
);
16836 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16837 if (!SWIG_IsOK(ecode4
)) {
16838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16840 arg4
= static_cast< long >(val4
);
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= SWIG_From_int(static_cast< int >(result
));
16854 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
= 0;
16856 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16857 unsigned int arg2
;
16858 wxString
*arg3
= 0 ;
16861 unsigned int val2
;
16863 bool temp3
= false ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 char * kwnames
[] = {
16868 (char *) "self",(char *) "item",(char *) "text", NULL
16871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16876 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16877 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16878 if (!SWIG_IsOK(ecode2
)) {
16879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16881 arg2
= static_cast< unsigned int >(val2
);
16883 arg3
= wxString_in_helper(obj2
);
16884 if (arg3
== NULL
) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_Py_Void();
16908 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
= 0;
16910 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16911 unsigned int arg2
;
16912 wxToolTip
*result
= 0 ;
16915 unsigned int val2
;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "self",(char *) "item", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16928 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16929 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16930 if (!SWIG_IsOK(ecode2
)) {
16931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16933 arg2
= static_cast< unsigned int >(val2
);
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16949 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
= 0;
16951 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16952 unsigned int arg2
;
16953 wxString
*arg3
= 0 ;
16956 unsigned int val2
;
16958 bool temp3
= false ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 PyObject
* obj2
= 0 ;
16962 char * kwnames
[] = {
16963 (char *) "self",(char *) "n",(char *) "helpText", NULL
16966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16968 if (!SWIG_IsOK(res1
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16971 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16972 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16973 if (!SWIG_IsOK(ecode2
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16976 arg2
= static_cast< unsigned int >(val2
);
16978 arg3
= wxString_in_helper(obj2
);
16979 if (arg3
== NULL
) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_Py_Void();
17003 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17006 unsigned int arg2
;
17010 unsigned int val2
;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char * kwnames
[] = {
17015 (char *) "self",(char *) "n", NULL
17018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17023 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17024 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17025 if (!SWIG_IsOK(ecode2
)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17028 arg2
= static_cast< unsigned int >(val2
);
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17048 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17051 SwigValueWrapper
<wxVisualAttributes
> result
;
17054 PyObject
* obj0
= 0 ;
17055 char * kwnames
[] = {
17056 (char *) "variant", NULL
17059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17062 if (!SWIG_IsOK(ecode1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17065 arg1
= static_cast< wxWindowVariant
>(val1
);
17068 if (!wxPyCheckForApp()) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17081 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17084 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17085 return SWIG_Py_Void();
17088 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17089 return SWIG_Python_InitShadowInstance(args
);
17092 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
= 0;
17094 wxWindow
*arg1
= (wxWindow
*) 0 ;
17095 int arg2
= (int) -1 ;
17096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17102 long arg6
= (long) 0 ;
17103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17105 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17107 wxRadioButton
*result
= 0 ;
17112 bool temp3
= false ;
17119 bool temp8
= false ;
17120 PyObject
* obj0
= 0 ;
17121 PyObject
* obj1
= 0 ;
17122 PyObject
* obj2
= 0 ;
17123 PyObject
* obj3
= 0 ;
17124 PyObject
* obj4
= 0 ;
17125 PyObject
* obj5
= 0 ;
17126 PyObject
* obj6
= 0 ;
17127 PyObject
* obj7
= 0 ;
17128 char * kwnames
[] = {
17129 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17134 if (!SWIG_IsOK(res1
)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17140 if (!SWIG_IsOK(ecode2
)) {
17141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17143 arg2
= static_cast< int >(val2
);
17147 arg3
= wxString_in_helper(obj2
);
17148 if (arg3
== NULL
) SWIG_fail
;
17155 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17161 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17165 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17166 if (!SWIG_IsOK(ecode6
)) {
17167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17169 arg6
= static_cast< long >(val6
);
17172 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17173 if (!SWIG_IsOK(res7
)) {
17174 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17179 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17183 arg8
= wxString_in_helper(obj7
);
17184 if (arg8
== NULL
) SWIG_fail
;
17189 if (!wxPyCheckForApp()) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17218 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17219 PyObject
*resultobj
= 0;
17220 wxRadioButton
*result
= 0 ;
17222 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17224 if (!wxPyCheckForApp()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (wxRadioButton
*)new wxRadioButton();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17237 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
= 0;
17239 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17240 wxWindow
*arg2
= (wxWindow
*) 0 ;
17241 int arg3
= (int) -1 ;
17242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17244 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17245 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17246 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17247 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17248 long arg7
= (long) 0 ;
17249 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17250 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17251 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17252 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17260 bool temp4
= false ;
17267 bool temp9
= false ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 PyObject
* obj2
= 0 ;
17271 PyObject
* obj3
= 0 ;
17272 PyObject
* obj4
= 0 ;
17273 PyObject
* obj5
= 0 ;
17274 PyObject
* obj6
= 0 ;
17275 PyObject
* obj7
= 0 ;
17276 PyObject
* obj8
= 0 ;
17277 char * kwnames
[] = {
17278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17283 if (!SWIG_IsOK(res1
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17286 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17288 if (!SWIG_IsOK(res2
)) {
17289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17294 if (!SWIG_IsOK(ecode3
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17297 arg3
= static_cast< int >(val3
);
17301 arg4
= wxString_in_helper(obj3
);
17302 if (arg4
== NULL
) SWIG_fail
;
17309 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17315 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17319 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17320 if (!SWIG_IsOK(ecode7
)) {
17321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17323 arg7
= static_cast< long >(val7
);
17326 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17327 if (!SWIG_IsOK(res8
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17333 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17337 arg9
= wxString_in_helper(obj8
);
17338 if (arg9
== NULL
) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17373 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17374 PyObject
*resultobj
= 0;
17375 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17379 PyObject
*swig_obj
[1] ;
17381 if (!args
) SWIG_fail
;
17382 swig_obj
[0] = args
;
17383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17384 if (!SWIG_IsOK(res1
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17387 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (bool)(arg1
)->GetValue();
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17403 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
= 0;
17405 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 char * kwnames
[] = {
17414 (char *) "self",(char *) "value", NULL
17417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17419 if (!SWIG_IsOK(res1
)) {
17420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17422 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17423 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17424 if (!SWIG_IsOK(ecode2
)) {
17425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17427 arg2
= static_cast< bool >(val2
);
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->SetValue(arg2
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= SWIG_Py_Void();
17441 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= 0;
17443 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17444 SwigValueWrapper
<wxVisualAttributes
> result
;
17447 PyObject
* obj0
= 0 ;
17448 char * kwnames
[] = {
17449 (char *) "variant", NULL
17452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17454 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17455 if (!SWIG_IsOK(ecode1
)) {
17456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17458 arg1
= static_cast< wxWindowVariant
>(val1
);
17461 if (!wxPyCheckForApp()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17474 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17477 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17478 return SWIG_Py_Void();
17481 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17482 return SWIG_Python_InitShadowInstance(args
);
17485 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17486 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17491 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17492 PyObject
*pyobj
= 0;
17496 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17498 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17505 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
= 0;
17507 wxWindow
*arg1
= (wxWindow
*) 0 ;
17508 int arg2
= (int) -1 ;
17509 int arg3
= (int) 0 ;
17510 int arg4
= (int) 0 ;
17511 int arg5
= (int) 100 ;
17512 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17513 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17514 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17515 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17516 long arg8
= (long) wxSL_HORIZONTAL
;
17517 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17518 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17519 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17520 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17521 wxSlider
*result
= 0 ;
17538 bool temp10
= false ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 PyObject
* obj2
= 0 ;
17542 PyObject
* obj3
= 0 ;
17543 PyObject
* obj4
= 0 ;
17544 PyObject
* obj5
= 0 ;
17545 PyObject
* obj6
= 0 ;
17546 PyObject
* obj7
= 0 ;
17547 PyObject
* obj8
= 0 ;
17548 PyObject
* obj9
= 0 ;
17549 char * kwnames
[] = {
17550 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17555 if (!SWIG_IsOK(res1
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17558 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17561 if (!SWIG_IsOK(ecode2
)) {
17562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17564 arg2
= static_cast< int >(val2
);
17567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17568 if (!SWIG_IsOK(ecode3
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17571 arg3
= static_cast< int >(val3
);
17574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17575 if (!SWIG_IsOK(ecode4
)) {
17576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17578 arg4
= static_cast< int >(val4
);
17581 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17582 if (!SWIG_IsOK(ecode5
)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17585 arg5
= static_cast< int >(val5
);
17590 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17596 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17600 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17601 if (!SWIG_IsOK(ecode8
)) {
17602 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17604 arg8
= static_cast< long >(val8
);
17607 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17608 if (!SWIG_IsOK(res9
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17614 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17618 arg10
= wxString_in_helper(obj9
);
17619 if (arg10
== NULL
) SWIG_fail
;
17624 if (!wxPyCheckForApp()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17645 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17646 PyObject
*resultobj
= 0;
17647 wxSlider
*result
= 0 ;
17649 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17651 if (!wxPyCheckForApp()) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (wxSlider
*)new wxSlider();
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17664 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
= 0;
17666 wxSlider
*arg1
= (wxSlider
*) 0 ;
17667 wxWindow
*arg2
= (wxWindow
*) 0 ;
17668 int arg3
= (int) -1 ;
17669 int arg4
= (int) 0 ;
17670 int arg5
= (int) 0 ;
17671 int arg6
= (int) 100 ;
17672 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17673 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17674 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17675 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17676 long arg9
= (long) wxSL_HORIZONTAL
;
17677 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17678 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17679 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17680 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17700 bool temp11
= false ;
17701 PyObject
* obj0
= 0 ;
17702 PyObject
* obj1
= 0 ;
17703 PyObject
* obj2
= 0 ;
17704 PyObject
* obj3
= 0 ;
17705 PyObject
* obj4
= 0 ;
17706 PyObject
* obj5
= 0 ;
17707 PyObject
* obj6
= 0 ;
17708 PyObject
* obj7
= 0 ;
17709 PyObject
* obj8
= 0 ;
17710 PyObject
* obj9
= 0 ;
17711 PyObject
* obj10
= 0 ;
17712 char * kwnames
[] = {
17713 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17718 if (!SWIG_IsOK(res1
)) {
17719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17721 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17723 if (!SWIG_IsOK(res2
)) {
17724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17729 if (!SWIG_IsOK(ecode3
)) {
17730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17732 arg3
= static_cast< int >(val3
);
17735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17736 if (!SWIG_IsOK(ecode4
)) {
17737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17739 arg4
= static_cast< int >(val4
);
17742 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17743 if (!SWIG_IsOK(ecode5
)) {
17744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17746 arg5
= static_cast< int >(val5
);
17749 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17750 if (!SWIG_IsOK(ecode6
)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17753 arg6
= static_cast< int >(val6
);
17758 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17764 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17768 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17769 if (!SWIG_IsOK(ecode9
)) {
17770 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17772 arg9
= static_cast< long >(val9
);
17775 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17776 if (!SWIG_IsOK(res10
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17782 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17786 arg11
= wxString_in_helper(obj10
);
17787 if (arg11
== NULL
) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17814 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17815 PyObject
*resultobj
= 0;
17816 wxSlider
*arg1
= (wxSlider
*) 0 ;
17820 PyObject
*swig_obj
[1] ;
17822 if (!args
) SWIG_fail
;
17823 swig_obj
[0] = args
;
17824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17825 if (!SWIG_IsOK(res1
)) {
17826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17828 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= SWIG_From_int(static_cast< int >(result
));
17842 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
= 0;
17844 wxSlider
*arg1
= (wxSlider
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "value", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17861 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17863 if (!SWIG_IsOK(ecode2
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17866 arg2
= static_cast< int >(val2
);
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 (arg1
)->SetValue(arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_Py_Void();
17880 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
= 0;
17882 wxSlider
*arg1
= (wxSlider
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 PyObject
* obj2
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17903 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17905 if (!SWIG_IsOK(ecode2
)) {
17906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17908 arg2
= static_cast< int >(val2
);
17909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17910 if (!SWIG_IsOK(ecode3
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17913 arg3
= static_cast< int >(val3
);
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->SetRange(arg2
,arg3
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_Py_Void();
17927 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 PyObject
*resultobj
= 0;
17929 wxSlider
*arg1
= (wxSlider
*) 0 ;
17933 PyObject
*swig_obj
[1] ;
17935 if (!args
) SWIG_fail
;
17936 swig_obj
[0] = args
;
17937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17938 if (!SWIG_IsOK(res1
)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17941 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_From_int(static_cast< int >(result
));
17955 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17956 PyObject
*resultobj
= 0;
17957 wxSlider
*arg1
= (wxSlider
*) 0 ;
17961 PyObject
*swig_obj
[1] ;
17963 if (!args
) SWIG_fail
;
17964 swig_obj
[0] = args
;
17965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17969 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_From_int(static_cast< int >(result
));
17983 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxSlider
*arg1
= (wxSlider
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 char * kwnames
[] = {
17994 (char *) "self",(char *) "minValue", NULL
17997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18002 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18004 if (!SWIG_IsOK(ecode2
)) {
18005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18007 arg2
= static_cast< int >(val2
);
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->SetMin(arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_Py_Void();
18021 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
= 0;
18023 wxSlider
*arg1
= (wxSlider
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 char * kwnames
[] = {
18032 (char *) "self",(char *) "maxValue", NULL
18035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18040 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18042 if (!SWIG_IsOK(ecode2
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18045 arg2
= static_cast< int >(val2
);
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->SetMax(arg2
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_Py_Void();
18059 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
= 0;
18061 wxSlider
*arg1
= (wxSlider
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char * kwnames
[] = {
18070 (char *) "self",(char *) "lineSize", NULL
18073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18075 if (!SWIG_IsOK(res1
)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18078 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18080 if (!SWIG_IsOK(ecode2
)) {
18081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18083 arg2
= static_cast< int >(val2
);
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetLineSize(arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 resultobj
= SWIG_Py_Void();
18097 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
= 0;
18099 wxSlider
*arg1
= (wxSlider
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 PyObject
* obj1
= 0 ;
18107 char * kwnames
[] = {
18108 (char *) "self",(char *) "pageSize", NULL
18111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18113 if (!SWIG_IsOK(res1
)) {
18114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18116 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18118 if (!SWIG_IsOK(ecode2
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18121 arg2
= static_cast< int >(val2
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 (arg1
)->SetPageSize(arg2
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_Py_Void();
18135 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18136 PyObject
*resultobj
= 0;
18137 wxSlider
*arg1
= (wxSlider
*) 0 ;
18141 PyObject
*swig_obj
[1] ;
18143 if (!args
) SWIG_fail
;
18144 swig_obj
[0] = args
;
18145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18146 if (!SWIG_IsOK(res1
)) {
18147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18149 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_From_int(static_cast< int >(result
));
18163 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18164 PyObject
*resultobj
= 0;
18165 wxSlider
*arg1
= (wxSlider
*) 0 ;
18169 PyObject
*swig_obj
[1] ;
18171 if (!args
) SWIG_fail
;
18172 swig_obj
[0] = args
;
18173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18177 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_From_int(static_cast< int >(result
));
18191 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
= 0;
18193 wxSlider
*arg1
= (wxSlider
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char * kwnames
[] = {
18202 (char *) "self",(char *) "lenPixels", NULL
18205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18207 if (!SWIG_IsOK(res1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18210 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18212 if (!SWIG_IsOK(ecode2
)) {
18213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18215 arg2
= static_cast< int >(val2
);
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->SetThumbLength(arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18230 PyObject
*resultobj
= 0;
18231 wxSlider
*arg1
= (wxSlider
*) 0 ;
18235 PyObject
*swig_obj
[1] ;
18237 if (!args
) SWIG_fail
;
18238 swig_obj
[0] = args
;
18239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18243 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_From_int(static_cast< int >(result
));
18257 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
= 0;
18259 wxSlider
*arg1
= (wxSlider
*) 0 ;
18261 int arg3
= (int) 1 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 PyObject
* obj2
= 0 ;
18271 char * kwnames
[] = {
18272 (char *) "self",(char *) "n",(char *) "pos", NULL
18275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18280 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18282 if (!SWIG_IsOK(ecode2
)) {
18283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18285 arg2
= static_cast< int >(val2
);
18287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18288 if (!SWIG_IsOK(ecode3
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18291 arg3
= static_cast< int >(val3
);
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->SetTickFreq(arg2
,arg3
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= SWIG_Py_Void();
18306 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18307 PyObject
*resultobj
= 0;
18308 wxSlider
*arg1
= (wxSlider
*) 0 ;
18312 PyObject
*swig_obj
[1] ;
18314 if (!args
) SWIG_fail
;
18315 swig_obj
[0] = args
;
18316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18317 if (!SWIG_IsOK(res1
)) {
18318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18320 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_From_int(static_cast< int >(result
));
18334 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18335 PyObject
*resultobj
= 0;
18336 wxSlider
*arg1
= (wxSlider
*) 0 ;
18339 PyObject
*swig_obj
[1] ;
18341 if (!args
) SWIG_fail
;
18342 swig_obj
[0] = args
;
18343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18344 if (!SWIG_IsOK(res1
)) {
18345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18347 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->ClearTicks();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_Py_Void();
18361 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= 0;
18363 wxSlider
*arg1
= (wxSlider
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 PyObject
* obj1
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "tickPos", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18380 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18382 if (!SWIG_IsOK(ecode2
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18385 arg2
= static_cast< int >(val2
);
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 (arg1
)->SetTick(arg2
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= SWIG_Py_Void();
18399 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18400 PyObject
*resultobj
= 0;
18401 wxSlider
*arg1
= (wxSlider
*) 0 ;
18404 PyObject
*swig_obj
[1] ;
18406 if (!args
) SWIG_fail
;
18407 swig_obj
[0] = args
;
18408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18409 if (!SWIG_IsOK(res1
)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18412 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->ClearSel();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_Py_Void();
18426 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18427 PyObject
*resultobj
= 0;
18428 wxSlider
*arg1
= (wxSlider
*) 0 ;
18432 PyObject
*swig_obj
[1] ;
18434 if (!args
) SWIG_fail
;
18435 swig_obj
[0] = args
;
18436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18440 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_From_int(static_cast< int >(result
));
18454 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18455 PyObject
*resultobj
= 0;
18456 wxSlider
*arg1
= (wxSlider
*) 0 ;
18460 PyObject
*swig_obj
[1] ;
18462 if (!args
) SWIG_fail
;
18463 swig_obj
[0] = args
;
18464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18465 if (!SWIG_IsOK(res1
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18468 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_From_int(static_cast< int >(result
));
18482 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
= 0;
18484 wxSlider
*arg1
= (wxSlider
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 PyObject
* obj2
= 0 ;
18496 char * kwnames
[] = {
18497 (char *) "self",(char *) "min",(char *) "max", NULL
18500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18502 if (!SWIG_IsOK(res1
)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18505 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18507 if (!SWIG_IsOK(ecode2
)) {
18508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18510 arg2
= static_cast< int >(val2
);
18511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18512 if (!SWIG_IsOK(ecode3
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18515 arg3
= static_cast< int >(val3
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 (arg1
)->SetSelection(arg2
,arg3
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_Py_Void();
18529 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18532 SwigValueWrapper
<wxVisualAttributes
> result
;
18535 PyObject
* obj0
= 0 ;
18536 char * kwnames
[] = {
18537 (char *) "variant", NULL
18540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18542 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18543 if (!SWIG_IsOK(ecode1
)) {
18544 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18546 arg1
= static_cast< wxWindowVariant
>(val1
);
18549 if (!wxPyCheckForApp()) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18562 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18565 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18566 return SWIG_Py_Void();
18569 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18570 return SWIG_Python_InitShadowInstance(args
);
18573 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18574 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18579 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18580 PyObject
*pyobj
= 0;
18584 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18586 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18593 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
= 0;
18595 wxWindow
*arg1
= (wxWindow
*) 0 ;
18596 int arg2
= (int) -1 ;
18597 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18598 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18603 long arg6
= (long) 0 ;
18604 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18605 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18606 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18608 wxToggleButton
*result
= 0 ;
18613 bool temp3
= false ;
18620 bool temp8
= false ;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 PyObject
* obj2
= 0 ;
18624 PyObject
* obj3
= 0 ;
18625 PyObject
* obj4
= 0 ;
18626 PyObject
* obj5
= 0 ;
18627 PyObject
* obj6
= 0 ;
18628 PyObject
* obj7
= 0 ;
18629 char * kwnames
[] = {
18630 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18635 if (!SWIG_IsOK(res1
)) {
18636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18641 if (!SWIG_IsOK(ecode2
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18644 arg2
= static_cast< int >(val2
);
18648 arg3
= wxString_in_helper(obj2
);
18649 if (arg3
== NULL
) SWIG_fail
;
18656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18666 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18667 if (!SWIG_IsOK(ecode6
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18670 arg6
= static_cast< long >(val6
);
18673 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18674 if (!SWIG_IsOK(res7
)) {
18675 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18680 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18684 arg8
= wxString_in_helper(obj7
);
18685 if (arg8
== NULL
) SWIG_fail
;
18690 if (!wxPyCheckForApp()) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18719 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18720 PyObject
*resultobj
= 0;
18721 wxToggleButton
*result
= 0 ;
18723 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18725 if (!wxPyCheckForApp()) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (wxToggleButton
*)new wxToggleButton();
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18738 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
= 0;
18740 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18741 wxWindow
*arg2
= (wxWindow
*) 0 ;
18742 int arg3
= (int) -1 ;
18743 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18744 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18745 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18746 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18747 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18748 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18749 long arg7
= (long) 0 ;
18750 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18751 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18752 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18753 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18761 bool temp4
= false ;
18768 bool temp9
= false ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 PyObject
* obj2
= 0 ;
18772 PyObject
* obj3
= 0 ;
18773 PyObject
* obj4
= 0 ;
18774 PyObject
* obj5
= 0 ;
18775 PyObject
* obj6
= 0 ;
18776 PyObject
* obj7
= 0 ;
18777 PyObject
* obj8
= 0 ;
18778 char * kwnames
[] = {
18779 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18784 if (!SWIG_IsOK(res1
)) {
18785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18787 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18789 if (!SWIG_IsOK(res2
)) {
18790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18795 if (!SWIG_IsOK(ecode3
)) {
18796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18798 arg3
= static_cast< int >(val3
);
18802 arg4
= wxString_in_helper(obj3
);
18803 if (arg4
== NULL
) SWIG_fail
;
18810 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18816 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18820 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18821 if (!SWIG_IsOK(ecode7
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18824 arg7
= static_cast< long >(val7
);
18827 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18828 if (!SWIG_IsOK(res8
)) {
18829 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18834 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18838 arg9
= wxString_in_helper(obj8
);
18839 if (arg9
== NULL
) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18874 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
= 0;
18876 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "self",(char *) "value", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18893 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18894 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18895 if (!SWIG_IsOK(ecode2
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18898 arg2
= static_cast< bool >(val2
);
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 (arg1
)->SetValue(arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_Py_Void();
18912 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18913 PyObject
*resultobj
= 0;
18914 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18918 PyObject
*swig_obj
[1] ;
18920 if (!args
) SWIG_fail
;
18921 swig_obj
[0] = args
;
18922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18926 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18942 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
= 0;
18944 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18945 SwigValueWrapper
<wxVisualAttributes
> result
;
18948 PyObject
* obj0
= 0 ;
18949 char * kwnames
[] = {
18950 (char *) "variant", NULL
18953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18956 if (!SWIG_IsOK(ecode1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18959 arg1
= static_cast< wxWindowVariant
>(val1
);
18962 if (!wxPyCheckForApp()) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18975 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18978 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18979 return SWIG_Py_Void();
18982 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18983 return SWIG_Python_InitShadowInstance(args
);
18986 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18987 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18992 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18993 PyObject
*pyobj
= 0;
18997 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18999 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19006 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19007 PyObject
*resultobj
= 0;
19008 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19012 PyObject
*swig_obj
[1] ;
19014 if (!args
) SWIG_fail
;
19015 swig_obj
[0] = args
;
19016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19020 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19034 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= 0;
19036 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19038 wxWindow
*result
= 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char * kwnames
[] = {
19046 (char *) "self",(char *) "n", NULL
19049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19051 if (!SWIG_IsOK(res1
)) {
19052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19054 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19055 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19056 if (!SWIG_IsOK(ecode2
)) {
19057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19059 arg2
= static_cast< size_t >(val2
);
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= wxPyMake_wxObject(result
, 0);
19075 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19076 PyObject
*resultobj
= 0;
19077 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19078 wxWindow
*result
= 0 ;
19081 PyObject
*swig_obj
[1] ;
19083 if (!args
) SWIG_fail
;
19084 swig_obj
[0] = args
;
19085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19089 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= wxPyMake_wxObject(result
, 0);
19105 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19106 PyObject
*resultobj
= 0;
19107 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19111 PyObject
*swig_obj
[1] ;
19113 if (!args
) SWIG_fail
;
19114 swig_obj
[0] = args
;
19115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19116 if (!SWIG_IsOK(res1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19119 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_From_int(static_cast< int >(result
));
19133 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19137 wxString
*arg3
= 0 ;
19143 bool temp3
= false ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 PyObject
* obj2
= 0 ;
19147 char * kwnames
[] = {
19148 (char *) "self",(char *) "n",(char *) "strText", NULL
19151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19153 if (!SWIG_IsOK(res1
)) {
19154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19156 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19157 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19158 if (!SWIG_IsOK(ecode2
)) {
19159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19161 arg2
= static_cast< size_t >(val2
);
19163 arg3
= wxString_in_helper(obj2
);
19164 if (arg3
== NULL
) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19190 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
= 0;
19192 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char * kwnames
[] = {
19202 (char *) "self",(char *) "n", NULL
19205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19207 if (!SWIG_IsOK(res1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19210 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19211 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19212 if (!SWIG_IsOK(ecode2
)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19215 arg2
= static_cast< size_t >(val2
);
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19235 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
= 0;
19237 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19238 wxImageList
*arg2
= (wxImageList
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char * kwnames
[] = {
19246 (char *) "self",(char *) "imageList", NULL
19249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19251 if (!SWIG_IsOK(res1
)) {
19252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19254 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19256 if (!SWIG_IsOK(res2
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19259 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 (arg1
)->SetImageList(arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_Py_Void();
19273 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
= 0;
19275 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19276 wxImageList
*arg2
= (wxImageList
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char * kwnames
[] = {
19283 (char *) "self",(char *) "imageList", NULL
19286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19288 if (!SWIG_IsOK(res1
)) {
19289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19291 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19292 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19293 if (!SWIG_IsOK(res2
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 (arg1
)->AssignImageList(arg2
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_Py_Void();
19309 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19310 PyObject
*resultobj
= 0;
19311 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19312 wxImageList
*result
= 0 ;
19315 PyObject
*swig_obj
[1] ;
19317 if (!args
) SWIG_fail
;
19318 swig_obj
[0] = args
;
19319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19320 if (!SWIG_IsOK(res1
)) {
19321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19323 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19339 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
= 0;
19341 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char * kwnames
[] = {
19351 (char *) "self",(char *) "n", NULL
19354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19359 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19360 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19361 if (!SWIG_IsOK(ecode2
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19364 arg2
= static_cast< size_t >(val2
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_From_int(static_cast< int >(result
));
19378 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 PyObject
* obj2
= 0 ;
19393 char * kwnames
[] = {
19394 (char *) "self",(char *) "n",(char *) "imageId", NULL
19397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19399 if (!SWIG_IsOK(res1
)) {
19400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19402 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19403 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19404 if (!SWIG_IsOK(ecode2
)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19407 arg2
= static_cast< size_t >(val2
);
19408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19409 if (!SWIG_IsOK(ecode3
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19412 arg3
= static_cast< int >(val3
);
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19428 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
= 0;
19430 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char * kwnames
[] = {
19438 (char *) "self",(char *) "size", NULL
19441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19443 if (!SWIG_IsOK(res1
)) {
19444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19446 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= SWIG_Py_Void();
19464 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
= 0;
19466 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char * kwnames
[] = {
19475 (char *) "self",(char *) "sizePage", NULL
19478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19483 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19501 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19502 PyObject
*resultobj
= 0;
19503 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19504 unsigned int result
;
19507 PyObject
*swig_obj
[1] ;
19509 if (!args
) SWIG_fail
;
19510 swig_obj
[0] = args
;
19511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19512 if (!SWIG_IsOK(res1
)) {
19513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19515 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19529 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
= 0;
19531 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19532 unsigned int arg2
;
19535 unsigned int val2
;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char * kwnames
[] = {
19540 (char *) "self",(char *) "internalBorder", NULL
19543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19545 if (!SWIG_IsOK(res1
)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19548 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19549 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19550 if (!SWIG_IsOK(ecode2
)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19553 arg2
= static_cast< unsigned int >(val2
);
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 (arg1
)->SetInternalBorder(arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_Py_Void();
19567 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19568 PyObject
*resultobj
= 0;
19569 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19573 PyObject
*swig_obj
[1] ;
19575 if (!args
) SWIG_fail
;
19576 swig_obj
[0] = args
;
19577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19581 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19597 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
= 0;
19599 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char * kwnames
[] = {
19608 (char *) "self",(char *) "margin", NULL
19611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19613 if (!SWIG_IsOK(res1
)) {
19614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19616 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19618 if (!SWIG_IsOK(ecode2
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19621 arg2
= static_cast< int >(val2
);
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->SetControlMargin(arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_Py_Void();
19635 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19636 PyObject
*resultobj
= 0;
19637 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19641 PyObject
*swig_obj
[1] ;
19643 if (!args
) SWIG_fail
;
19644 swig_obj
[0] = args
;
19645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19646 if (!SWIG_IsOK(res1
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19649 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_From_int(static_cast< int >(result
));
19663 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
= 0;
19665 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "fit", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19682 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19683 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19687 arg2
= static_cast< bool >(val2
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 (arg1
)->SetFitToCurrentPage(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_Py_Void();
19701 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19702 PyObject
*resultobj
= 0;
19703 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19707 PyObject
*swig_obj
[1] ;
19709 if (!args
) SWIG_fail
;
19710 swig_obj
[0] = args
;
19711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19715 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19731 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19732 PyObject
*resultobj
= 0;
19733 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19734 wxSizer
*result
= 0 ;
19737 PyObject
*swig_obj
[1] ;
19739 if (!args
) SWIG_fail
;
19740 swig_obj
[0] = args
;
19741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19742 if (!SWIG_IsOK(res1
)) {
19743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19745 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19761 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
= 0;
19763 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "self",(char *) "n", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19781 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19782 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19783 if (!SWIG_IsOK(ecode2
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19786 arg2
= static_cast< size_t >(val2
);
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (bool)(arg1
)->DeletePage(arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19802 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
= 0;
19804 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 char * kwnames
[] = {
19814 (char *) "self",(char *) "n", NULL
19817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19819 if (!SWIG_IsOK(res1
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19822 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19823 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19824 if (!SWIG_IsOK(ecode2
)) {
19825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19827 arg2
= static_cast< size_t >(val2
);
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (bool)(arg1
)->RemovePage(arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19843 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19844 PyObject
*resultobj
= 0;
19845 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19849 PyObject
*swig_obj
[1] ;
19851 if (!args
) SWIG_fail
;
19852 swig_obj
[0] = args
;
19853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19854 if (!SWIG_IsOK(res1
)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19857 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)(arg1
)->DeleteAllPages();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19873 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
= 0;
19875 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19876 wxWindow
*arg2
= (wxWindow
*) 0 ;
19877 wxString
*arg3
= 0 ;
19878 bool arg4
= (bool) false ;
19879 int arg5
= (int) -1 ;
19885 bool temp3
= false ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 PyObject
* obj2
= 0 ;
19893 PyObject
* obj3
= 0 ;
19894 PyObject
* obj4
= 0 ;
19895 char * kwnames
[] = {
19896 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19904 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19906 if (!SWIG_IsOK(res2
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19911 arg3
= wxString_in_helper(obj2
);
19912 if (arg3
== NULL
) SWIG_fail
;
19916 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19917 if (!SWIG_IsOK(ecode4
)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19920 arg4
= static_cast< bool >(val4
);
19923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19924 if (!SWIG_IsOK(ecode5
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19927 arg5
= static_cast< int >(val5
);
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19952 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
= 0;
19954 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19956 wxWindow
*arg3
= (wxWindow
*) 0 ;
19957 wxString
*arg4
= 0 ;
19958 bool arg5
= (bool) false ;
19959 int arg6
= (int) -1 ;
19967 bool temp4
= false ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 PyObject
* obj2
= 0 ;
19975 PyObject
* obj3
= 0 ;
19976 PyObject
* obj4
= 0 ;
19977 PyObject
* obj5
= 0 ;
19978 char * kwnames
[] = {
19979 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19984 if (!SWIG_IsOK(res1
)) {
19985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19987 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19988 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19989 if (!SWIG_IsOK(ecode2
)) {
19990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19992 arg2
= static_cast< size_t >(val2
);
19993 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19994 if (!SWIG_IsOK(res3
)) {
19995 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19997 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19999 arg4
= wxString_in_helper(obj3
);
20000 if (arg4
== NULL
) SWIG_fail
;
20004 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20005 if (!SWIG_IsOK(ecode5
)) {
20006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20008 arg5
= static_cast< bool >(val5
);
20011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20012 if (!SWIG_IsOK(ecode6
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20015 arg6
= static_cast< int >(val6
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20040 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
= 0;
20042 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "n", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20060 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20061 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20062 if (!SWIG_IsOK(ecode2
)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20065 arg2
= static_cast< size_t >(val2
);
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (int)(arg1
)->SetSelection(arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_From_int(static_cast< int >(result
));
20079 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
= 0;
20081 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20082 bool arg2
= (bool) true ;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 char * kwnames
[] = {
20090 (char *) "self",(char *) "forward", NULL
20093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20095 if (!SWIG_IsOK(res1
)) {
20096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20098 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20100 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20101 if (!SWIG_IsOK(ecode2
)) {
20102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20104 arg2
= static_cast< bool >(val2
);
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->AdvanceSelection(arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_Py_Void();
20119 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
= 0;
20121 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20122 wxPoint
*arg2
= 0 ;
20123 long *arg3
= (long *) 0 ;
20129 int res3
= SWIG_TMPOBJ
;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 char * kwnames
[] = {
20133 (char *) "self",(char *) "pt", NULL
20137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20142 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= SWIG_From_int(static_cast< int >(result
));
20154 if (SWIG_IsTmpObj(res3
)) {
20155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20166 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20169 SwigValueWrapper
<wxVisualAttributes
> result
;
20172 PyObject
* obj0
= 0 ;
20173 char * kwnames
[] = {
20174 (char *) "variant", NULL
20177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20180 if (!SWIG_IsOK(ecode1
)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20183 arg1
= static_cast< wxWindowVariant
>(val1
);
20186 if (!wxPyCheckForApp()) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20199 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20202 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20203 return SWIG_Py_Void();
20206 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
= 0;
20208 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20209 int arg2
= (int) 0 ;
20210 int arg3
= (int) -1 ;
20211 int arg4
= (int) -1 ;
20212 wxBookCtrlBaseEvent
*result
= 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 PyObject
* obj2
= 0 ;
20224 PyObject
* obj3
= 0 ;
20225 char * kwnames
[] = {
20226 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20232 if (!SWIG_IsOK(ecode1
)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20235 arg1
= static_cast< wxEventType
>(val1
);
20238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20239 if (!SWIG_IsOK(ecode2
)) {
20240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20242 arg2
= static_cast< int >(val2
);
20245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20246 if (!SWIG_IsOK(ecode3
)) {
20247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20249 arg3
= static_cast< int >(val3
);
20252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20253 if (!SWIG_IsOK(ecode4
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20256 arg4
= static_cast< int >(val4
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20271 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20272 PyObject
*resultobj
= 0;
20273 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20277 PyObject
*swig_obj
[1] ;
20279 if (!args
) SWIG_fail
;
20280 swig_obj
[0] = args
;
20281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20282 if (!SWIG_IsOK(res1
)) {
20283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20285 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_From_int(static_cast< int >(result
));
20299 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char * kwnames
[] = {
20310 (char *) "self",(char *) "nSel", NULL
20313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20315 if (!SWIG_IsOK(res1
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20318 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20320 if (!SWIG_IsOK(ecode2
)) {
20321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20323 arg2
= static_cast< int >(val2
);
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 (arg1
)->SetSelection(arg2
);
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_Py_Void();
20337 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20338 PyObject
*resultobj
= 0;
20339 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20343 PyObject
*swig_obj
[1] ;
20345 if (!args
) SWIG_fail
;
20346 swig_obj
[0] = args
;
20347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20348 if (!SWIG_IsOK(res1
)) {
20349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20351 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= SWIG_From_int(static_cast< int >(result
));
20365 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
= 0;
20367 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 char * kwnames
[] = {
20376 (char *) "self",(char *) "nOldSel", NULL
20379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20381 if (!SWIG_IsOK(res1
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20384 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20386 if (!SWIG_IsOK(ecode2
)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20389 arg2
= static_cast< int >(val2
);
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 (arg1
)->SetOldSelection(arg2
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_Py_Void();
20403 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20406 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20407 return SWIG_Py_Void();
20410 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20411 return SWIG_Python_InitShadowInstance(args
);
20414 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= 0;
20416 wxWindow
*arg1
= (wxWindow
*) 0 ;
20417 int arg2
= (int) -1 ;
20418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20420 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20421 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20422 long arg5
= (long) 0 ;
20423 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20424 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20425 wxNotebook
*result
= 0 ;
20434 bool temp6
= false ;
20435 PyObject
* obj0
= 0 ;
20436 PyObject
* obj1
= 0 ;
20437 PyObject
* obj2
= 0 ;
20438 PyObject
* obj3
= 0 ;
20439 PyObject
* obj4
= 0 ;
20440 PyObject
* obj5
= 0 ;
20441 char * kwnames
[] = {
20442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20453 if (!SWIG_IsOK(ecode2
)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20456 arg2
= static_cast< int >(val2
);
20461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20467 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20471 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20472 if (!SWIG_IsOK(ecode5
)) {
20473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20475 arg5
= static_cast< long >(val5
);
20479 arg6
= wxString_in_helper(obj5
);
20480 if (arg6
== NULL
) SWIG_fail
;
20485 if (!wxPyCheckForApp()) SWIG_fail
;
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20506 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20507 PyObject
*resultobj
= 0;
20508 wxNotebook
*result
= 0 ;
20510 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20512 if (!wxPyCheckForApp()) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (wxNotebook
*)new wxNotebook();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20525 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
= 0;
20527 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20528 wxWindow
*arg2
= (wxWindow
*) 0 ;
20529 int arg3
= (int) -1 ;
20530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20534 long arg6
= (long) 0 ;
20535 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20536 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20548 bool temp7
= false ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 PyObject
* obj2
= 0 ;
20552 PyObject
* obj3
= 0 ;
20553 PyObject
* obj4
= 0 ;
20554 PyObject
* obj5
= 0 ;
20555 PyObject
* obj6
= 0 ;
20556 char * kwnames
[] = {
20557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20562 if (!SWIG_IsOK(res1
)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20565 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20567 if (!SWIG_IsOK(res2
)) {
20568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20573 if (!SWIG_IsOK(ecode3
)) {
20574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20576 arg3
= static_cast< int >(val3
);
20581 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20587 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20591 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20592 if (!SWIG_IsOK(ecode6
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20595 arg6
= static_cast< long >(val6
);
20599 arg7
= wxString_in_helper(obj6
);
20600 if (arg7
== NULL
) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20628 PyObject
*resultobj
= 0;
20629 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20633 PyObject
*swig_obj
[1] ;
20635 if (!args
) SWIG_fail
;
20636 swig_obj
[0] = args
;
20637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20638 if (!SWIG_IsOK(res1
)) {
20639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20641 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_From_int(static_cast< int >(result
));
20655 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
= 0;
20657 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "padding", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20673 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20676 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_Py_Void();
20691 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
= 0;
20693 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char * kwnames
[] = {
20701 (char *) "self",(char *) "sz", NULL
20704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20709 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20712 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_Py_Void();
20727 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 PyObject
*resultobj
= 0;
20729 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20733 PyObject
*swig_obj
[1] ;
20735 if (!args
) SWIG_fail
;
20736 swig_obj
[0] = args
;
20737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20741 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20755 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= 0;
20757 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20758 SwigValueWrapper
<wxVisualAttributes
> result
;
20761 PyObject
* obj0
= 0 ;
20762 char * kwnames
[] = {
20763 (char *) "variant", NULL
20766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20769 if (!SWIG_IsOK(ecode1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20772 arg1
= static_cast< wxWindowVariant
>(val1
);
20775 if (!wxPyCheckForApp()) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20788 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20791 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20792 return SWIG_Py_Void();
20795 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20796 return SWIG_Python_InitShadowInstance(args
);
20799 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
= 0;
20801 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20802 int arg2
= (int) 0 ;
20803 int arg3
= (int) -1 ;
20804 int arg4
= (int) -1 ;
20805 wxNotebookEvent
*result
= 0 ;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 PyObject
* obj2
= 0 ;
20817 PyObject
* obj3
= 0 ;
20818 char * kwnames
[] = {
20819 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20824 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20825 if (!SWIG_IsOK(ecode1
)) {
20826 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20828 arg1
= static_cast< wxEventType
>(val1
);
20831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20832 if (!SWIG_IsOK(ecode2
)) {
20833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20835 arg2
= static_cast< int >(val2
);
20838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20839 if (!SWIG_IsOK(ecode3
)) {
20840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20842 arg3
= static_cast< int >(val3
);
20845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20846 if (!SWIG_IsOK(ecode4
)) {
20847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20849 arg4
= static_cast< int >(val4
);
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20864 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20867 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20868 return SWIG_Py_Void();
20871 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20872 return SWIG_Python_InitShadowInstance(args
);
20875 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= 0;
20877 wxWindow
*arg1
= (wxWindow
*) 0 ;
20878 int arg2
= (int) -1 ;
20879 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20880 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20881 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20882 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20883 long arg5
= (long) 0 ;
20884 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20885 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20886 wxListbook
*result
= 0 ;
20895 bool temp6
= false ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 PyObject
* obj2
= 0 ;
20899 PyObject
* obj3
= 0 ;
20900 PyObject
* obj4
= 0 ;
20901 PyObject
* obj5
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20911 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20914 if (!SWIG_IsOK(ecode2
)) {
20915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20917 arg2
= static_cast< int >(val2
);
20922 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20928 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20932 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20933 if (!SWIG_IsOK(ecode5
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20936 arg5
= static_cast< long >(val5
);
20940 arg6
= wxString_in_helper(obj5
);
20941 if (arg6
== NULL
) SWIG_fail
;
20946 if (!wxPyCheckForApp()) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20967 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20968 PyObject
*resultobj
= 0;
20969 wxListbook
*result
= 0 ;
20971 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20973 if (!wxPyCheckForApp()) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (wxListbook
*)new wxListbook();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20986 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
= 0;
20988 wxListbook
*arg1
= (wxListbook
*) 0 ;
20989 wxWindow
*arg2
= (wxWindow
*) 0 ;
20990 int arg3
= (int) -1 ;
20991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20995 long arg6
= (long) 0 ;
20996 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21009 bool temp7
= false ;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21012 PyObject
* obj2
= 0 ;
21013 PyObject
* obj3
= 0 ;
21014 PyObject
* obj4
= 0 ;
21015 PyObject
* obj5
= 0 ;
21016 PyObject
* obj6
= 0 ;
21017 char * kwnames
[] = {
21018 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21023 if (!SWIG_IsOK(res1
)) {
21024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21026 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21028 if (!SWIG_IsOK(res2
)) {
21029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21031 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21034 if (!SWIG_IsOK(ecode3
)) {
21035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21037 arg3
= static_cast< int >(val3
);
21042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21052 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21053 if (!SWIG_IsOK(ecode6
)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21056 arg6
= static_cast< long >(val6
);
21060 arg7
= wxString_in_helper(obj6
);
21061 if (arg7
== NULL
) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21088 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 PyObject
*resultobj
= 0;
21090 wxListbook
*arg1
= (wxListbook
*) 0 ;
21091 wxListView
*result
= 0 ;
21094 PyObject
*swig_obj
[1] ;
21096 if (!args
) SWIG_fail
;
21097 swig_obj
[0] = args
;
21098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21099 if (!SWIG_IsOK(res1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21102 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (wxListView
*)(arg1
)->GetListView();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21116 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21119 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21120 return SWIG_Py_Void();
21123 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 return SWIG_Python_InitShadowInstance(args
);
21127 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
= 0;
21129 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21130 int arg2
= (int) 0 ;
21131 int arg3
= (int) -1 ;
21132 int arg4
= (int) -1 ;
21133 wxListbookEvent
*result
= 0 ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 PyObject
* obj2
= 0 ;
21145 PyObject
* obj3
= 0 ;
21146 char * kwnames
[] = {
21147 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21153 if (!SWIG_IsOK(ecode1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21156 arg1
= static_cast< wxEventType
>(val1
);
21159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21160 if (!SWIG_IsOK(ecode2
)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21163 arg2
= static_cast< int >(val2
);
21166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21167 if (!SWIG_IsOK(ecode3
)) {
21168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21170 arg3
= static_cast< int >(val3
);
21173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21174 if (!SWIG_IsOK(ecode4
)) {
21175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21177 arg4
= static_cast< int >(val4
);
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21192 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21195 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21196 return SWIG_Py_Void();
21199 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21200 return SWIG_Python_InitShadowInstance(args
);
21203 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
= 0;
21205 wxWindow
*arg1
= (wxWindow
*) 0 ;
21207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21211 long arg5
= (long) 0 ;
21212 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21213 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21214 wxChoicebook
*result
= 0 ;
21223 bool temp6
= false ;
21224 PyObject
* obj0
= 0 ;
21225 PyObject
* obj1
= 0 ;
21226 PyObject
* obj2
= 0 ;
21227 PyObject
* obj3
= 0 ;
21228 PyObject
* obj4
= 0 ;
21229 PyObject
* obj5
= 0 ;
21230 char * kwnames
[] = {
21231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21241 if (!SWIG_IsOK(ecode2
)) {
21242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21244 arg2
= static_cast< int >(val2
);
21248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21254 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21258 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21259 if (!SWIG_IsOK(ecode5
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21262 arg5
= static_cast< long >(val5
);
21266 arg6
= wxString_in_helper(obj5
);
21267 if (arg6
== NULL
) SWIG_fail
;
21272 if (!wxPyCheckForApp()) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21293 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxChoicebook
*result
= 0 ;
21297 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21299 if (!wxPyCheckForApp()) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (wxChoicebook
*)new wxChoicebook();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21312 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
= 0;
21314 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21315 wxWindow
*arg2
= (wxWindow
*) 0 ;
21317 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21318 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21319 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21320 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21321 long arg6
= (long) 0 ;
21322 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21323 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21335 bool temp7
= false ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 PyObject
* obj2
= 0 ;
21339 PyObject
* obj3
= 0 ;
21340 PyObject
* obj4
= 0 ;
21341 PyObject
* obj5
= 0 ;
21342 PyObject
* obj6
= 0 ;
21343 char * kwnames
[] = {
21344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21349 if (!SWIG_IsOK(res1
)) {
21350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21352 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21354 if (!SWIG_IsOK(res2
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21359 if (!SWIG_IsOK(ecode3
)) {
21360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21362 arg3
= static_cast< int >(val3
);
21366 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21372 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21376 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21377 if (!SWIG_IsOK(ecode6
)) {
21378 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21380 arg6
= static_cast< long >(val6
);
21384 arg7
= wxString_in_helper(obj6
);
21385 if (arg7
== NULL
) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21412 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 PyObject
*resultobj
= 0;
21414 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21415 wxChoice
*result
= 0 ;
21418 PyObject
*swig_obj
[1] ;
21420 if (!args
) SWIG_fail
;
21421 swig_obj
[0] = args
;
21422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21423 if (!SWIG_IsOK(res1
)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21426 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21440 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21443 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21444 return SWIG_Py_Void();
21447 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21448 return SWIG_Python_InitShadowInstance(args
);
21451 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
= 0;
21453 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21454 int arg2
= (int) 0 ;
21455 int arg3
= (int) -1 ;
21456 int arg4
= (int) -1 ;
21457 wxChoicebookEvent
*result
= 0 ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 PyObject
* obj3
= 0 ;
21470 char * kwnames
[] = {
21471 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21477 if (!SWIG_IsOK(ecode1
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21480 arg1
= static_cast< wxEventType
>(val1
);
21483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21484 if (!SWIG_IsOK(ecode2
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21487 arg2
= static_cast< int >(val2
);
21490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21491 if (!SWIG_IsOK(ecode3
)) {
21492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21494 arg3
= static_cast< int >(val3
);
21497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21498 if (!SWIG_IsOK(ecode4
)) {
21499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21501 arg4
= static_cast< int >(val4
);
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21516 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21519 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21520 return SWIG_Py_Void();
21523 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 return SWIG_Python_InitShadowInstance(args
);
21527 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
= 0;
21529 wxWindow
*arg1
= (wxWindow
*) 0 ;
21531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21533 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21534 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21535 long arg5
= (long) wxBK_DEFAULT
;
21536 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21537 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21538 wxTreebook
*result
= 0 ;
21547 bool temp6
= false ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 PyObject
* obj2
= 0 ;
21551 PyObject
* obj3
= 0 ;
21552 PyObject
* obj4
= 0 ;
21553 PyObject
* obj5
= 0 ;
21554 char * kwnames
[] = {
21555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21560 if (!SWIG_IsOK(res1
)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21565 if (!SWIG_IsOK(ecode2
)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21568 arg2
= static_cast< int >(val2
);
21572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21578 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21582 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21583 if (!SWIG_IsOK(ecode5
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21586 arg5
= static_cast< long >(val5
);
21590 arg6
= wxString_in_helper(obj5
);
21591 if (arg6
== NULL
) SWIG_fail
;
21596 if (!wxPyCheckForApp()) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21617 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21618 PyObject
*resultobj
= 0;
21619 wxTreebook
*result
= 0 ;
21621 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21623 if (!wxPyCheckForApp()) SWIG_fail
;
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 result
= (wxTreebook
*)new wxTreebook();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21636 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
= 0;
21638 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21639 wxWindow
*arg2
= (wxWindow
*) 0 ;
21641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21645 long arg6
= (long) wxBK_DEFAULT
;
21646 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21659 bool temp7
= false ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 PyObject
* obj3
= 0 ;
21664 PyObject
* obj4
= 0 ;
21665 PyObject
* obj5
= 0 ;
21666 PyObject
* obj6
= 0 ;
21667 char * kwnames
[] = {
21668 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21676 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21678 if (!SWIG_IsOK(res2
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21683 if (!SWIG_IsOK(ecode3
)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21686 arg3
= static_cast< int >(val3
);
21690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21700 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21701 if (!SWIG_IsOK(ecode6
)) {
21702 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21704 arg6
= static_cast< long >(val6
);
21708 arg7
= wxString_in_helper(obj6
);
21709 if (arg7
== NULL
) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21736 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21740 wxWindow
*arg3
= (wxWindow
*) 0 ;
21741 wxString
*arg4
= 0 ;
21742 bool arg5
= (bool) false ;
21743 int arg6
= (int) wxNOT_FOUND
;
21751 bool temp4
= false ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 PyObject
* obj2
= 0 ;
21759 PyObject
* obj3
= 0 ;
21760 PyObject
* obj4
= 0 ;
21761 PyObject
* obj5
= 0 ;
21762 char * kwnames
[] = {
21763 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21768 if (!SWIG_IsOK(res1
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21771 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21772 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21773 if (!SWIG_IsOK(ecode2
)) {
21774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21776 arg2
= static_cast< size_t >(val2
);
21777 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21778 if (!SWIG_IsOK(res3
)) {
21779 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21781 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21783 arg4
= wxString_in_helper(obj3
);
21784 if (arg4
== NULL
) SWIG_fail
;
21788 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21789 if (!SWIG_IsOK(ecode5
)) {
21790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21792 arg5
= static_cast< bool >(val5
);
21795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21796 if (!SWIG_IsOK(ecode6
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21799 arg6
= static_cast< int >(val6
);
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21824 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
= 0;
21826 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21827 wxWindow
*arg2
= (wxWindow
*) 0 ;
21828 wxString
*arg3
= 0 ;
21829 bool arg4
= (bool) false ;
21830 int arg5
= (int) wxNOT_FOUND
;
21836 bool temp3
= false ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 PyObject
* obj3
= 0 ;
21845 PyObject
* obj4
= 0 ;
21846 char * kwnames
[] = {
21847 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21852 if (!SWIG_IsOK(res1
)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21855 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21857 if (!SWIG_IsOK(res2
)) {
21858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21860 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21862 arg3
= wxString_in_helper(obj2
);
21863 if (arg3
== NULL
) SWIG_fail
;
21867 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21868 if (!SWIG_IsOK(ecode4
)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21871 arg4
= static_cast< bool >(val4
);
21874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21875 if (!SWIG_IsOK(ecode5
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21878 arg5
= static_cast< int >(val5
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21903 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
= 0;
21905 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "self",(char *) "pos", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21923 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21925 if (!SWIG_IsOK(ecode2
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21928 arg2
= static_cast< size_t >(val2
);
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21944 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
= 0;
21946 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21948 bool arg3
= (bool) true ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 PyObject
* obj2
= 0 ;
21959 char * kwnames
[] = {
21960 (char *) "self",(char *) "pos",(char *) "expand", NULL
21963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21968 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21969 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21970 if (!SWIG_IsOK(ecode2
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21973 arg2
= static_cast< size_t >(val2
);
21975 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21976 if (!SWIG_IsOK(ecode3
)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21979 arg3
= static_cast< bool >(val3
);
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21996 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
= 0;
21998 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char * kwnames
[] = {
22008 (char *) "self",(char *) "pos", NULL
22011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22013 if (!SWIG_IsOK(res1
)) {
22014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22016 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22017 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22018 if (!SWIG_IsOK(ecode2
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22021 arg2
= static_cast< size_t >(val2
);
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (bool)(arg1
)->CollapseNode(arg2
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22037 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
= 0;
22039 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char * kwnames
[] = {
22049 (char *) "self",(char *) "pos", NULL
22052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22054 if (!SWIG_IsOK(res1
)) {
22055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22057 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22058 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22059 if (!SWIG_IsOK(ecode2
)) {
22060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22062 arg2
= static_cast< size_t >(val2
);
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_From_int(static_cast< int >(result
));
22076 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22077 PyObject
*resultobj
= 0;
22078 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22079 wxPyTreeCtrl
*result
= 0 ;
22082 PyObject
*swig_obj
[1] ;
22084 if (!args
) SWIG_fail
;
22085 swig_obj
[0] = args
;
22086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22090 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22106 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22109 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22110 return SWIG_Py_Void();
22113 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22114 return SWIG_Python_InitShadowInstance(args
);
22117 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
= 0;
22119 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22120 int arg2
= (int) 0 ;
22121 int arg3
= (int) wxNOT_FOUND
;
22122 int arg4
= (int) wxNOT_FOUND
;
22123 wxTreebookEvent
*result
= 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 PyObject
* obj2
= 0 ;
22135 PyObject
* obj3
= 0 ;
22136 char * kwnames
[] = {
22137 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22143 if (!SWIG_IsOK(ecode1
)) {
22144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22146 arg1
= static_cast< wxEventType
>(val1
);
22149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22150 if (!SWIG_IsOK(ecode2
)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22153 arg2
= static_cast< int >(val2
);
22156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22157 if (!SWIG_IsOK(ecode3
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22160 arg3
= static_cast< int >(val3
);
22163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22164 if (!SWIG_IsOK(ecode4
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22167 arg4
= static_cast< int >(val4
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22182 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22185 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22186 return SWIG_Py_Void();
22189 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22190 return SWIG_Python_InitShadowInstance(args
);
22193 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= 0;
22195 wxWindow
*arg1
= (wxWindow
*) 0 ;
22197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22201 long arg5
= (long) wxBK_DEFAULT
;
22202 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22204 wxToolbook
*result
= 0 ;
22213 bool temp6
= false ;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 PyObject
* obj2
= 0 ;
22217 PyObject
* obj3
= 0 ;
22218 PyObject
* obj4
= 0 ;
22219 PyObject
* obj5
= 0 ;
22220 char * kwnames
[] = {
22221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22231 if (!SWIG_IsOK(ecode2
)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22234 arg2
= static_cast< int >(val2
);
22238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22248 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22249 if (!SWIG_IsOK(ecode5
)) {
22250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22252 arg5
= static_cast< long >(val5
);
22256 arg6
= wxString_in_helper(obj5
);
22257 if (arg6
== NULL
) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22282 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22283 PyObject
*resultobj
= 0;
22284 wxToolbook
*result
= 0 ;
22286 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (wxToolbook
*)new wxToolbook();
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22300 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
= 0;
22302 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22303 wxWindow
*arg2
= (wxWindow
*) 0 ;
22305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22309 long arg6
= (long) 0 ;
22310 wxString
const &arg7_defvalue
= wxEmptyString
;
22311 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22323 bool temp7
= false ;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 PyObject
* obj2
= 0 ;
22327 PyObject
* obj3
= 0 ;
22328 PyObject
* obj4
= 0 ;
22329 PyObject
* obj5
= 0 ;
22330 PyObject
* obj6
= 0 ;
22331 char * kwnames
[] = {
22332 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22337 if (!SWIG_IsOK(res1
)) {
22338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22340 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22342 if (!SWIG_IsOK(res2
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22345 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22347 if (!SWIG_IsOK(ecode3
)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22350 arg3
= static_cast< int >(val3
);
22354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22360 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22364 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22365 if (!SWIG_IsOK(ecode6
)) {
22366 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22368 arg6
= static_cast< long >(val6
);
22372 arg7
= wxString_in_helper(obj6
);
22373 if (arg7
== NULL
) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22400 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22401 PyObject
*resultobj
= 0;
22402 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22403 wxToolBarBase
*result
= 0 ;
22406 PyObject
*swig_obj
[1] ;
22408 if (!args
) SWIG_fail
;
22409 swig_obj
[0] = args
;
22410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22411 if (!SWIG_IsOK(res1
)) {
22412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22414 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22430 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22431 PyObject
*resultobj
= 0;
22432 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22435 PyObject
*swig_obj
[1] ;
22437 if (!args
) SWIG_fail
;
22438 swig_obj
[0] = args
;
22439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22443 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_Py_Void();
22457 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22460 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22461 return SWIG_Py_Void();
22464 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22465 return SWIG_Python_InitShadowInstance(args
);
22468 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
= 0;
22470 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22471 int arg2
= (int) 0 ;
22472 int arg3
= (int) wxNOT_FOUND
;
22473 int arg4
= (int) wxNOT_FOUND
;
22474 wxToolbookEvent
*result
= 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 PyObject
* obj2
= 0 ;
22486 PyObject
* obj3
= 0 ;
22487 char * kwnames
[] = {
22488 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22494 if (!SWIG_IsOK(ecode1
)) {
22495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22497 arg1
= static_cast< wxEventType
>(val1
);
22500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22501 if (!SWIG_IsOK(ecode2
)) {
22502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22504 arg2
= static_cast< int >(val2
);
22507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22508 if (!SWIG_IsOK(ecode3
)) {
22509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22511 arg3
= static_cast< int >(val3
);
22514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22515 if (!SWIG_IsOK(ecode4
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22518 arg4
= static_cast< int >(val4
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22533 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22536 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22537 return SWIG_Py_Void();
22540 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22541 return SWIG_Python_InitShadowInstance(args
);
22544 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22545 PyObject
*resultobj
= 0;
22546 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22550 PyObject
*swig_obj
[1] ;
22552 if (!args
) SWIG_fail
;
22553 swig_obj
[0] = args
;
22554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22558 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= (int)(arg1
)->GetId();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_From_int(static_cast< int >(result
));
22572 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22573 PyObject
*resultobj
= 0;
22574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22575 wxControl
*result
= 0 ;
22578 PyObject
*swig_obj
[1] ;
22580 if (!args
) SWIG_fail
;
22581 swig_obj
[0] = args
;
22582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22586 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (wxControl
*)(arg1
)->GetControl();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= wxPyMake_wxObject(result
, 0);
22602 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 PyObject
*resultobj
= 0;
22604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22605 wxToolBarBase
*result
= 0 ;
22608 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22616 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22632 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 PyObject
*resultobj
= 0;
22634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22638 PyObject
*swig_obj
[1] ;
22640 if (!args
) SWIG_fail
;
22641 swig_obj
[0] = args
;
22642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22643 if (!SWIG_IsOK(res1
)) {
22644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22646 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (int)(arg1
)->IsButton();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_From_int(static_cast< int >(result
));
22660 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22661 PyObject
*resultobj
= 0;
22662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22666 PyObject
*swig_obj
[1] ;
22668 if (!args
) SWIG_fail
;
22669 swig_obj
[0] = args
;
22670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22671 if (!SWIG_IsOK(res1
)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22674 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (int)(arg1
)->IsControl();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_From_int(static_cast< int >(result
));
22688 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22689 PyObject
*resultobj
= 0;
22690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22694 PyObject
*swig_obj
[1] ;
22696 if (!args
) SWIG_fail
;
22697 swig_obj
[0] = args
;
22698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22702 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= (int)(arg1
)->IsSeparator();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= SWIG_From_int(static_cast< int >(result
));
22716 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22717 PyObject
*resultobj
= 0;
22718 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22722 PyObject
*swig_obj
[1] ;
22724 if (!args
) SWIG_fail
;
22725 swig_obj
[0] = args
;
22726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22727 if (!SWIG_IsOK(res1
)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22730 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (int)(arg1
)->GetStyle();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_From_int(static_cast< int >(result
));
22744 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22745 PyObject
*resultobj
= 0;
22746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22750 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22758 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= (wxItemKind
)(arg1
)->GetKind();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_From_int(static_cast< int >(result
));
22772 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22773 PyObject
*resultobj
= 0;
22774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22778 PyObject
*swig_obj
[1] ;
22780 if (!args
) SWIG_fail
;
22781 swig_obj
[0] = args
;
22782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22786 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (bool)(arg1
)->IsEnabled();
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22802 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22803 PyObject
*resultobj
= 0;
22804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22808 PyObject
*swig_obj
[1] ;
22810 if (!args
) SWIG_fail
;
22811 swig_obj
[0] = args
;
22812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22813 if (!SWIG_IsOK(res1
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22816 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= (bool)(arg1
)->IsToggled();
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22832 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 PyObject
*resultobj
= 0;
22834 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22838 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22846 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (bool)(arg1
)->CanBeToggled();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22863 PyObject
*resultobj
= 0;
22864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22865 wxBitmap
*result
= 0 ;
22868 PyObject
*swig_obj
[1] ;
22870 if (!args
) SWIG_fail
;
22871 swig_obj
[0] = args
;
22872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22876 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22881 result
= (wxBitmap
*) &_result_ref
;
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 wxBitmap
* resultptr
= new wxBitmap(*result
);
22888 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22896 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 PyObject
*resultobj
= 0;
22898 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22899 wxBitmap
*result
= 0 ;
22902 PyObject
*swig_obj
[1] ;
22904 if (!args
) SWIG_fail
;
22905 swig_obj
[0] = args
;
22906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22907 if (!SWIG_IsOK(res1
)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22910 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22915 result
= (wxBitmap
*) &_result_ref
;
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 wxBitmap
* resultptr
= new wxBitmap(*result
);
22922 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22930 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22931 PyObject
*resultobj
= 0;
22932 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22936 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22944 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (arg1
)->GetBitmap();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22958 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22964 PyObject
*swig_obj
[1] ;
22966 if (!args
) SWIG_fail
;
22967 swig_obj
[0] = args
;
22968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22972 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (arg1
)->GetLabel();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22992 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22993 PyObject
*resultobj
= 0;
22994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22998 PyObject
*swig_obj
[1] ;
23000 if (!args
) SWIG_fail
;
23001 swig_obj
[0] = args
;
23002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23006 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (arg1
)->GetShortHelp();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23026 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23032 PyObject
*swig_obj
[1] ;
23034 if (!args
) SWIG_fail
;
23035 swig_obj
[0] = args
;
23036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23037 if (!SWIG_IsOK(res1
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23040 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (arg1
)->GetLongHelp();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23060 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
= 0;
23062 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char * kwnames
[] = {
23072 (char *) "self",(char *) "enable", NULL
23075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23080 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23082 if (!SWIG_IsOK(ecode2
)) {
23083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23085 arg2
= static_cast< bool >(val2
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (bool)(arg1
)->Enable(arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23101 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23102 PyObject
*resultobj
= 0;
23103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23106 PyObject
*swig_obj
[1] ;
23108 if (!args
) SWIG_fail
;
23109 swig_obj
[0] = args
;
23110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23114 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_Py_Void();
23128 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 char * kwnames
[] = {
23140 (char *) "self",(char *) "toggle", NULL
23143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23145 if (!SWIG_IsOK(res1
)) {
23146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23148 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23150 if (!SWIG_IsOK(ecode2
)) {
23151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23153 arg2
= static_cast< bool >(val2
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (bool)(arg1
)->SetToggle(arg2
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23169 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
= 0;
23171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23172 wxString
*arg2
= 0 ;
23176 bool temp2
= false ;
23177 PyObject
* obj0
= 0 ;
23178 PyObject
* obj1
= 0 ;
23179 char * kwnames
[] = {
23180 (char *) "self",(char *) "help", NULL
23183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23185 if (!SWIG_IsOK(res1
)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23188 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23190 arg2
= wxString_in_helper(obj1
);
23191 if (arg2
== NULL
) SWIG_fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23217 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
= 0;
23219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23220 wxString
*arg2
= 0 ;
23224 bool temp2
= false ;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 char * kwnames
[] = {
23228 (char *) "self",(char *) "help", NULL
23231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23233 if (!SWIG_IsOK(res1
)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23236 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23238 arg2
= wxString_in_helper(obj1
);
23239 if (arg2
== NULL
) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23265 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
= 0;
23267 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23268 wxBitmap
*arg2
= 0 ;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 char * kwnames
[] = {
23276 (char *) "self",(char *) "bmp", NULL
23279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23284 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23286 if (!SWIG_IsOK(res2
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23292 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_Py_Void();
23306 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
= 0;
23308 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23309 wxBitmap
*arg2
= 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "bmp", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23325 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23327 if (!SWIG_IsOK(res2
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23333 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_Py_Void();
23347 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
= 0;
23349 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23350 wxString
*arg2
= 0 ;
23353 bool temp2
= false ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char * kwnames
[] = {
23357 (char *) "self",(char *) "label", NULL
23360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23362 if (!SWIG_IsOK(res1
)) {
23363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23365 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23367 arg2
= wxString_in_helper(obj1
);
23368 if (arg2
== NULL
) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 (arg1
)->SetLabel((wxString
const &)*arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_Py_Void();
23392 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 PyObject
*resultobj
= 0;
23394 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23397 PyObject
*swig_obj
[1] ;
23399 if (!args
) SWIG_fail
;
23400 swig_obj
[0] = args
;
23401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23405 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_Py_Void();
23419 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= 0;
23421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23422 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char * kwnames
[] = {
23430 (char *) "self",(char *) "tbar", NULL
23433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23435 if (!SWIG_IsOK(res1
)) {
23436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23438 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23440 if (!SWIG_IsOK(res2
)) {
23441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23443 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 (arg1
)->Attach(arg2
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_Py_Void();
23457 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23458 PyObject
*resultobj
= 0;
23459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23460 PyObject
*result
= 0 ;
23463 PyObject
*swig_obj
[1] ;
23465 if (!args
) SWIG_fail
;
23466 swig_obj
[0] = args
;
23467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23471 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= result
;
23485 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23488 PyObject
*arg2
= (PyObject
*) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 PyObject
* obj1
= 0 ;
23493 char * kwnames
[] = {
23494 (char *) "self",(char *) "clientData", NULL
23497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23502 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_Py_Void();
23517 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23520 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23521 return SWIG_Py_Void();
23524 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
= 0;
23526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23528 wxString
*arg3
= 0 ;
23529 wxBitmap
*arg4
= 0 ;
23530 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23531 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23532 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23533 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23535 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23536 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23537 PyObject
*arg9
= (PyObject
*) NULL
;
23538 wxToolBarToolBase
*result
= 0 ;
23543 bool temp3
= false ;
23550 bool temp7
= false ;
23551 bool temp8
= false ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 PyObject
* obj2
= 0 ;
23555 PyObject
* obj3
= 0 ;
23556 PyObject
* obj4
= 0 ;
23557 PyObject
* obj5
= 0 ;
23558 PyObject
* obj6
= 0 ;
23559 PyObject
* obj7
= 0 ;
23560 PyObject
* obj8
= 0 ;
23561 char * kwnames
[] = {
23562 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23567 if (!SWIG_IsOK(res1
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23572 if (!SWIG_IsOK(ecode2
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23575 arg2
= static_cast< int >(val2
);
23577 arg3
= wxString_in_helper(obj2
);
23578 if (arg3
== NULL
) SWIG_fail
;
23581 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23582 if (!SWIG_IsOK(res4
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23588 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23590 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23591 if (!SWIG_IsOK(res5
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23597 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23601 if (!SWIG_IsOK(ecode6
)) {
23602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23604 arg6
= static_cast< wxItemKind
>(val6
);
23608 arg7
= wxString_in_helper(obj6
);
23609 if (arg7
== NULL
) SWIG_fail
;
23615 arg8
= wxString_in_helper(obj7
);
23616 if (arg8
== NULL
) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23662 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
= 0;
23664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23667 wxString
*arg4
= 0 ;
23668 wxBitmap
*arg5
= 0 ;
23669 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23670 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23671 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23672 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23673 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23674 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23675 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23676 PyObject
*arg10
= (PyObject
*) NULL
;
23677 wxToolBarToolBase
*result
= 0 ;
23684 bool temp4
= false ;
23691 bool temp8
= false ;
23692 bool temp9
= false ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 PyObject
* obj2
= 0 ;
23696 PyObject
* obj3
= 0 ;
23697 PyObject
* obj4
= 0 ;
23698 PyObject
* obj5
= 0 ;
23699 PyObject
* obj6
= 0 ;
23700 PyObject
* obj7
= 0 ;
23701 PyObject
* obj8
= 0 ;
23702 PyObject
* obj9
= 0 ;
23703 char * kwnames
[] = {
23704 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23713 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23714 if (!SWIG_IsOK(ecode2
)) {
23715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23717 arg2
= static_cast< size_t >(val2
);
23718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23719 if (!SWIG_IsOK(ecode3
)) {
23720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23722 arg3
= static_cast< int >(val3
);
23724 arg4
= wxString_in_helper(obj3
);
23725 if (arg4
== NULL
) SWIG_fail
;
23728 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23729 if (!SWIG_IsOK(res5
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23735 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23737 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23738 if (!SWIG_IsOK(res6
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23744 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23747 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23748 if (!SWIG_IsOK(ecode7
)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23751 arg7
= static_cast< wxItemKind
>(val7
);
23755 arg8
= wxString_in_helper(obj7
);
23756 if (arg8
== NULL
) SWIG_fail
;
23762 arg9
= wxString_in_helper(obj8
);
23763 if (arg9
== NULL
) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23809 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23812 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23813 wxToolBarToolBase
*result
= 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char * kwnames
[] = {
23821 (char *) "self",(char *) "tool", NULL
23824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23829 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23831 if (!SWIG_IsOK(res2
)) {
23832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23834 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23850 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
= 0;
23852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23854 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23855 wxToolBarToolBase
*result
= 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 PyObject
* obj2
= 0 ;
23865 char * kwnames
[] = {
23866 (char *) "self",(char *) "pos",(char *) "tool", NULL
23869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23874 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23875 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23876 if (!SWIG_IsOK(ecode2
)) {
23877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23879 arg2
= static_cast< size_t >(val2
);
23880 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23881 if (!SWIG_IsOK(res3
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23884 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23900 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
= 0;
23902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23903 wxControl
*arg2
= (wxControl
*) 0 ;
23904 wxToolBarToolBase
*result
= 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 char * kwnames
[] = {
23912 (char *) "self",(char *) "control", NULL
23915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23917 if (!SWIG_IsOK(res1
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23920 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23922 if (!SWIG_IsOK(res2
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23925 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23941 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
= 0;
23943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23945 wxControl
*arg3
= (wxControl
*) 0 ;
23946 wxToolBarToolBase
*result
= 0 ;
23953 PyObject
* obj0
= 0 ;
23954 PyObject
* obj1
= 0 ;
23955 PyObject
* obj2
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "self",(char *) "pos",(char *) "control", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23965 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23966 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23967 if (!SWIG_IsOK(ecode2
)) {
23968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23970 arg2
= static_cast< size_t >(val2
);
23971 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23972 if (!SWIG_IsOK(res3
)) {
23973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23975 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23991 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
= 0;
23993 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23995 wxControl
*result
= 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "id", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24011 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24013 if (!SWIG_IsOK(ecode2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24016 arg2
= static_cast< int >(val2
);
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= wxPyMake_wxObject(result
, 0);
24032 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24033 PyObject
*resultobj
= 0;
24034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24035 wxToolBarToolBase
*result
= 0 ;
24038 PyObject
*swig_obj
[1] ;
24040 if (!args
) SWIG_fail
;
24041 swig_obj
[0] = args
;
24042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24046 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24062 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
= 0;
24064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24066 wxToolBarToolBase
*result
= 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char * kwnames
[] = {
24074 (char *) "self",(char *) "pos", NULL
24077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24079 if (!SWIG_IsOK(res1
)) {
24080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24082 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24083 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24084 if (!SWIG_IsOK(ecode2
)) {
24085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24087 arg2
= static_cast< size_t >(val2
);
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24103 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24107 wxToolBarToolBase
*result
= 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 char * kwnames
[] = {
24115 (char *) "self",(char *) "id", NULL
24118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24120 if (!SWIG_IsOK(res1
)) {
24121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24123 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24125 if (!SWIG_IsOK(ecode2
)) {
24126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24128 arg2
= static_cast< int >(val2
);
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24144 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "pos", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24164 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24165 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24169 arg2
= static_cast< size_t >(val2
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24185 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
= 0;
24187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char * kwnames
[] = {
24197 (char *) "self",(char *) "id", NULL
24200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24205 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24207 if (!SWIG_IsOK(ecode2
)) {
24208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24210 arg2
= static_cast< int >(val2
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (bool)(arg1
)->DeleteTool(arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24226 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24227 PyObject
*resultobj
= 0;
24228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24231 PyObject
*swig_obj
[1] ;
24233 if (!args
) SWIG_fail
;
24234 swig_obj
[0] = args
;
24235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24236 if (!SWIG_IsOK(res1
)) {
24237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24239 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->ClearTools();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_Py_Void();
24253 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24254 PyObject
*resultobj
= 0;
24255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24259 PyObject
*swig_obj
[1] ;
24261 if (!args
) SWIG_fail
;
24262 swig_obj
[0] = args
;
24263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24264 if (!SWIG_IsOK(res1
)) {
24265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24267 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (bool)(arg1
)->Realize();
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24283 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
= 0;
24285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 PyObject
* obj2
= 0 ;
24297 char * kwnames
[] = {
24298 (char *) "self",(char *) "id",(char *) "enable", NULL
24301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24303 if (!SWIG_IsOK(res1
)) {
24304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24306 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24308 if (!SWIG_IsOK(ecode2
)) {
24309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24311 arg2
= static_cast< int >(val2
);
24312 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24313 if (!SWIG_IsOK(ecode3
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24316 arg3
= static_cast< bool >(val3
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 (arg1
)->EnableTool(arg2
,arg3
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_Py_Void();
24330 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
= 0;
24332 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 PyObject
* obj2
= 0 ;
24344 char * kwnames
[] = {
24345 (char *) "self",(char *) "id",(char *) "toggle", NULL
24348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",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_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24353 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24355 if (!SWIG_IsOK(ecode2
)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24358 arg2
= static_cast< int >(val2
);
24359 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24360 if (!SWIG_IsOK(ecode3
)) {
24361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24363 arg3
= static_cast< bool >(val3
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->ToggleTool(arg2
,arg3
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_Py_Void();
24377 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 PyObject
* obj2
= 0 ;
24391 char * kwnames
[] = {
24392 (char *) "self",(char *) "id",(char *) "toggle", NULL
24395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24400 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24402 if (!SWIG_IsOK(ecode2
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24405 arg2
= static_cast< int >(val2
);
24406 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24407 if (!SWIG_IsOK(ecode3
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24410 arg3
= static_cast< bool >(val3
);
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->SetToggle(arg2
,arg3
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_Py_Void();
24424 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24428 PyObject
*result
= 0 ;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char * kwnames
[] = {
24436 (char *) "self",(char *) "id", NULL
24439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24441 if (!SWIG_IsOK(res1
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24444 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24446 if (!SWIG_IsOK(ecode2
)) {
24447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24449 arg2
= static_cast< int >(val2
);
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= result
;
24463 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
= 0;
24465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24467 PyObject
*arg3
= (PyObject
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 PyObject
* obj2
= 0 ;
24475 char * kwnames
[] = {
24476 (char *) "self",(char *) "id",(char *) "clientData", NULL
24479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24481 if (!SWIG_IsOK(res1
)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24484 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24486 if (!SWIG_IsOK(ecode2
)) {
24487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24489 arg2
= static_cast< int >(val2
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= SWIG_Py_Void();
24504 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
= 0;
24506 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char * kwnames
[] = {
24516 (char *) "self",(char *) "id", NULL
24519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24524 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24526 if (!SWIG_IsOK(ecode2
)) {
24527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24529 arg2
= static_cast< int >(val2
);
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_From_int(static_cast< int >(result
));
24543 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
= 0;
24545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char * kwnames
[] = {
24555 (char *) "self",(char *) "id", NULL
24558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24560 if (!SWIG_IsOK(res1
)) {
24561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24563 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24565 if (!SWIG_IsOK(ecode2
)) {
24566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24568 arg2
= static_cast< int >(val2
);
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (bool)(arg1
)->GetToolState(arg2
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24584 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
= 0;
24586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char * kwnames
[] = {
24596 (char *) "self",(char *) "id", NULL
24599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24604 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24606 if (!SWIG_IsOK(ecode2
)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24609 arg2
= static_cast< int >(val2
);
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24625 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
= 0;
24627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24629 wxString
*arg3
= 0 ;
24634 bool temp3
= false ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 PyObject
* obj2
= 0 ;
24638 char * kwnames
[] = {
24639 (char *) "self",(char *) "id",(char *) "helpString", NULL
24642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24644 if (!SWIG_IsOK(res1
)) {
24645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24647 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24649 if (!SWIG_IsOK(ecode2
)) {
24650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24652 arg2
= static_cast< int >(val2
);
24654 arg3
= wxString_in_helper(obj2
);
24655 if (arg3
== NULL
) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= SWIG_Py_Void();
24679 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
= 0;
24681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char * kwnames
[] = {
24691 (char *) "self",(char *) "id", NULL
24694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24696 if (!SWIG_IsOK(res1
)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24699 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24701 if (!SWIG_IsOK(ecode2
)) {
24702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24704 arg2
= static_cast< int >(val2
);
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (arg1
)->GetToolShortHelp(arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24724 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
= 0;
24726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24728 wxString
*arg3
= 0 ;
24733 bool temp3
= false ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 PyObject
* obj2
= 0 ;
24737 char * kwnames
[] = {
24738 (char *) "self",(char *) "id",(char *) "helpString", NULL
24741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24743 if (!SWIG_IsOK(res1
)) {
24744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24746 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24748 if (!SWIG_IsOK(ecode2
)) {
24749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24751 arg2
= static_cast< int >(val2
);
24753 arg3
= wxString_in_helper(obj2
);
24754 if (arg3
== NULL
) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_Py_Void();
24778 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
= 0;
24780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char * kwnames
[] = {
24790 (char *) "self",(char *) "id", NULL
24793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24795 if (!SWIG_IsOK(res1
)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24798 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24800 if (!SWIG_IsOK(ecode2
)) {
24801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24803 arg2
= static_cast< int >(val2
);
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (arg1
)->GetToolLongHelp(arg2
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24823 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 PyObject
* obj2
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "self",(char *) "x",(char *) "y", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24846 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24848 if (!SWIG_IsOK(ecode2
)) {
24849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24851 arg2
= static_cast< int >(val2
);
24852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24853 if (!SWIG_IsOK(ecode3
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24856 arg3
= static_cast< int >(val3
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 (arg1
)->SetMargins(arg2
,arg3
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_Py_Void();
24870 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
= 0;
24872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24877 PyObject
* obj0
= 0 ;
24878 PyObject
* obj1
= 0 ;
24879 char * kwnames
[] = {
24880 (char *) "self",(char *) "size", NULL
24883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24885 if (!SWIG_IsOK(res1
)) {
24886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24888 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24891 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_Py_Void();
24906 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 PyObject
* obj1
= 0 ;
24916 char * kwnames
[] = {
24917 (char *) "self",(char *) "packing", NULL
24920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24925 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24927 if (!SWIG_IsOK(ecode2
)) {
24928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24930 arg2
= static_cast< int >(val2
);
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->SetToolPacking(arg2
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_Py_Void();
24944 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
= 0;
24946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char * kwnames
[] = {
24955 (char *) "self",(char *) "separation", NULL
24958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24960 if (!SWIG_IsOK(res1
)) {
24961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24963 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24965 if (!SWIG_IsOK(ecode2
)) {
24966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24968 arg2
= static_cast< int >(val2
);
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 (arg1
)->SetToolSeparation(arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_Py_Void();
24982 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24983 PyObject
*resultobj
= 0;
24984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24988 PyObject
*swig_obj
[1] ;
24990 if (!args
) SWIG_fail
;
24991 swig_obj
[0] = args
;
24992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24993 if (!SWIG_IsOK(res1
)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24996 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (arg1
)->GetToolMargins();
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25010 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25011 PyObject
*resultobj
= 0;
25012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25016 PyObject
*swig_obj
[1] ;
25018 if (!args
) SWIG_fail
;
25019 swig_obj
[0] = args
;
25020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25021 if (!SWIG_IsOK(res1
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25024 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (arg1
)->GetMargins();
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25038 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25039 PyObject
*resultobj
= 0;
25040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25044 PyObject
*swig_obj
[1] ;
25046 if (!args
) SWIG_fail
;
25047 swig_obj
[0] = args
;
25048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25049 if (!SWIG_IsOK(res1
)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25052 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (int)(arg1
)->GetToolPacking();
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_From_int(static_cast< int >(result
));
25066 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25067 PyObject
*resultobj
= 0;
25068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25072 PyObject
*swig_obj
[1] ;
25074 if (!args
) SWIG_fail
;
25075 swig_obj
[0] = args
;
25076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25080 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (int)(arg1
)->GetToolSeparation();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 resultobj
= SWIG_From_int(static_cast< int >(result
));
25094 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
= 0;
25096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "self",(char *) "nRows", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25113 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25115 if (!SWIG_IsOK(ecode2
)) {
25116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25118 arg2
= static_cast< int >(val2
);
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->SetRows(arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_Py_Void();
25132 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
= 0;
25134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 PyObject
* obj2
= 0 ;
25146 char * kwnames
[] = {
25147 (char *) "self",(char *) "rows",(char *) "cols", NULL
25150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25155 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25157 if (!SWIG_IsOK(ecode2
)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25160 arg2
= static_cast< int >(val2
);
25161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25162 if (!SWIG_IsOK(ecode3
)) {
25163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25165 arg3
= static_cast< int >(val3
);
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= SWIG_Py_Void();
25179 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25180 PyObject
*resultobj
= 0;
25181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25185 PyObject
*swig_obj
[1] ;
25187 if (!args
) SWIG_fail
;
25188 swig_obj
[0] = args
;
25189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25193 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (int)(arg1
)->GetMaxRows();
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= SWIG_From_int(static_cast< int >(result
));
25207 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25208 PyObject
*resultobj
= 0;
25209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25213 PyObject
*swig_obj
[1] ;
25215 if (!args
) SWIG_fail
;
25216 swig_obj
[0] = args
;
25217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25218 if (!SWIG_IsOK(res1
)) {
25219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25221 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 result
= (int)(arg1
)->GetMaxCols();
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_From_int(static_cast< int >(result
));
25235 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char * kwnames
[] = {
25245 (char *) "self",(char *) "size", NULL
25248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25256 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_Py_Void();
25271 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25272 PyObject
*resultobj
= 0;
25273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25277 PyObject
*swig_obj
[1] ;
25279 if (!args
) SWIG_fail
;
25280 swig_obj
[0] = args
;
25281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25285 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (arg1
)->GetToolBitmapSize();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25299 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25300 PyObject
*resultobj
= 0;
25301 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25305 PyObject
*swig_obj
[1] ;
25307 if (!args
) SWIG_fail
;
25308 swig_obj
[0] = args
;
25309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25313 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (arg1
)->GetToolSize();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25327 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
= 0;
25329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25332 wxToolBarToolBase
*result
= 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 PyObject
* obj2
= 0 ;
25342 char * kwnames
[] = {
25343 (char *) "self",(char *) "x",(char *) "y", NULL
25346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) 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_FindToolForPosition" "', 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_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25356 arg2
= static_cast< int >(val2
);
25357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25358 if (!SWIG_IsOK(ecode3
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25361 arg3
= static_cast< int >(val3
);
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25377 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
= 0;
25379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25381 wxToolBarToolBase
*result
= 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char * kwnames
[] = {
25389 (char *) "self",(char *) "toolid", NULL
25392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25397 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25399 if (!SWIG_IsOK(ecode2
)) {
25400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25402 arg2
= static_cast< int >(val2
);
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25418 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25432 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (bool)(arg1
)->IsVertical();
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25448 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25449 PyObject
*resultobj
= 0;
25450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25454 PyObject
*swig_obj
[1] ;
25456 if (!args
) SWIG_fail
;
25457 swig_obj
[0] = args
;
25458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25462 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25476 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25479 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25480 return SWIG_Py_Void();
25483 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= 0;
25485 wxWindow
*arg1
= (wxWindow
*) 0 ;
25486 int arg2
= (int) -1 ;
25487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25491 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25492 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25493 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25494 wxToolBar
*result
= 0 ;
25503 bool temp6
= false ;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 PyObject
* obj2
= 0 ;
25507 PyObject
* obj3
= 0 ;
25508 PyObject
* obj4
= 0 ;
25509 PyObject
* obj5
= 0 ;
25510 char * kwnames
[] = {
25511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25516 if (!SWIG_IsOK(res1
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25519 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25522 if (!SWIG_IsOK(ecode2
)) {
25523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25525 arg2
= static_cast< int >(val2
);
25530 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25536 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25540 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25541 if (!SWIG_IsOK(ecode5
)) {
25542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25544 arg5
= static_cast< long >(val5
);
25548 arg6
= wxString_in_helper(obj5
);
25549 if (arg6
== NULL
) SWIG_fail
;
25554 if (!wxPyCheckForApp()) SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25575 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25576 PyObject
*resultobj
= 0;
25577 wxToolBar
*result
= 0 ;
25579 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25581 if (!wxPyCheckForApp()) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 result
= (wxToolBar
*)new wxToolBar();
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25594 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
= 0;
25596 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25597 wxWindow
*arg2
= (wxWindow
*) 0 ;
25598 int arg3
= (int) -1 ;
25599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25603 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25604 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25605 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25617 bool temp7
= false ;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 PyObject
* obj2
= 0 ;
25621 PyObject
* obj3
= 0 ;
25622 PyObject
* obj4
= 0 ;
25623 PyObject
* obj5
= 0 ;
25624 PyObject
* obj6
= 0 ;
25625 char * kwnames
[] = {
25626 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25631 if (!SWIG_IsOK(res1
)) {
25632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25634 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25636 if (!SWIG_IsOK(res2
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25642 if (!SWIG_IsOK(ecode3
)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25645 arg3
= static_cast< int >(val3
);
25650 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25656 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25660 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25661 if (!SWIG_IsOK(ecode6
)) {
25662 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25664 arg6
= static_cast< long >(val6
);
25668 arg7
= wxString_in_helper(obj6
);
25669 if (arg7
== NULL
) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25696 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
= 0;
25698 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25699 SwigValueWrapper
<wxVisualAttributes
> result
;
25702 PyObject
* obj0
= 0 ;
25703 char * kwnames
[] = {
25704 (char *) "variant", NULL
25707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25710 if (!SWIG_IsOK(ecode1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25713 arg1
= static_cast< wxWindowVariant
>(val1
);
25716 if (!wxPyCheckForApp()) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25729 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25732 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25733 return SWIG_Py_Void();
25736 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 return SWIG_Python_InitShadowInstance(args
);
25740 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25741 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25746 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25747 PyObject
*pyobj
= 0;
25751 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25753 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25760 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
= 0;
25762 wxColour
const &arg1_defvalue
= wxNullColour
;
25763 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25764 wxColour
const &arg2_defvalue
= wxNullColour
;
25765 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25766 wxFont
const &arg3_defvalue
= wxNullFont
;
25767 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25768 wxListItemAttr
*result
= 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 PyObject
* obj2
= 0 ;
25776 char * kwnames
[] = {
25777 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25784 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25794 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25795 if (!SWIG_IsOK(res3
)) {
25796 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25801 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25816 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25817 PyObject
*resultobj
= 0;
25818 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25821 PyObject
*swig_obj
[1] ;
25823 if (!args
) SWIG_fail
;
25824 swig_obj
[0] = args
;
25825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25826 if (!SWIG_IsOK(res1
)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25829 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= SWIG_Py_Void();
25844 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
= 0;
25846 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25847 wxColour
*arg2
= 0 ;
25851 PyObject
* obj0
= 0 ;
25852 PyObject
* obj1
= 0 ;
25853 char * kwnames
[] = {
25854 (char *) "self",(char *) "colText", NULL
25857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25862 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25865 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_Py_Void();
25880 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= 0;
25882 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25883 wxColour
*arg2
= 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char * kwnames
[] = {
25890 (char *) "self",(char *) "colBack", NULL
25893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25898 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25901 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= SWIG_Py_Void();
25916 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
= 0;
25918 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 char * kwnames
[] = {
25927 (char *) "self",(char *) "font", NULL
25930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25932 if (!SWIG_IsOK(res1
)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25935 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25937 if (!SWIG_IsOK(res2
)) {
25938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25943 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 (arg1
)->SetFont((wxFont
const &)*arg2
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_Py_Void();
25957 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25958 PyObject
*resultobj
= 0;
25959 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25963 PyObject
*swig_obj
[1] ;
25965 if (!args
) SWIG_fail
;
25966 swig_obj
[0] = args
;
25967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25971 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (bool)(arg1
)->HasTextColour();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25987 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25988 PyObject
*resultobj
= 0;
25989 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25993 PyObject
*swig_obj
[1] ;
25995 if (!args
) SWIG_fail
;
25996 swig_obj
[0] = args
;
25997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25998 if (!SWIG_IsOK(res1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26001 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 result
= (bool)(arg1
)->HasBackgroundColour();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26017 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26018 PyObject
*resultobj
= 0;
26019 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26023 PyObject
*swig_obj
[1] ;
26025 if (!args
) SWIG_fail
;
26026 swig_obj
[0] = args
;
26027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26028 if (!SWIG_IsOK(res1
)) {
26029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26031 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (bool)(arg1
)->HasFont();
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26047 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26048 PyObject
*resultobj
= 0;
26049 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26053 PyObject
*swig_obj
[1] ;
26055 if (!args
) SWIG_fail
;
26056 swig_obj
[0] = args
;
26057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26061 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (arg1
)->GetTextColour();
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26075 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26076 PyObject
*resultobj
= 0;
26077 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26081 PyObject
*swig_obj
[1] ;
26083 if (!args
) SWIG_fail
;
26084 swig_obj
[0] = args
;
26085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26089 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= (arg1
)->GetBackgroundColour();
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26103 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26104 PyObject
*resultobj
= 0;
26105 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26109 PyObject
*swig_obj
[1] ;
26111 if (!args
) SWIG_fail
;
26112 swig_obj
[0] = args
;
26113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26114 if (!SWIG_IsOK(res1
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26117 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (arg1
)->GetFont();
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26131 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
= 0;
26133 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26134 wxListItemAttr
*arg2
= 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "self",(char *) "source", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26150 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26152 if (!SWIG_IsOK(res2
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26158 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26173 PyObject
*resultobj
= 0;
26174 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26177 PyObject
*swig_obj
[1] ;
26179 if (!args
) SWIG_fail
;
26180 swig_obj
[0] = args
;
26181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26185 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 wxListItemAttr_Destroy(arg1
);
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_Py_Void();
26199 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26202 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26203 return SWIG_Py_Void();
26206 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26207 return SWIG_Python_InitShadowInstance(args
);
26210 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 PyObject
*resultobj
= 0;
26212 wxListItem
*result
= 0 ;
26214 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (wxListItem
*)new wxListItem();
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26230 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItem
*arg1
= (wxListItem
*) 0 ;
26235 PyObject
*swig_obj
[1] ;
26237 if (!args
) SWIG_fail
;
26238 swig_obj
[0] = args
;
26239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26243 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 resultobj
= SWIG_Py_Void();
26258 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26259 PyObject
*resultobj
= 0;
26260 wxListItem
*arg1
= (wxListItem
*) 0 ;
26263 PyObject
*swig_obj
[1] ;
26265 if (!args
) SWIG_fail
;
26266 swig_obj
[0] = args
;
26267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26268 if (!SWIG_IsOK(res1
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26271 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_Py_Void();
26285 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26286 PyObject
*resultobj
= 0;
26287 wxListItem
*arg1
= (wxListItem
*) 0 ;
26290 PyObject
*swig_obj
[1] ;
26292 if (!args
) SWIG_fail
;
26293 swig_obj
[0] = args
;
26294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26295 if (!SWIG_IsOK(res1
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26298 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->ClearAttributes();
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= SWIG_Py_Void();
26312 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
= 0;
26314 wxListItem
*arg1
= (wxListItem
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "self",(char *) "mask", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26331 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26332 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26333 if (!SWIG_IsOK(ecode2
)) {
26334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26336 arg2
= static_cast< long >(val2
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 (arg1
)->SetMask(arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_Py_Void();
26350 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
= 0;
26352 wxListItem
*arg1
= (wxListItem
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 char * kwnames
[] = {
26361 (char *) "self",(char *) "id", NULL
26364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26369 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26370 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26371 if (!SWIG_IsOK(ecode2
)) {
26372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26374 arg2
= static_cast< long >(val2
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->SetId(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxListItem
*arg1
= (wxListItem
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char * kwnames
[] = {
26399 (char *) "self",(char *) "col", NULL
26402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26407 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26409 if (!SWIG_IsOK(ecode2
)) {
26410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26412 arg2
= static_cast< int >(val2
);
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 (arg1
)->SetColumn(arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= SWIG_Py_Void();
26426 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
= 0;
26428 wxListItem
*arg1
= (wxListItem
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 PyObject
* obj1
= 0 ;
26436 char * kwnames
[] = {
26437 (char *) "self",(char *) "state", NULL
26440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26442 if (!SWIG_IsOK(res1
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26445 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26446 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26447 if (!SWIG_IsOK(ecode2
)) {
26448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26450 arg2
= static_cast< long >(val2
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->SetState(arg2
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_Py_Void();
26464 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
= 0;
26466 wxListItem
*arg1
= (wxListItem
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char * kwnames
[] = {
26475 (char *) "self",(char *) "stateMask", NULL
26478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26483 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26485 if (!SWIG_IsOK(ecode2
)) {
26486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26488 arg2
= static_cast< long >(val2
);
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 (arg1
)->SetStateMask(arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_Py_Void();
26502 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
= 0;
26504 wxListItem
*arg1
= (wxListItem
*) 0 ;
26505 wxString
*arg2
= 0 ;
26508 bool temp2
= false ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char * kwnames
[] = {
26512 (char *) "self",(char *) "text", NULL
26515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26520 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26522 arg2
= wxString_in_helper(obj1
);
26523 if (arg2
== NULL
) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->SetText((wxString
const &)*arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= 0;
26549 wxListItem
*arg1
= (wxListItem
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char * kwnames
[] = {
26558 (char *) "self",(char *) "image", NULL
26561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26563 if (!SWIG_IsOK(res1
)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26566 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26568 if (!SWIG_IsOK(ecode2
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26571 arg2
= static_cast< int >(val2
);
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 (arg1
)->SetImage(arg2
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_Py_Void();
26585 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
= 0;
26587 wxListItem
*arg1
= (wxListItem
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char * kwnames
[] = {
26596 (char *) "self",(char *) "data", NULL
26599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26604 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26605 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26606 if (!SWIG_IsOK(ecode2
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26609 arg2
= static_cast< long >(val2
);
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 (arg1
)->SetData(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_Py_Void();
26623 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= 0;
26625 wxListItem
*arg1
= (wxListItem
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char * kwnames
[] = {
26634 (char *) "self",(char *) "width", NULL
26637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26642 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26644 if (!SWIG_IsOK(ecode2
)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26647 arg2
= static_cast< int >(val2
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 (arg1
)->SetWidth(arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_Py_Void();
26661 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
= 0;
26663 wxListItem
*arg1
= (wxListItem
*) 0 ;
26664 wxListColumnFormat arg2
;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char * kwnames
[] = {
26672 (char *) "self",(char *) "align", NULL
26675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26680 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26682 if (!SWIG_IsOK(ecode2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26685 arg2
= static_cast< wxListColumnFormat
>(val2
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 (arg1
)->SetAlign(arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= 0;
26701 wxListItem
*arg1
= (wxListItem
*) 0 ;
26702 wxColour
*arg2
= 0 ;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 char * kwnames
[] = {
26709 (char *) "self",(char *) "colText", NULL
26712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",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_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26717 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26720 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_Py_Void();
26735 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
= 0;
26737 wxListItem
*arg1
= (wxListItem
*) 0 ;
26738 wxColour
*arg2
= 0 ;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 char * kwnames
[] = {
26745 (char *) "self",(char *) "colBack", NULL
26748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26750 if (!SWIG_IsOK(res1
)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26753 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26756 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_Py_Void();
26771 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
= 0;
26773 wxListItem
*arg1
= (wxListItem
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 char * kwnames
[] = {
26782 (char *) "self",(char *) "font", NULL
26785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26790 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26792 if (!SWIG_IsOK(res2
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26798 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 (arg1
)->SetFont((wxFont
const &)*arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_Py_Void();
26812 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26813 PyObject
*resultobj
= 0;
26814 wxListItem
*arg1
= (wxListItem
*) 0 ;
26818 PyObject
*swig_obj
[1] ;
26820 if (!args
) SWIG_fail
;
26821 swig_obj
[0] = args
;
26822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26823 if (!SWIG_IsOK(res1
)) {
26824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26826 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= (long)(arg1
)->GetMask();
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_From_long(static_cast< long >(result
));
26840 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26841 PyObject
*resultobj
= 0;
26842 wxListItem
*arg1
= (wxListItem
*) 0 ;
26846 PyObject
*swig_obj
[1] ;
26848 if (!args
) SWIG_fail
;
26849 swig_obj
[0] = args
;
26850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26851 if (!SWIG_IsOK(res1
)) {
26852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26854 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (long)(arg1
)->GetId();
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_From_long(static_cast< long >(result
));
26868 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26869 PyObject
*resultobj
= 0;
26870 wxListItem
*arg1
= (wxListItem
*) 0 ;
26874 PyObject
*swig_obj
[1] ;
26876 if (!args
) SWIG_fail
;
26877 swig_obj
[0] = args
;
26878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26882 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (int)(arg1
)->GetColumn();
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_From_int(static_cast< int >(result
));
26896 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26897 PyObject
*resultobj
= 0;
26898 wxListItem
*arg1
= (wxListItem
*) 0 ;
26902 PyObject
*swig_obj
[1] ;
26904 if (!args
) SWIG_fail
;
26905 swig_obj
[0] = args
;
26906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26907 if (!SWIG_IsOK(res1
)) {
26908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26910 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 result
= (long)(arg1
)->GetState();
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_From_long(static_cast< long >(result
));
26924 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxListItem
*arg1
= (wxListItem
*) 0 ;
26927 wxString
*result
= 0 ;
26930 PyObject
*swig_obj
[1] ;
26932 if (!args
) SWIG_fail
;
26933 swig_obj
[0] = args
;
26934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26938 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 wxString
const &_result_ref
= (arg1
)->GetText();
26943 result
= (wxString
*) &_result_ref
;
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26952 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26961 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26962 PyObject
*resultobj
= 0;
26963 wxListItem
*arg1
= (wxListItem
*) 0 ;
26967 PyObject
*swig_obj
[1] ;
26969 if (!args
) SWIG_fail
;
26970 swig_obj
[0] = args
;
26971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26975 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 result
= (int)(arg1
)->GetImage();
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_From_int(static_cast< int >(result
));
26989 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26990 PyObject
*resultobj
= 0;
26991 wxListItem
*arg1
= (wxListItem
*) 0 ;
26995 PyObject
*swig_obj
[1] ;
26997 if (!args
) SWIG_fail
;
26998 swig_obj
[0] = args
;
26999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (long)(arg1
)->GetData();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= SWIG_From_long(static_cast< long >(result
));
27017 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27018 PyObject
*resultobj
= 0;
27019 wxListItem
*arg1
= (wxListItem
*) 0 ;
27023 PyObject
*swig_obj
[1] ;
27025 if (!args
) SWIG_fail
;
27026 swig_obj
[0] = args
;
27027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27028 if (!SWIG_IsOK(res1
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27031 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 result
= (int)(arg1
)->GetWidth();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= SWIG_From_int(static_cast< int >(result
));
27045 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27046 PyObject
*resultobj
= 0;
27047 wxListItem
*arg1
= (wxListItem
*) 0 ;
27048 wxListColumnFormat result
;
27051 PyObject
*swig_obj
[1] ;
27053 if (!args
) SWIG_fail
;
27054 swig_obj
[0] = args
;
27055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27056 if (!SWIG_IsOK(res1
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_From_int(static_cast< int >(result
));
27073 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27074 PyObject
*resultobj
= 0;
27075 wxListItem
*arg1
= (wxListItem
*) 0 ;
27076 wxListItemAttr
*result
= 0 ;
27079 PyObject
*swig_obj
[1] ;
27081 if (!args
) SWIG_fail
;
27082 swig_obj
[0] = args
;
27083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27084 if (!SWIG_IsOK(res1
)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27087 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27101 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27102 PyObject
*resultobj
= 0;
27103 wxListItem
*arg1
= (wxListItem
*) 0 ;
27107 PyObject
*swig_obj
[1] ;
27109 if (!args
) SWIG_fail
;
27110 swig_obj
[0] = args
;
27111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27112 if (!SWIG_IsOK(res1
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27115 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (bool)(arg1
)->HasAttributes();
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27131 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27132 PyObject
*resultobj
= 0;
27133 wxListItem
*arg1
= (wxListItem
*) 0 ;
27137 PyObject
*swig_obj
[1] ;
27139 if (!args
) SWIG_fail
;
27140 swig_obj
[0] = args
;
27141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27145 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27159 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27160 PyObject
*resultobj
= 0;
27161 wxListItem
*arg1
= (wxListItem
*) 0 ;
27165 PyObject
*swig_obj
[1] ;
27167 if (!args
) SWIG_fail
;
27168 swig_obj
[0] = args
;
27169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27173 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27187 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27188 PyObject
*resultobj
= 0;
27189 wxListItem
*arg1
= (wxListItem
*) 0 ;
27193 PyObject
*swig_obj
[1] ;
27195 if (!args
) SWIG_fail
;
27196 swig_obj
[0] = args
;
27197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27201 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= ((wxListItem
const *)arg1
)->GetFont();
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27215 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27216 PyObject
*resultobj
= 0;
27217 wxListItem
*arg1
= (wxListItem
*) 0 ;
27223 PyObject
*swig_obj
[2] ;
27225 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27227 if (!SWIG_IsOK(res1
)) {
27228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27230 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27231 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27232 if (!SWIG_IsOK(ecode2
)) {
27233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27235 arg2
= static_cast< long >(val2
);
27236 if (arg1
) (arg1
)->m_mask
= arg2
;
27238 resultobj
= SWIG_Py_Void();
27245 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27246 PyObject
*resultobj
= 0;
27247 wxListItem
*arg1
= (wxListItem
*) 0 ;
27251 PyObject
*swig_obj
[1] ;
27253 if (!args
) SWIG_fail
;
27254 swig_obj
[0] = args
;
27255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27259 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 result
= (long) ((arg1
)->m_mask
);
27261 resultobj
= SWIG_From_long(static_cast< long >(result
));
27268 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27269 PyObject
*resultobj
= 0;
27270 wxListItem
*arg1
= (wxListItem
*) 0 ;
27276 PyObject
*swig_obj
[2] ;
27278 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27280 if (!SWIG_IsOK(res1
)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27283 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27284 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27285 if (!SWIG_IsOK(ecode2
)) {
27286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27288 arg2
= static_cast< long >(val2
);
27289 if (arg1
) (arg1
)->m_itemId
= arg2
;
27291 resultobj
= SWIG_Py_Void();
27298 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27299 PyObject
*resultobj
= 0;
27300 wxListItem
*arg1
= (wxListItem
*) 0 ;
27304 PyObject
*swig_obj
[1] ;
27306 if (!args
) SWIG_fail
;
27307 swig_obj
[0] = args
;
27308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27309 if (!SWIG_IsOK(res1
)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27312 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27313 result
= (long) ((arg1
)->m_itemId
);
27314 resultobj
= SWIG_From_long(static_cast< long >(result
));
27321 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27322 PyObject
*resultobj
= 0;
27323 wxListItem
*arg1
= (wxListItem
*) 0 ;
27329 PyObject
*swig_obj
[2] ;
27331 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27333 if (!SWIG_IsOK(res1
)) {
27334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27336 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27337 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27338 if (!SWIG_IsOK(ecode2
)) {
27339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27341 arg2
= static_cast< int >(val2
);
27342 if (arg1
) (arg1
)->m_col
= arg2
;
27344 resultobj
= SWIG_Py_Void();
27351 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27352 PyObject
*resultobj
= 0;
27353 wxListItem
*arg1
= (wxListItem
*) 0 ;
27357 PyObject
*swig_obj
[1] ;
27359 if (!args
) SWIG_fail
;
27360 swig_obj
[0] = args
;
27361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27362 if (!SWIG_IsOK(res1
)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27365 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27366 result
= (int) ((arg1
)->m_col
);
27367 resultobj
= SWIG_From_int(static_cast< int >(result
));
27374 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27375 PyObject
*resultobj
= 0;
27376 wxListItem
*arg1
= (wxListItem
*) 0 ;
27382 PyObject
*swig_obj
[2] ;
27384 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
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_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27389 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27390 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27391 if (!SWIG_IsOK(ecode2
)) {
27392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27394 arg2
= static_cast< long >(val2
);
27395 if (arg1
) (arg1
)->m_state
= arg2
;
27397 resultobj
= SWIG_Py_Void();
27404 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxListItem
*arg1
= (wxListItem
*) 0 ;
27410 PyObject
*swig_obj
[1] ;
27412 if (!args
) SWIG_fail
;
27413 swig_obj
[0] = args
;
27414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27418 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27419 result
= (long) ((arg1
)->m_state
);
27420 resultobj
= SWIG_From_long(static_cast< long >(result
));
27427 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 PyObject
*resultobj
= 0;
27429 wxListItem
*arg1
= (wxListItem
*) 0 ;
27435 PyObject
*swig_obj
[2] ;
27437 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27439 if (!SWIG_IsOK(res1
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27442 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27443 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27444 if (!SWIG_IsOK(ecode2
)) {
27445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27447 arg2
= static_cast< long >(val2
);
27448 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27450 resultobj
= SWIG_Py_Void();
27457 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27458 PyObject
*resultobj
= 0;
27459 wxListItem
*arg1
= (wxListItem
*) 0 ;
27463 PyObject
*swig_obj
[1] ;
27465 if (!args
) SWIG_fail
;
27466 swig_obj
[0] = args
;
27467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27472 result
= (long) ((arg1
)->m_stateMask
);
27473 resultobj
= SWIG_From_long(static_cast< long >(result
));
27480 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27481 PyObject
*resultobj
= 0;
27482 wxListItem
*arg1
= (wxListItem
*) 0 ;
27483 wxString
*arg2
= (wxString
*) 0 ;
27486 bool temp2
= false ;
27487 PyObject
*swig_obj
[2] ;
27489 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27494 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27496 arg2
= wxString_in_helper(swig_obj
[1]);
27497 if (arg2
== NULL
) SWIG_fail
;
27500 if (arg1
) (arg1
)->m_text
= *arg2
;
27502 resultobj
= SWIG_Py_Void();
27517 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27518 PyObject
*resultobj
= 0;
27519 wxListItem
*arg1
= (wxListItem
*) 0 ;
27520 wxString
*result
= 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_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27531 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27532 result
= (wxString
*)& ((arg1
)->m_text
);
27535 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27537 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27546 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27547 PyObject
*resultobj
= 0;
27548 wxListItem
*arg1
= (wxListItem
*) 0 ;
27554 PyObject
*swig_obj
[2] ;
27556 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27558 if (!SWIG_IsOK(res1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27561 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27562 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27563 if (!SWIG_IsOK(ecode2
)) {
27564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27566 arg2
= static_cast< int >(val2
);
27567 if (arg1
) (arg1
)->m_image
= arg2
;
27569 resultobj
= SWIG_Py_Void();
27576 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 PyObject
*resultobj
= 0;
27578 wxListItem
*arg1
= (wxListItem
*) 0 ;
27582 PyObject
*swig_obj
[1] ;
27584 if (!args
) SWIG_fail
;
27585 swig_obj
[0] = args
;
27586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27587 if (!SWIG_IsOK(res1
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27590 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27591 result
= (int) ((arg1
)->m_image
);
27592 resultobj
= SWIG_From_int(static_cast< int >(result
));
27599 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27600 PyObject
*resultobj
= 0;
27601 wxListItem
*arg1
= (wxListItem
*) 0 ;
27607 PyObject
*swig_obj
[2] ;
27609 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27611 if (!SWIG_IsOK(res1
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27615 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27616 if (!SWIG_IsOK(ecode2
)) {
27617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27619 arg2
= static_cast< long >(val2
);
27620 if (arg1
) (arg1
)->m_data
= arg2
;
27622 resultobj
= SWIG_Py_Void();
27629 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27630 PyObject
*resultobj
= 0;
27631 wxListItem
*arg1
= (wxListItem
*) 0 ;
27635 PyObject
*swig_obj
[1] ;
27637 if (!args
) SWIG_fail
;
27638 swig_obj
[0] = args
;
27639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27643 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27644 result
= (long) ((arg1
)->m_data
);
27645 resultobj
= SWIG_From_long(static_cast< long >(result
));
27652 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27653 PyObject
*resultobj
= 0;
27654 wxListItem
*arg1
= (wxListItem
*) 0 ;
27660 PyObject
*swig_obj
[2] ;
27662 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27667 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27668 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27669 if (!SWIG_IsOK(ecode2
)) {
27670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27672 arg2
= static_cast< int >(val2
);
27673 if (arg1
) (arg1
)->m_format
= arg2
;
27675 resultobj
= SWIG_Py_Void();
27682 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27683 PyObject
*resultobj
= 0;
27684 wxListItem
*arg1
= (wxListItem
*) 0 ;
27688 PyObject
*swig_obj
[1] ;
27690 if (!args
) SWIG_fail
;
27691 swig_obj
[0] = args
;
27692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27696 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27697 result
= (int) ((arg1
)->m_format
);
27698 resultobj
= SWIG_From_int(static_cast< int >(result
));
27705 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27706 PyObject
*resultobj
= 0;
27707 wxListItem
*arg1
= (wxListItem
*) 0 ;
27713 PyObject
*swig_obj
[2] ;
27715 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27717 if (!SWIG_IsOK(res1
)) {
27718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27720 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27721 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27722 if (!SWIG_IsOK(ecode2
)) {
27723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27725 arg2
= static_cast< int >(val2
);
27726 if (arg1
) (arg1
)->m_width
= arg2
;
27728 resultobj
= SWIG_Py_Void();
27735 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27736 PyObject
*resultobj
= 0;
27737 wxListItem
*arg1
= (wxListItem
*) 0 ;
27741 PyObject
*swig_obj
[1] ;
27743 if (!args
) SWIG_fail
;
27744 swig_obj
[0] = args
;
27745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27746 if (!SWIG_IsOK(res1
)) {
27747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27749 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27750 result
= (int) ((arg1
)->m_width
);
27751 resultobj
= SWIG_From_int(static_cast< int >(result
));
27758 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27761 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27762 return SWIG_Py_Void();
27765 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27766 return SWIG_Python_InitShadowInstance(args
);
27769 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
= 0;
27771 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27772 int arg2
= (int) 0 ;
27773 wxListEvent
*result
= 0 ;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 char * kwnames
[] = {
27781 (char *) "commandType",(char *) "id", NULL
27784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27787 if (!SWIG_IsOK(ecode1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27790 arg1
= static_cast< wxEventType
>(val1
);
27793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27794 if (!SWIG_IsOK(ecode2
)) {
27795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27797 arg2
= static_cast< int >(val2
);
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27812 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27813 PyObject
*resultobj
= 0;
27814 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27820 PyObject
*swig_obj
[2] ;
27822 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27824 if (!SWIG_IsOK(res1
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27827 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27829 if (!SWIG_IsOK(ecode2
)) {
27830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27832 arg2
= static_cast< int >(val2
);
27833 if (arg1
) (arg1
)->m_code
= arg2
;
27835 resultobj
= SWIG_Py_Void();
27842 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27848 PyObject
*swig_obj
[1] ;
27850 if (!args
) SWIG_fail
;
27851 swig_obj
[0] = args
;
27852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27856 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27857 result
= (int) ((arg1
)->m_code
);
27858 resultobj
= SWIG_From_int(static_cast< int >(result
));
27865 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27866 PyObject
*resultobj
= 0;
27867 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27873 PyObject
*swig_obj
[2] ;
27875 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27880 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27881 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27882 if (!SWIG_IsOK(ecode2
)) {
27883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27885 arg2
= static_cast< long >(val2
);
27886 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27888 resultobj
= SWIG_Py_Void();
27895 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 PyObject
*resultobj
= 0;
27897 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27901 PyObject
*swig_obj
[1] ;
27903 if (!args
) SWIG_fail
;
27904 swig_obj
[0] = args
;
27905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27906 if (!SWIG_IsOK(res1
)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27909 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27910 result
= (long) ((arg1
)->m_oldItemIndex
);
27911 resultobj
= SWIG_From_long(static_cast< long >(result
));
27918 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27919 PyObject
*resultobj
= 0;
27920 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27926 PyObject
*swig_obj
[2] ;
27928 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27930 if (!SWIG_IsOK(res1
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27933 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27934 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27935 if (!SWIG_IsOK(ecode2
)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27938 arg2
= static_cast< long >(val2
);
27939 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27941 resultobj
= SWIG_Py_Void();
27948 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27949 PyObject
*resultobj
= 0;
27950 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27954 PyObject
*swig_obj
[1] ;
27956 if (!args
) SWIG_fail
;
27957 swig_obj
[0] = args
;
27958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27959 if (!SWIG_IsOK(res1
)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27962 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27963 result
= (long) ((arg1
)->m_itemIndex
);
27964 resultobj
= SWIG_From_long(static_cast< long >(result
));
27971 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27972 PyObject
*resultobj
= 0;
27973 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27979 PyObject
*swig_obj
[2] ;
27981 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27986 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27987 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27988 if (!SWIG_IsOK(ecode2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27991 arg2
= static_cast< int >(val2
);
27992 if (arg1
) (arg1
)->m_col
= arg2
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28002 PyObject
*resultobj
= 0;
28003 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28007 PyObject
*swig_obj
[1] ;
28009 if (!args
) SWIG_fail
;
28010 swig_obj
[0] = args
;
28011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28012 if (!SWIG_IsOK(res1
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28015 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28016 result
= (int) ((arg1
)->m_col
);
28017 resultobj
= SWIG_From_int(static_cast< int >(result
));
28024 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28025 PyObject
*resultobj
= 0;
28026 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28027 wxPoint
*arg2
= (wxPoint
*) 0 ;
28032 PyObject
*swig_obj
[2] ;
28034 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28036 if (!SWIG_IsOK(res1
)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28039 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28040 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28041 if (!SWIG_IsOK(res2
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28044 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28045 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28047 resultobj
= SWIG_Py_Void();
28054 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28055 PyObject
*resultobj
= 0;
28056 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28057 wxPoint
*result
= 0 ;
28060 PyObject
*swig_obj
[1] ;
28062 if (!args
) SWIG_fail
;
28063 swig_obj
[0] = args
;
28064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28068 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28069 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28077 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28078 PyObject
*resultobj
= 0;
28079 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28080 wxListItem
*result
= 0 ;
28083 PyObject
*swig_obj
[1] ;
28085 if (!args
) SWIG_fail
;
28086 swig_obj
[0] = args
;
28087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28088 if (!SWIG_IsOK(res1
)) {
28089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28091 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28092 result
= (wxListItem
*)& ((arg1
)->m_item
);
28094 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28102 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28103 PyObject
*resultobj
= 0;
28104 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28108 PyObject
*swig_obj
[1] ;
28110 if (!args
) SWIG_fail
;
28111 swig_obj
[0] = args
;
28112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28116 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (int)(arg1
)->GetKeyCode();
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= SWIG_From_int(static_cast< int >(result
));
28130 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28131 PyObject
*resultobj
= 0;
28132 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28136 PyObject
*swig_obj
[1] ;
28138 if (!args
) SWIG_fail
;
28139 swig_obj
[0] = args
;
28140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28144 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (long)(arg1
)->GetIndex();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_From_long(static_cast< long >(result
));
28158 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28159 PyObject
*resultobj
= 0;
28160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28164 PyObject
*swig_obj
[1] ;
28166 if (!args
) SWIG_fail
;
28167 swig_obj
[0] = args
;
28168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28172 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 result
= (int)(arg1
)->GetColumn();
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28179 resultobj
= SWIG_From_int(static_cast< int >(result
));
28186 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28187 PyObject
*resultobj
= 0;
28188 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28192 PyObject
*swig_obj
[1] ;
28194 if (!args
) SWIG_fail
;
28195 swig_obj
[0] = args
;
28196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28197 if (!SWIG_IsOK(res1
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28200 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (arg1
)->GetPoint();
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28214 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28215 PyObject
*resultobj
= 0;
28216 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28217 wxString
*result
= 0 ;
28220 PyObject
*swig_obj
[1] ;
28222 if (!args
) SWIG_fail
;
28223 swig_obj
[0] = args
;
28224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28225 if (!SWIG_IsOK(res1
)) {
28226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28228 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 wxString
const &_result_ref
= (arg1
)->GetLabel();
28233 result
= (wxString
*) &_result_ref
;
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28242 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28251 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28254 wxString
*result
= 0 ;
28257 PyObject
*swig_obj
[1] ;
28259 if (!args
) SWIG_fail
;
28260 swig_obj
[0] = args
;
28261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28265 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 wxString
const &_result_ref
= (arg1
)->GetText();
28270 result
= (wxString
*) &_result_ref
;
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28279 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28288 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28289 PyObject
*resultobj
= 0;
28290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28294 PyObject
*swig_obj
[1] ;
28296 if (!args
) SWIG_fail
;
28297 swig_obj
[0] = args
;
28298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28302 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= (int)(arg1
)->GetImage();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_From_int(static_cast< int >(result
));
28316 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28317 PyObject
*resultobj
= 0;
28318 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28322 PyObject
*swig_obj
[1] ;
28324 if (!args
) SWIG_fail
;
28325 swig_obj
[0] = args
;
28326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28327 if (!SWIG_IsOK(res1
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28330 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 result
= (long)(arg1
)->GetData();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= SWIG_From_long(static_cast< long >(result
));
28344 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28345 PyObject
*resultobj
= 0;
28346 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28350 PyObject
*swig_obj
[1] ;
28352 if (!args
) SWIG_fail
;
28353 swig_obj
[0] = args
;
28354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28358 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (long)(arg1
)->GetMask();
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_From_long(static_cast< long >(result
));
28372 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28373 PyObject
*resultobj
= 0;
28374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28375 wxListItem
*result
= 0 ;
28378 PyObject
*swig_obj
[1] ;
28380 if (!args
) SWIG_fail
;
28381 swig_obj
[0] = args
;
28382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28386 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28391 result
= (wxListItem
*) &_result_ref
;
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28403 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28404 PyObject
*resultobj
= 0;
28405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28409 PyObject
*swig_obj
[1] ;
28411 if (!args
) SWIG_fail
;
28412 swig_obj
[0] = args
;
28413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28417 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= (long)(arg1
)->GetCacheFrom();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= SWIG_From_long(static_cast< long >(result
));
28431 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28432 PyObject
*resultobj
= 0;
28433 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28437 PyObject
*swig_obj
[1] ;
28439 if (!args
) SWIG_fail
;
28440 swig_obj
[0] = args
;
28441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28442 if (!SWIG_IsOK(res1
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28445 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 result
= (long)(arg1
)->GetCacheTo();
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= SWIG_From_long(static_cast< long >(result
));
28459 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28460 PyObject
*resultobj
= 0;
28461 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28465 PyObject
*swig_obj
[1] ;
28467 if (!args
) SWIG_fail
;
28468 swig_obj
[0] = args
;
28469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28473 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28489 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
= 0;
28491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28497 PyObject
* obj0
= 0 ;
28498 PyObject
* obj1
= 0 ;
28499 char * kwnames
[] = {
28500 (char *) "self",(char *) "editCancelled", NULL
28503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28508 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28509 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28510 if (!SWIG_IsOK(ecode2
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28513 arg2
= static_cast< bool >(val2
);
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 (arg1
)->SetEditCanceled(arg2
);
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= SWIG_Py_Void();
28527 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28530 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28531 return SWIG_Py_Void();
28534 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28535 return SWIG_Python_InitShadowInstance(args
);
28538 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28539 PyObject
*resultobj
= 0;
28540 wxWindow
*arg1
= (wxWindow
*) 0 ;
28541 int arg2
= (int) -1 ;
28542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28546 long arg5
= (long) wxLC_ICON
;
28547 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28548 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28549 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28551 wxPyListCtrl
*result
= 0 ;
28562 bool temp7
= false ;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 PyObject
* obj2
= 0 ;
28566 PyObject
* obj3
= 0 ;
28567 PyObject
* obj4
= 0 ;
28568 PyObject
* obj5
= 0 ;
28569 PyObject
* obj6
= 0 ;
28570 char * kwnames
[] = {
28571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28582 if (!SWIG_IsOK(ecode2
)) {
28583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28585 arg2
= static_cast< int >(val2
);
28590 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28596 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28600 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28601 if (!SWIG_IsOK(ecode5
)) {
28602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28604 arg5
= static_cast< long >(val5
);
28607 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28608 if (!SWIG_IsOK(res6
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28614 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28618 arg7
= wxString_in_helper(obj6
);
28619 if (arg7
== NULL
) SWIG_fail
;
28624 if (!wxPyCheckForApp()) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28645 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28646 PyObject
*resultobj
= 0;
28647 wxPyListCtrl
*result
= 0 ;
28649 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28651 if (!wxPyCheckForApp()) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28664 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
= 0;
28666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28667 wxWindow
*arg2
= (wxWindow
*) 0 ;
28668 int arg3
= (int) -1 ;
28669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28673 long arg6
= (long) wxLC_ICON
;
28674 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28675 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28676 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28677 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28691 bool temp8
= false ;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 PyObject
* obj2
= 0 ;
28695 PyObject
* obj3
= 0 ;
28696 PyObject
* obj4
= 0 ;
28697 PyObject
* obj5
= 0 ;
28698 PyObject
* obj6
= 0 ;
28699 PyObject
* obj7
= 0 ;
28700 char * kwnames
[] = {
28701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28706 if (!SWIG_IsOK(res1
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28711 if (!SWIG_IsOK(res2
)) {
28712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28717 if (!SWIG_IsOK(ecode3
)) {
28718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28720 arg3
= static_cast< int >(val3
);
28725 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28731 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28735 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28736 if (!SWIG_IsOK(ecode6
)) {
28737 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28739 arg6
= static_cast< long >(val6
);
28742 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28743 if (!SWIG_IsOK(res7
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28749 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28753 arg8
= wxString_in_helper(obj7
);
28754 if (arg8
== NULL
) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28781 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
= 0;
28783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28784 PyObject
*arg2
= (PyObject
*) 0 ;
28785 PyObject
*arg3
= (PyObject
*) 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 PyObject
* obj2
= 0 ;
28791 char * kwnames
[] = {
28792 (char *) "self",(char *) "self",(char *) "_class", NULL
28795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28797 if (!SWIG_IsOK(res1
)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28800 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_Py_Void();
28816 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28820 wxListItem
*result
= 0 ;
28825 PyObject
* obj0
= 0 ;
28826 PyObject
* obj1
= 0 ;
28827 char * kwnames
[] = {
28828 (char *) "self",(char *) "col", NULL
28831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28833 if (!SWIG_IsOK(res1
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28836 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28838 if (!SWIG_IsOK(ecode2
)) {
28839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28841 arg2
= static_cast< int >(val2
);
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28857 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
= 0;
28859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28861 wxListItem
*arg3
= 0 ;
28869 PyObject
* obj0
= 0 ;
28870 PyObject
* obj1
= 0 ;
28871 PyObject
* obj2
= 0 ;
28872 char * kwnames
[] = {
28873 (char *) "self",(char *) "col",(char *) "item", NULL
28876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28878 if (!SWIG_IsOK(res1
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28883 if (!SWIG_IsOK(ecode2
)) {
28884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28886 arg2
= static_cast< int >(val2
);
28887 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28888 if (!SWIG_IsOK(res3
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28894 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28910 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 char * kwnames
[] = {
28922 (char *) "self",(char *) "col", NULL
28925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28927 if (!SWIG_IsOK(res1
)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28932 if (!SWIG_IsOK(ecode2
)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28935 arg2
= static_cast< int >(val2
);
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= SWIG_From_int(static_cast< int >(result
));
28949 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28950 PyObject
*resultobj
= 0;
28951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 PyObject
* obj2
= 0 ;
28964 char * kwnames
[] = {
28965 (char *) "self",(char *) "col",(char *) "width", NULL
28968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28970 if (!SWIG_IsOK(res1
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28973 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28975 if (!SWIG_IsOK(ecode2
)) {
28976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28978 arg2
= static_cast< int >(val2
);
28979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28980 if (!SWIG_IsOK(ecode3
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28983 arg3
= static_cast< int >(val3
);
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28999 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29000 PyObject
*resultobj
= 0;
29001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29005 PyObject
*swig_obj
[1] ;
29007 if (!args
) SWIG_fail
;
29008 swig_obj
[0] = args
;
29009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29010 if (!SWIG_IsOK(res1
)) {
29011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29013 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= SWIG_From_int(static_cast< int >(result
));
29027 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29028 PyObject
*resultobj
= 0;
29029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29033 PyObject
*swig_obj
[1] ;
29035 if (!args
) SWIG_fail
;
29036 swig_obj
[0] = args
;
29037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29038 if (!SWIG_IsOK(res1
)) {
29039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29041 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29055 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29056 PyObject
*resultobj
= 0;
29057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29058 wxTextCtrl
*result
= 0 ;
29061 PyObject
*swig_obj
[1] ;
29063 if (!args
) SWIG_fail
;
29064 swig_obj
[0] = args
;
29065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29066 if (!SWIG_IsOK(res1
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= wxPyMake_wxObject(result
, 0);
29085 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29086 PyObject
*resultobj
= 0;
29087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29089 int arg3
= (int) 0 ;
29090 wxListItem
*result
= 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 char * kwnames
[] = {
29101 (char *) "self",(char *) "itemId",(char *) "col", NULL
29104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29106 if (!SWIG_IsOK(res1
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29109 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29110 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29111 if (!SWIG_IsOK(ecode2
)) {
29112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29114 arg2
= static_cast< long >(val2
);
29116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29117 if (!SWIG_IsOK(ecode3
)) {
29118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29120 arg3
= static_cast< int >(val3
);
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29137 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
= 0;
29139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29140 wxListItem
*arg2
= 0 ;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 char * kwnames
[] = {
29149 (char *) "self",(char *) "info", NULL
29152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29157 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29159 if (!SWIG_IsOK(res2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29165 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (bool)(arg1
)->SetItem(*arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29181 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
= 0;
29183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29186 wxString
*arg4
= 0 ;
29187 int arg5
= (int) -1 ;
29195 bool temp4
= false ;
29198 PyObject
* obj0
= 0 ;
29199 PyObject
* obj1
= 0 ;
29200 PyObject
* obj2
= 0 ;
29201 PyObject
* obj3
= 0 ;
29202 PyObject
* obj4
= 0 ;
29203 char * kwnames
[] = {
29204 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29212 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29213 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29214 if (!SWIG_IsOK(ecode2
)) {
29215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29217 arg2
= static_cast< long >(val2
);
29218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29219 if (!SWIG_IsOK(ecode3
)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29222 arg3
= static_cast< int >(val3
);
29224 arg4
= wxString_in_helper(obj3
);
29225 if (arg4
== NULL
) SWIG_fail
;
29229 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29230 if (!SWIG_IsOK(ecode5
)) {
29231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29233 arg5
= static_cast< int >(val5
);
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_From_long(static_cast< long >(result
));
29256 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
= 0;
29258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 PyObject
* obj2
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29280 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29281 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29282 if (!SWIG_IsOK(ecode2
)) {
29283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29285 arg2
= static_cast< long >(val2
);
29286 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29287 if (!SWIG_IsOK(ecode3
)) {
29288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29290 arg3
= static_cast< long >(val3
);
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= SWIG_From_int(static_cast< int >(result
));
29304 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29305 PyObject
*resultobj
= 0;
29306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29319 PyObject
* obj0
= 0 ;
29320 PyObject
* obj1
= 0 ;
29321 PyObject
* obj2
= 0 ;
29322 PyObject
* obj3
= 0 ;
29323 char * kwnames
[] = {
29324 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29329 if (!SWIG_IsOK(res1
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29332 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29333 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29334 if (!SWIG_IsOK(ecode2
)) {
29335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29337 arg2
= static_cast< long >(val2
);
29338 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29339 if (!SWIG_IsOK(ecode3
)) {
29340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29342 arg3
= static_cast< long >(val3
);
29343 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29344 if (!SWIG_IsOK(ecode4
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29347 arg4
= static_cast< long >(val4
);
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29363 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= 0;
29365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29368 int arg4
= (int) -1 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 PyObject
* obj2
= 0 ;
29381 PyObject
* obj3
= 0 ;
29382 char * kwnames
[] = {
29383 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29388 if (!SWIG_IsOK(res1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29392 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29393 if (!SWIG_IsOK(ecode2
)) {
29394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29396 arg2
= static_cast< long >(val2
);
29397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29398 if (!SWIG_IsOK(ecode3
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29401 arg3
= static_cast< int >(val3
);
29403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29404 if (!SWIG_IsOK(ecode4
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29407 arg4
= static_cast< int >(val4
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29424 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
= 0;
29426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 PyObject
* obj1
= 0 ;
29441 PyObject
* obj2
= 0 ;
29442 PyObject
* obj3
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29454 if (!SWIG_IsOK(ecode2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29457 arg2
= static_cast< long >(val2
);
29458 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29459 if (!SWIG_IsOK(ecode3
)) {
29460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29462 arg3
= static_cast< long >(val3
);
29463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29464 if (!SWIG_IsOK(ecode4
)) {
29465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29467 arg4
= static_cast< int >(val4
);
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29483 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
= 0;
29485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 char * kwnames
[] = {
29495 (char *) "self",(char *) "item", NULL
29498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29503 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29505 if (!SWIG_IsOK(ecode2
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29508 arg2
= static_cast< long >(val2
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29528 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
= 0;
29530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29532 wxString
*arg3
= 0 ;
29537 bool temp3
= false ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 PyObject
* obj2
= 0 ;
29541 char * kwnames
[] = {
29542 (char *) "self",(char *) "item",(char *) "str", NULL
29545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29547 if (!SWIG_IsOK(res1
)) {
29548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29550 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29552 if (!SWIG_IsOK(ecode2
)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29555 arg2
= static_cast< long >(val2
);
29557 arg3
= wxString_in_helper(obj2
);
29558 if (arg3
== NULL
) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= SWIG_Py_Void();
29582 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
= 0;
29584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 char * kwnames
[] = {
29594 (char *) "self",(char *) "item", NULL
29597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29599 if (!SWIG_IsOK(res1
)) {
29600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29602 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29603 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29604 if (!SWIG_IsOK(ecode2
)) {
29605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29607 arg2
= static_cast< long >(val2
);
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= SWIG_From_long(static_cast< long >(result
));
29621 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
= 0;
29623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 PyObject
* obj2
= 0 ;
29636 char * kwnames
[] = {
29637 (char *) "self",(char *) "item",(char *) "data", NULL
29640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29645 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29646 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29647 if (!SWIG_IsOK(ecode2
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29650 arg2
= static_cast< long >(val2
);
29651 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29652 if (!SWIG_IsOK(ecode3
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29655 arg3
= static_cast< long >(val3
);
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29671 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
= 0;
29673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29680 PyObject
* obj0
= 0 ;
29681 PyObject
* obj1
= 0 ;
29682 char * kwnames
[] = {
29683 (char *) "self",(char *) "item", NULL
29686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29688 if (!SWIG_IsOK(res1
)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29693 if (!SWIG_IsOK(ecode2
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29696 arg2
= static_cast< long >(val2
);
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29710 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
= 0;
29712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29714 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 PyObject
* obj2
= 0 ;
29725 char * kwnames
[] = {
29726 (char *) "self",(char *) "item",(char *) "code", NULL
29729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29731 if (!SWIG_IsOK(res1
)) {
29732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29734 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29735 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29736 if (!SWIG_IsOK(ecode2
)) {
29737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29739 arg2
= static_cast< long >(val2
);
29741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29742 if (!SWIG_IsOK(ecode3
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29745 arg3
= static_cast< int >(val3
);
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29760 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
= 0;
29762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29764 wxPoint
*arg3
= 0 ;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 PyObject
* obj2
= 0 ;
29774 char * kwnames
[] = {
29775 (char *) "self",(char *) "item",(char *) "pos", NULL
29778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29783 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29785 if (!SWIG_IsOK(ecode2
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29788 arg2
= static_cast< long >(val2
);
29791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29796 wxPyEndAllowThreads(__tstate
);
29797 if (PyErr_Occurred()) SWIG_fail
;
29800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29808 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29809 PyObject
*resultobj
= 0;
29810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29814 PyObject
*swig_obj
[1] ;
29816 if (!args
) SWIG_fail
;
29817 swig_obj
[0] = args
;
29818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29822 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_From_int(static_cast< int >(result
));
29836 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29837 PyObject
*resultobj
= 0;
29838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29842 PyObject
*swig_obj
[1] ;
29844 if (!args
) SWIG_fail
;
29845 swig_obj
[0] = args
;
29846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_From_int(static_cast< int >(result
));
29864 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29865 PyObject
*resultobj
= 0;
29866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29870 PyObject
*swig_obj
[1] ;
29872 if (!args
) SWIG_fail
;
29873 swig_obj
[0] = args
;
29874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29875 if (!SWIG_IsOK(res1
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29878 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29892 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
= 0;
29894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29896 bool arg3
= (bool) false ;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 PyObject
* obj2
= 0 ;
29906 char * kwnames
[] = {
29907 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29915 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29917 if (!SWIG_IsOK(ecode2
)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29920 arg2
= static_cast< int >(val2
);
29922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29923 if (!SWIG_IsOK(ecode3
)) {
29924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29926 arg3
= static_cast< bool >(val3
);
29929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29930 (arg1
)->SetItemSpacing(arg2
,arg3
);
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29934 resultobj
= SWIG_Py_Void();
29941 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29942 PyObject
*resultobj
= 0;
29943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29947 PyObject
*swig_obj
[1] ;
29949 if (!args
) SWIG_fail
;
29950 swig_obj
[0] = args
;
29951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29955 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= SWIG_From_int(static_cast< int >(result
));
29969 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29970 PyObject
*resultobj
= 0;
29971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29975 PyObject
*swig_obj
[1] ;
29977 if (!args
) SWIG_fail
;
29978 swig_obj
[0] = args
;
29979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29983 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29997 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
= 0;
29999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30000 wxColour
*arg2
= 0 ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char * kwnames
[] = {
30007 (char *) "self",(char *) "col", NULL
30010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30015 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30018 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= SWIG_Py_Void();
30033 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30034 PyObject
*resultobj
= 0;
30035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30039 PyObject
*swig_obj
[1] ;
30041 if (!args
) SWIG_fail
;
30042 swig_obj
[0] = args
;
30043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30047 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_From_long(static_cast< long >(result
));
30061 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
= 0;
30063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30065 bool arg3
= (bool) true ;
30072 PyObject
* obj0
= 0 ;
30073 PyObject
* obj1
= 0 ;
30074 PyObject
* obj2
= 0 ;
30075 char * kwnames
[] = {
30076 (char *) "self",(char *) "style",(char *) "add", NULL
30079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30084 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30085 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30086 if (!SWIG_IsOK(ecode2
)) {
30087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30089 arg2
= static_cast< long >(val2
);
30091 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30092 if (!SWIG_IsOK(ecode3
)) {
30093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30095 arg3
= static_cast< bool >(val3
);
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 (arg1
)->SetSingleStyle(arg2
,arg3
);
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= SWIG_Py_Void();
30110 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
= 0;
30112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30114 int arg3
= (int) wxLIST_NEXT_ALL
;
30115 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 PyObject
* obj2
= 0 ;
30128 PyObject
* obj3
= 0 ;
30129 char * kwnames
[] = {
30130 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30139 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30140 if (!SWIG_IsOK(ecode2
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30143 arg2
= static_cast< long >(val2
);
30145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30146 if (!SWIG_IsOK(ecode3
)) {
30147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30149 arg3
= static_cast< int >(val3
);
30152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30153 if (!SWIG_IsOK(ecode4
)) {
30154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30156 arg4
= static_cast< int >(val4
);
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_From_long(static_cast< long >(result
));
30171 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30175 wxImageList
*result
= 0 ;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 char * kwnames
[] = {
30183 (char *) "self",(char *) "which", NULL
30186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30191 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30193 if (!SWIG_IsOK(ecode2
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30196 arg2
= static_cast< int >(val2
);
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30212 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
= 0;
30214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30215 wxImageList
*arg2
= (wxImageList
*) 0 ;
30223 PyObject
* obj0
= 0 ;
30224 PyObject
* obj1
= 0 ;
30225 PyObject
* obj2
= 0 ;
30226 char * kwnames
[] = {
30227 (char *) "self",(char *) "imageList",(char *) "which", NULL
30230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30237 if (!SWIG_IsOK(res2
)) {
30238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30240 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30242 if (!SWIG_IsOK(ecode3
)) {
30243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30245 arg3
= static_cast< int >(val3
);
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 (arg1
)->SetImageList(arg2
,arg3
);
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= SWIG_Py_Void();
30259 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
= 0;
30261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30262 wxImageList
*arg2
= (wxImageList
*) 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 PyObject
* obj2
= 0 ;
30272 char * kwnames
[] = {
30273 (char *) "self",(char *) "imageList",(char *) "which", NULL
30276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30278 if (!SWIG_IsOK(res1
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30282 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30283 if (!SWIG_IsOK(res2
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30287 if (!SWIG_IsOK(ecode3
)) {
30288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30290 arg3
= static_cast< int >(val3
);
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->AssignImageList(arg2
,arg3
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_Py_Void();
30304 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30305 PyObject
*resultobj
= 0;
30306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30310 PyObject
*swig_obj
[1] ;
30312 if (!args
) SWIG_fail
;
30313 swig_obj
[0] = args
;
30314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30315 if (!SWIG_IsOK(res1
)) {
30316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30318 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30334 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30335 PyObject
*resultobj
= 0;
30336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30340 PyObject
*swig_obj
[1] ;
30342 if (!args
) SWIG_fail
;
30343 swig_obj
[0] = args
;
30344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30348 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30364 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
= 0;
30366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30372 PyObject
* obj0
= 0 ;
30373 PyObject
* obj1
= 0 ;
30374 char * kwnames
[] = {
30375 (char *) "self",(char *) "item", NULL
30378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30380 if (!SWIG_IsOK(res1
)) {
30381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30383 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30384 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30385 if (!SWIG_IsOK(ecode2
)) {
30386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30388 arg2
= static_cast< long >(val2
);
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 (arg1
)->RefreshItem(arg2
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_Py_Void();
30402 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= 0;
30404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30413 PyObject
* obj0
= 0 ;
30414 PyObject
* obj1
= 0 ;
30415 PyObject
* obj2
= 0 ;
30416 char * kwnames
[] = {
30417 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30422 if (!SWIG_IsOK(res1
)) {
30423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30426 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30427 if (!SWIG_IsOK(ecode2
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30430 arg2
= static_cast< long >(val2
);
30431 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30432 if (!SWIG_IsOK(ecode3
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30435 arg3
= static_cast< long >(val3
);
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 (arg1
)->RefreshItems(arg2
,arg3
);
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30442 resultobj
= SWIG_Py_Void();
30449 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
= 0;
30451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30452 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30458 PyObject
* obj0
= 0 ;
30459 PyObject
* obj1
= 0 ;
30460 char * kwnames
[] = {
30461 (char *) "self",(char *) "flag", NULL
30464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30472 if (!SWIG_IsOK(ecode2
)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30475 arg2
= static_cast< int >(val2
);
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (bool)(arg1
)->Arrange(arg2
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30492 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
= 0;
30494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30501 PyObject
* obj0
= 0 ;
30502 PyObject
* obj1
= 0 ;
30503 char * kwnames
[] = {
30504 (char *) "self",(char *) "item", NULL
30507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30509 if (!SWIG_IsOK(res1
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30514 if (!SWIG_IsOK(ecode2
)) {
30515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30517 arg2
= static_cast< long >(val2
);
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 result
= (bool)(arg1
)->DeleteItem(arg2
);
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30533 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 PyObject
*resultobj
= 0;
30535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30539 PyObject
*swig_obj
[1] ;
30541 if (!args
) SWIG_fail
;
30542 swig_obj
[0] = args
;
30543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 result
= (bool)(arg1
)->DeleteAllItems();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30563 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
= 0;
30565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30572 PyObject
* obj0
= 0 ;
30573 PyObject
* obj1
= 0 ;
30574 char * kwnames
[] = {
30575 (char *) "self",(char *) "col", NULL
30578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30580 if (!SWIG_IsOK(res1
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30583 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30585 if (!SWIG_IsOK(ecode2
)) {
30586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30588 arg2
= static_cast< int >(val2
);
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30604 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30605 PyObject
*resultobj
= 0;
30606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30610 PyObject
*swig_obj
[1] ;
30612 if (!args
) SWIG_fail
;
30613 swig_obj
[0] = args
;
30614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)(arg1
)->DeleteAllColumns();
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30635 PyObject
*resultobj
= 0;
30636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30639 PyObject
*swig_obj
[1] ;
30641 if (!args
) SWIG_fail
;
30642 swig_obj
[0] = args
;
30643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30644 if (!SWIG_IsOK(res1
)) {
30645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 (arg1
)->ClearAll();
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 resultobj
= SWIG_Py_Void();
30661 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
= 0;
30663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 char * kwnames
[] = {
30672 (char *) "self",(char *) "item", NULL
30675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30677 if (!SWIG_IsOK(res1
)) {
30678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30680 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30681 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30682 if (!SWIG_IsOK(ecode2
)) {
30683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30685 arg2
= static_cast< long >(val2
);
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 (arg1
)->EditLabel(arg2
);
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30692 resultobj
= SWIG_Py_Void();
30699 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
= 0;
30701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30708 PyObject
* obj0
= 0 ;
30709 PyObject
* obj1
= 0 ;
30710 char * kwnames
[] = {
30711 (char *) "self",(char *) "item", NULL
30714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30716 if (!SWIG_IsOK(res1
)) {
30717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30719 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30720 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30721 if (!SWIG_IsOK(ecode2
)) {
30722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30724 arg2
= static_cast< long >(val2
);
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30740 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
= 0;
30742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30744 wxString
*arg3
= 0 ;
30745 bool arg4
= (bool) false ;
30751 bool temp3
= false ;
30754 PyObject
* obj0
= 0 ;
30755 PyObject
* obj1
= 0 ;
30756 PyObject
* obj2
= 0 ;
30757 PyObject
* obj3
= 0 ;
30758 char * kwnames
[] = {
30759 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30764 if (!SWIG_IsOK(res1
)) {
30765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30767 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30768 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30769 if (!SWIG_IsOK(ecode2
)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30772 arg2
= static_cast< long >(val2
);
30774 arg3
= wxString_in_helper(obj2
);
30775 if (arg3
== NULL
) SWIG_fail
;
30779 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30780 if (!SWIG_IsOK(ecode4
)) {
30781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30783 arg4
= static_cast< bool >(val4
);
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30791 resultobj
= SWIG_From_long(static_cast< long >(result
));
30806 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
= 0;
30808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 PyObject
* obj2
= 0 ;
30821 char * kwnames
[] = {
30822 (char *) "self",(char *) "start",(char *) "data", NULL
30825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30832 if (!SWIG_IsOK(ecode2
)) {
30833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30835 arg2
= static_cast< long >(val2
);
30836 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30837 if (!SWIG_IsOK(ecode3
)) {
30838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30840 arg3
= static_cast< long >(val3
);
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= SWIG_From_long(static_cast< long >(result
));
30854 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
= 0;
30856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30858 wxPoint
*arg3
= 0 ;
30868 PyObject
* obj0
= 0 ;
30869 PyObject
* obj1
= 0 ;
30870 PyObject
* obj2
= 0 ;
30871 PyObject
* obj3
= 0 ;
30872 char * kwnames
[] = {
30873 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30878 if (!SWIG_IsOK(res1
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30883 if (!SWIG_IsOK(ecode2
)) {
30884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30886 arg2
= static_cast< long >(val2
);
30889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30892 if (!SWIG_IsOK(ecode4
)) {
30893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30895 arg4
= static_cast< int >(val4
);
30897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30899 wxPyEndAllowThreads(__tstate
);
30900 if (PyErr_Occurred()) SWIG_fail
;
30902 resultobj
= SWIG_From_long(static_cast< long >(result
));
30909 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
= 0;
30911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30912 wxPoint
*arg2
= 0 ;
30919 int res3
= SWIG_TMPOBJ
;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char * kwnames
[] = {
30923 (char *) "self",(char *) "point", NULL
30927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_From_long(static_cast< long >(result
));
30944 if (SWIG_IsTmpObj(res3
)) {
30945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30947 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30956 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
= 0;
30958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30959 wxPoint
*arg2
= 0 ;
30961 long *arg4
= (long *) 0 ;
30967 int res3
= SWIG_TMPOBJ
;
30969 int res4
= SWIG_TMPOBJ
;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 char * kwnames
[] = {
30973 (char *) "self",(char *) "point", NULL
30978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30983 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_From_long(static_cast< long >(result
));
30995 if (SWIG_IsTmpObj(res3
)) {
30996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31001 if (SWIG_IsTmpObj(res4
)) {
31002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31004 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31013 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
= 0;
31015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31016 wxListItem
*arg2
= 0 ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "info", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31033 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31035 if (!SWIG_IsOK(res2
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31041 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (long)(arg1
)->InsertItem(*arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= SWIG_From_long(static_cast< long >(result
));
31055 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
= 0;
31057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31059 wxString
*arg3
= 0 ;
31060 int arg4
= (int) -1 ;
31066 bool temp3
= false ;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 PyObject
* obj2
= 0 ;
31072 PyObject
* obj3
= 0 ;
31073 char * kwnames
[] = {
31074 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31079 if (!SWIG_IsOK(res1
)) {
31080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31082 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31083 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31084 if (!SWIG_IsOK(ecode2
)) {
31085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31087 arg2
= static_cast< long >(val2
);
31089 arg3
= wxString_in_helper(obj2
);
31090 if (arg3
== NULL
) SWIG_fail
;
31094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31095 if (!SWIG_IsOK(ecode4
)) {
31096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31098 arg4
= static_cast< int >(val4
);
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31106 resultobj
= SWIG_From_long(static_cast< long >(result
));
31121 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
= 0;
31123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 PyObject
* obj2
= 0 ;
31136 char * kwnames
[] = {
31137 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31147 if (!SWIG_IsOK(ecode2
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31150 arg2
= static_cast< long >(val2
);
31151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31152 if (!SWIG_IsOK(ecode3
)) {
31153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31155 arg3
= static_cast< int >(val3
);
31157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_From_long(static_cast< long >(result
));
31169 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
= 0;
31171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31173 wxString
*arg3
= 0 ;
31180 bool temp3
= false ;
31183 PyObject
* obj0
= 0 ;
31184 PyObject
* obj1
= 0 ;
31185 PyObject
* obj2
= 0 ;
31186 PyObject
* obj3
= 0 ;
31187 char * kwnames
[] = {
31188 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31196 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31197 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31198 if (!SWIG_IsOK(ecode2
)) {
31199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31201 arg2
= static_cast< long >(val2
);
31203 arg3
= wxString_in_helper(obj2
);
31204 if (arg3
== NULL
) SWIG_fail
;
31207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31208 if (!SWIG_IsOK(ecode4
)) {
31209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31211 arg4
= static_cast< int >(val4
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_From_long(static_cast< long >(result
));
31233 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
= 0;
31235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31237 wxListItem
*arg3
= 0 ;
31245 PyObject
* obj0
= 0 ;
31246 PyObject
* obj1
= 0 ;
31247 PyObject
* obj2
= 0 ;
31248 char * kwnames
[] = {
31249 (char *) "self",(char *) "col",(char *) "info", NULL
31252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31254 if (!SWIG_IsOK(res1
)) {
31255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31257 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31258 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31259 if (!SWIG_IsOK(ecode2
)) {
31260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31262 arg2
= static_cast< long >(val2
);
31263 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31264 if (!SWIG_IsOK(res3
)) {
31265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31270 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_From_long(static_cast< long >(result
));
31284 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
= 0;
31286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31288 wxString
*arg3
= 0 ;
31289 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31290 int arg5
= (int) -1 ;
31296 bool temp3
= false ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 PyObject
* obj2
= 0 ;
31304 PyObject
* obj3
= 0 ;
31305 PyObject
* obj4
= 0 ;
31306 char * kwnames
[] = {
31307 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31312 if (!SWIG_IsOK(res1
)) {
31313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31315 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31316 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31317 if (!SWIG_IsOK(ecode2
)) {
31318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31320 arg2
= static_cast< long >(val2
);
31322 arg3
= wxString_in_helper(obj2
);
31323 if (arg3
== NULL
) SWIG_fail
;
31327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31328 if (!SWIG_IsOK(ecode4
)) {
31329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31331 arg4
= static_cast< int >(val4
);
31334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31335 if (!SWIG_IsOK(ecode5
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31338 arg5
= static_cast< int >(val5
);
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_From_long(static_cast< long >(result
));
31361 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
= 0;
31363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 char * kwnames
[] = {
31372 (char *) "self",(char *) "count", NULL
31375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31377 if (!SWIG_IsOK(res1
)) {
31378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31380 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31381 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31382 if (!SWIG_IsOK(ecode2
)) {
31383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31385 arg2
= static_cast< long >(val2
);
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 (arg1
)->SetItemCount(arg2
);
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= SWIG_Py_Void();
31399 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
= 0;
31401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 PyObject
* obj2
= 0 ;
31414 char * kwnames
[] = {
31415 (char *) "self",(char *) "dx",(char *) "dy", NULL
31418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31420 if (!SWIG_IsOK(res1
)) {
31421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31423 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31425 if (!SWIG_IsOK(ecode2
)) {
31426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31428 arg2
= static_cast< int >(val2
);
31429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31430 if (!SWIG_IsOK(ecode3
)) {
31431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31433 arg3
= static_cast< int >(val3
);
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31449 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
= 0;
31451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31453 wxColour
*arg3
= 0 ;
31459 PyObject
* obj0
= 0 ;
31460 PyObject
* obj1
= 0 ;
31461 PyObject
* obj2
= 0 ;
31462 char * kwnames
[] = {
31463 (char *) "self",(char *) "item",(char *) "col", NULL
31466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31468 if (!SWIG_IsOK(res1
)) {
31469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31471 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31473 if (!SWIG_IsOK(ecode2
)) {
31474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31476 arg2
= static_cast< long >(val2
);
31479 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_Py_Void();
31494 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
= 0;
31496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 char * kwnames
[] = {
31506 (char *) "self",(char *) "item", NULL
31509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31511 if (!SWIG_IsOK(res1
)) {
31512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31514 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31515 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31516 if (!SWIG_IsOK(ecode2
)) {
31517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31519 arg2
= static_cast< long >(val2
);
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31533 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
= 0;
31535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31537 wxColour
*arg3
= 0 ;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 PyObject
* obj2
= 0 ;
31546 char * kwnames
[] = {
31547 (char *) "self",(char *) "item",(char *) "col", NULL
31550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31552 if (!SWIG_IsOK(res1
)) {
31553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31555 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31557 if (!SWIG_IsOK(ecode2
)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31560 arg2
= static_cast< long >(val2
);
31563 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31568 wxPyEndAllowThreads(__tstate
);
31569 if (PyErr_Occurred()) SWIG_fail
;
31571 resultobj
= SWIG_Py_Void();
31578 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31579 PyObject
*resultobj
= 0;
31580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31587 PyObject
* obj0
= 0 ;
31588 PyObject
* obj1
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "self",(char *) "item", NULL
31593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31595 if (!SWIG_IsOK(res1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31600 if (!SWIG_IsOK(ecode2
)) {
31601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31603 arg2
= static_cast< long >(val2
);
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31606 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31617 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31618 PyObject
*resultobj
= 0;
31619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31628 PyObject
* obj0
= 0 ;
31629 PyObject
* obj1
= 0 ;
31630 PyObject
* obj2
= 0 ;
31631 char * kwnames
[] = {
31632 (char *) "self",(char *) "item",(char *) "f", NULL
31635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31637 if (!SWIG_IsOK(res1
)) {
31638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31640 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31642 if (!SWIG_IsOK(ecode2
)) {
31643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31645 arg2
= static_cast< long >(val2
);
31646 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31647 if (!SWIG_IsOK(res3
)) {
31648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31653 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_Py_Void();
31667 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
= 0;
31669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31676 PyObject
* obj0
= 0 ;
31677 PyObject
* obj1
= 0 ;
31678 char * kwnames
[] = {
31679 (char *) "self",(char *) "item", NULL
31682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31684 if (!SWIG_IsOK(res1
)) {
31685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31687 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31688 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31689 if (!SWIG_IsOK(ecode2
)) {
31690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31692 arg2
= static_cast< long >(val2
);
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31706 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
= 0;
31708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31709 PyObject
*arg2
= (PyObject
*) 0 ;
31713 PyObject
* obj0
= 0 ;
31714 PyObject
* obj1
= 0 ;
31715 char * kwnames
[] = {
31716 (char *) "self",(char *) "func", NULL
31719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31721 if (!SWIG_IsOK(res1
)) {
31722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31724 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31741 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31742 PyObject
*resultobj
= 0;
31743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31744 wxWindow
*result
= 0 ;
31747 PyObject
*swig_obj
[1] ;
31749 if (!args
) SWIG_fail
;
31750 swig_obj
[0] = args
;
31751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31752 if (!SWIG_IsOK(res1
)) {
31753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31755 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31763 resultobj
= wxPyMake_wxObject(result
, 0);
31771 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
= 0;
31773 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31774 SwigValueWrapper
<wxVisualAttributes
> result
;
31777 PyObject
* obj0
= 0 ;
31778 char * kwnames
[] = {
31779 (char *) "variant", NULL
31782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31785 if (!SWIG_IsOK(ecode1
)) {
31786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31788 arg1
= static_cast< wxWindowVariant
>(val1
);
31791 if (!wxPyCheckForApp()) SWIG_fail
;
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31794 wxPyEndAllowThreads(__tstate
);
31795 if (PyErr_Occurred()) SWIG_fail
;
31797 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31804 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31807 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31808 return SWIG_Py_Void();
31811 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31812 return SWIG_Python_InitShadowInstance(args
);
31815 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
= 0;
31817 wxWindow
*arg1
= (wxWindow
*) 0 ;
31818 int arg2
= (int) -1 ;
31819 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31820 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31821 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31822 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31823 long arg5
= (long) wxLC_REPORT
;
31824 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31825 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31826 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31828 wxListView
*result
= 0 ;
31839 bool temp7
= false ;
31840 PyObject
* obj0
= 0 ;
31841 PyObject
* obj1
= 0 ;
31842 PyObject
* obj2
= 0 ;
31843 PyObject
* obj3
= 0 ;
31844 PyObject
* obj4
= 0 ;
31845 PyObject
* obj5
= 0 ;
31846 PyObject
* obj6
= 0 ;
31847 char * kwnames
[] = {
31848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31853 if (!SWIG_IsOK(res1
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31859 if (!SWIG_IsOK(ecode2
)) {
31860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31862 arg2
= static_cast< int >(val2
);
31867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31877 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31878 if (!SWIG_IsOK(ecode5
)) {
31879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31881 arg5
= static_cast< long >(val5
);
31884 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31885 if (!SWIG_IsOK(res6
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31891 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31895 arg7
= wxString_in_helper(obj6
);
31896 if (arg7
== NULL
) SWIG_fail
;
31901 if (!wxPyCheckForApp()) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31922 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31923 PyObject
*resultobj
= 0;
31924 wxListView
*result
= 0 ;
31926 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31928 if (!wxPyCheckForApp()) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 result
= (wxListView
*)new wxListView();
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31941 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31942 PyObject
*resultobj
= 0;
31943 wxListView
*arg1
= (wxListView
*) 0 ;
31944 wxWindow
*arg2
= (wxWindow
*) 0 ;
31945 int arg3
= (int) -1 ;
31946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31950 long arg6
= (long) wxLC_REPORT
;
31951 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31952 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31953 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31968 bool temp8
= false ;
31969 PyObject
* obj0
= 0 ;
31970 PyObject
* obj1
= 0 ;
31971 PyObject
* obj2
= 0 ;
31972 PyObject
* obj3
= 0 ;
31973 PyObject
* obj4
= 0 ;
31974 PyObject
* obj5
= 0 ;
31975 PyObject
* obj6
= 0 ;
31976 PyObject
* obj7
= 0 ;
31977 char * kwnames
[] = {
31978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31983 if (!SWIG_IsOK(res1
)) {
31984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31986 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31988 if (!SWIG_IsOK(res2
)) {
31989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31991 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31994 if (!SWIG_IsOK(ecode3
)) {
31995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31997 arg3
= static_cast< int >(val3
);
32002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32012 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32013 if (!SWIG_IsOK(ecode6
)) {
32014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32016 arg6
= static_cast< long >(val6
);
32019 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32020 if (!SWIG_IsOK(res7
)) {
32021 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32026 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32030 arg8
= wxString_in_helper(obj7
);
32031 if (arg8
== NULL
) SWIG_fail
;
32036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32058 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
= 0;
32060 wxListView
*arg1
= (wxListView
*) 0 ;
32062 bool arg3
= (bool) true ;
32069 PyObject
* obj0
= 0 ;
32070 PyObject
* obj1
= 0 ;
32071 PyObject
* obj2
= 0 ;
32072 char * kwnames
[] = {
32073 (char *) "self",(char *) "n",(char *) "on", NULL
32076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32078 if (!SWIG_IsOK(res1
)) {
32079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32081 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32083 if (!SWIG_IsOK(ecode2
)) {
32084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32086 arg2
= static_cast< long >(val2
);
32088 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32089 if (!SWIG_IsOK(ecode3
)) {
32090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32092 arg3
= static_cast< bool >(val3
);
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 (arg1
)->Select(arg2
,arg3
);
32097 wxPyEndAllowThreads(__tstate
);
32098 if (PyErr_Occurred()) SWIG_fail
;
32100 resultobj
= SWIG_Py_Void();
32107 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
= 0;
32109 wxListView
*arg1
= (wxListView
*) 0 ;
32115 PyObject
* obj0
= 0 ;
32116 PyObject
* obj1
= 0 ;
32117 char * kwnames
[] = {
32118 (char *) "self",(char *) "index", NULL
32121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32123 if (!SWIG_IsOK(res1
)) {
32124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32126 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32128 if (!SWIG_IsOK(ecode2
)) {
32129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32131 arg2
= static_cast< long >(val2
);
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 (arg1
)->Focus(arg2
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= SWIG_Py_Void();
32145 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32146 PyObject
*resultobj
= 0;
32147 wxListView
*arg1
= (wxListView
*) 0 ;
32151 PyObject
*swig_obj
[1] ;
32153 if (!args
) SWIG_fail
;
32154 swig_obj
[0] = args
;
32155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32156 if (!SWIG_IsOK(res1
)) {
32157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32159 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= SWIG_From_long(static_cast< long >(result
));
32173 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
= 0;
32175 wxListView
*arg1
= (wxListView
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 PyObject
* obj1
= 0 ;
32184 char * kwnames
[] = {
32185 (char *) "self",(char *) "item", NULL
32188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32190 if (!SWIG_IsOK(res1
)) {
32191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32193 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32195 if (!SWIG_IsOK(ecode2
)) {
32196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32198 arg2
= static_cast< long >(val2
);
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 resultobj
= SWIG_From_long(static_cast< long >(result
));
32212 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32213 PyObject
*resultobj
= 0;
32214 wxListView
*arg1
= (wxListView
*) 0 ;
32218 PyObject
*swig_obj
[1] ;
32220 if (!args
) SWIG_fail
;
32221 swig_obj
[0] = args
;
32222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32226 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 resultobj
= SWIG_From_long(static_cast< long >(result
));
32240 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
= 0;
32242 wxListView
*arg1
= (wxListView
*) 0 ;
32249 PyObject
* obj0
= 0 ;
32250 PyObject
* obj1
= 0 ;
32251 char * kwnames
[] = {
32252 (char *) "self",(char *) "index", NULL
32255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32257 if (!SWIG_IsOK(res1
)) {
32258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32260 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32262 if (!SWIG_IsOK(ecode2
)) {
32263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32265 arg2
= static_cast< long >(val2
);
32267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32268 result
= (bool)(arg1
)->IsSelected(arg2
);
32269 wxPyEndAllowThreads(__tstate
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32281 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
= 0;
32283 wxListView
*arg1
= (wxListView
*) 0 ;
32292 PyObject
* obj0
= 0 ;
32293 PyObject
* obj1
= 0 ;
32294 PyObject
* obj2
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "col",(char *) "image", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32304 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32306 if (!SWIG_IsOK(ecode2
)) {
32307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32309 arg2
= static_cast< int >(val2
);
32310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32311 if (!SWIG_IsOK(ecode3
)) {
32312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32314 arg3
= static_cast< int >(val3
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 (arg1
)->SetColumnImage(arg2
,arg3
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= SWIG_Py_Void();
32328 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxListView
*arg1
= (wxListView
*) 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 char * kwnames
[] = {
32339 (char *) "self",(char *) "col", NULL
32342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32344 if (!SWIG_IsOK(res1
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32347 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32349 if (!SWIG_IsOK(ecode2
)) {
32350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32352 arg2
= static_cast< int >(val2
);
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 (arg1
)->ClearColumnImage(arg2
);
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= SWIG_Py_Void();
32366 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32369 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32370 return SWIG_Py_Void();
32373 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32374 return SWIG_Python_InitShadowInstance(args
);
32377 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32378 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32383 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32384 PyObject
*pyobj
= 0;
32388 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32390 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32397 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32398 PyObject
*resultobj
= 0;
32399 wxTreeItemId
*result
= 0 ;
32401 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 result
= (wxTreeItemId
*)new wxTreeItemId();
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32415 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32416 PyObject
*resultobj
= 0;
32417 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32420 PyObject
*swig_obj
[1] ;
32422 if (!args
) SWIG_fail
;
32423 swig_obj
[0] = args
;
32424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32425 if (!SWIG_IsOK(res1
)) {
32426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32428 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_Py_Void();
32443 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32444 PyObject
*resultobj
= 0;
32445 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32449 PyObject
*swig_obj
[1] ;
32451 if (!args
) SWIG_fail
;
32452 swig_obj
[0] = args
;
32453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32454 if (!SWIG_IsOK(res1
)) {
32455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32457 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32473 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
= 0;
32475 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32476 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 char * kwnames
[] = {
32485 (char *) "self",(char *) "other", NULL
32488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32490 if (!SWIG_IsOK(res1
)) {
32491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32493 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32495 if (!SWIG_IsOK(res2
)) {
32496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32498 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32514 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
= 0;
32516 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32517 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32523 PyObject
* obj0
= 0 ;
32524 PyObject
* obj1
= 0 ;
32525 char * kwnames
[] = {
32526 (char *) "self",(char *) "other", NULL
32529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32534 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32536 if (!SWIG_IsOK(res2
)) {
32537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32539 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32555 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32556 PyObject
*resultobj
= 0;
32557 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32558 void *arg2
= (void *) 0 ;
32562 PyObject
*swig_obj
[2] ;
32564 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32566 if (!SWIG_IsOK(res1
)) {
32567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32569 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32570 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32571 if (!SWIG_IsOK(res2
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32574 if (arg1
) (arg1
)->m_pItem
= arg2
;
32576 resultobj
= SWIG_Py_Void();
32583 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32584 PyObject
*resultobj
= 0;
32585 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32589 PyObject
*swig_obj
[1] ;
32591 if (!args
) SWIG_fail
;
32592 swig_obj
[0] = args
;
32593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32594 if (!SWIG_IsOK(res1
)) {
32595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32597 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32598 result
= (void *) ((arg1
)->m_pItem
);
32599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32606 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32609 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32610 return SWIG_Py_Void();
32613 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32614 return SWIG_Python_InitShadowInstance(args
);
32617 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
= 0;
32619 PyObject
*arg1
= (PyObject
*) NULL
;
32620 wxPyTreeItemData
*result
= 0 ;
32621 PyObject
* obj0
= 0 ;
32622 char * kwnames
[] = {
32623 (char *) "obj", NULL
32626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32643 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32644 PyObject
*resultobj
= 0;
32645 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32648 PyObject
*swig_obj
[1] ;
32650 if (!args
) SWIG_fail
;
32651 swig_obj
[0] = args
;
32652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32653 if (!SWIG_IsOK(res1
)) {
32654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32656 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= SWIG_Py_Void();
32671 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32672 PyObject
*resultobj
= 0;
32673 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32674 PyObject
*result
= 0 ;
32677 PyObject
*swig_obj
[1] ;
32679 if (!args
) SWIG_fail
;
32680 swig_obj
[0] = args
;
32681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32685 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 result
= (PyObject
*)(arg1
)->GetData();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= result
;
32699 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
= 0;
32701 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32702 PyObject
*arg2
= (PyObject
*) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 PyObject
* obj1
= 0 ;
32707 char * kwnames
[] = {
32708 (char *) "self",(char *) "obj", NULL
32711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32713 if (!SWIG_IsOK(res1
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32716 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 (arg1
)->SetData(arg2
);
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= SWIG_Py_Void();
32731 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 PyObject
*resultobj
= 0;
32733 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32734 wxTreeItemId
*result
= 0 ;
32737 PyObject
*swig_obj
[1] ;
32739 if (!args
) SWIG_fail
;
32740 swig_obj
[0] = args
;
32741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32742 if (!SWIG_IsOK(res1
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32745 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32750 result
= (wxTreeItemId
*) &_result_ref
;
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32762 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
= 0;
32764 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32765 wxTreeItemId
*arg2
= 0 ;
32770 PyObject
* obj0
= 0 ;
32771 PyObject
* obj1
= 0 ;
32772 char * kwnames
[] = {
32773 (char *) "self",(char *) "id", NULL
32776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32778 if (!SWIG_IsOK(res1
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32781 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32783 if (!SWIG_IsOK(res2
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= SWIG_Py_Void();
32803 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32804 PyObject
*resultobj
= 0;
32805 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32808 PyObject
*swig_obj
[1] ;
32810 if (!args
) SWIG_fail
;
32811 swig_obj
[0] = args
;
32812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32813 if (!SWIG_IsOK(res1
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32816 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 wxPyTreeItemData_Destroy(arg1
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_Py_Void();
32830 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32833 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32834 return SWIG_Py_Void();
32837 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32838 return SWIG_Python_InitShadowInstance(args
);
32841 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32844 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32845 if (!SWIG_IsOK(res
)) {
32846 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32851 wxTreeItemId
* temp
;
32852 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32853 wxNullTreeItemId
= *temp
;
32854 if (SWIG_IsNewObj(res
)) delete temp
;
32863 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32864 PyObject
*pyobj
= 0;
32866 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32871 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32872 PyObject
*resultobj
= 0;
32873 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32874 int arg2
= (int) 0 ;
32875 wxTreeEvent
*result
= 0 ;
32881 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32883 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32884 if (!SWIG_IsOK(ecode1
)) {
32885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32887 arg1
= static_cast< wxEventType
>(val1
);
32890 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32891 if (!SWIG_IsOK(ecode2
)) {
32892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32894 arg2
= static_cast< int >(val2
);
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32909 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32910 PyObject
*resultobj
= 0;
32912 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32913 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32914 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32915 wxTreeEvent
*result
= 0 ;
32923 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32924 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32925 if (!SWIG_IsOK(ecode1
)) {
32926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32928 arg1
= static_cast< wxEventType
>(val1
);
32929 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32930 if (!SWIG_IsOK(res2
)) {
32931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32933 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32935 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32936 if (!SWIG_IsOK(res3
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32942 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32957 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32961 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32963 if ((argc
>= 0) && (argc
<= 2)) {
32968 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32969 _v
= SWIG_CheckState(res
);
32972 if (!_v
) goto check_1
;
32974 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32978 if ((argc
>= 2) && (argc
<= 3)) {
32979 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
32983 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
32988 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32989 PyObject
*resultobj
= 0;
32990 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32991 wxTreeItemId result
;
32994 PyObject
*swig_obj
[1] ;
32996 if (!args
) SWIG_fail
;
32997 swig_obj
[0] = args
;
32998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32999 if (!SWIG_IsOK(res1
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33002 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33005 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33016 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
= 0;
33018 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33019 wxTreeItemId
*arg2
= 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "item", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33035 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33037 if (!SWIG_IsOK(res2
)) {
33038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33043 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= SWIG_Py_Void();
33057 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 PyObject
*resultobj
= 0;
33059 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33060 wxTreeItemId result
;
33063 PyObject
*swig_obj
[1] ;
33065 if (!args
) SWIG_fail
;
33066 swig_obj
[0] = args
;
33067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33071 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33085 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33086 PyObject
*resultobj
= 0;
33087 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33088 wxTreeItemId
*arg2
= 0 ;
33093 PyObject
* obj0
= 0 ;
33094 PyObject
* obj1
= 0 ;
33095 char * kwnames
[] = {
33096 (char *) "self",(char *) "item", NULL
33099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33101 if (!SWIG_IsOK(res1
)) {
33102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33104 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33106 if (!SWIG_IsOK(res2
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33112 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33119 resultobj
= SWIG_Py_Void();
33126 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33127 PyObject
*resultobj
= 0;
33128 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33132 PyObject
*swig_obj
[1] ;
33134 if (!args
) SWIG_fail
;
33135 swig_obj
[0] = args
;
33136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33137 if (!SWIG_IsOK(res1
)) {
33138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33140 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33154 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
= 0;
33156 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33157 wxPoint
*arg2
= 0 ;
33161 PyObject
* obj0
= 0 ;
33162 PyObject
* obj1
= 0 ;
33163 char * kwnames
[] = {
33164 (char *) "self",(char *) "pt", NULL
33167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33169 if (!SWIG_IsOK(res1
)) {
33170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33172 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33183 resultobj
= SWIG_Py_Void();
33190 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33191 PyObject
*resultobj
= 0;
33192 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33193 wxKeyEvent
*result
= 0 ;
33196 PyObject
*swig_obj
[1] ;
33198 if (!args
) SWIG_fail
;
33199 swig_obj
[0] = args
;
33200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33201 if (!SWIG_IsOK(res1
)) {
33202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33204 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33209 result
= (wxKeyEvent
*) &_result_ref
;
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33221 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33222 PyObject
*resultobj
= 0;
33223 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33227 PyObject
*swig_obj
[1] ;
33229 if (!args
) SWIG_fail
;
33230 swig_obj
[0] = args
;
33231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33232 if (!SWIG_IsOK(res1
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33235 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33239 wxPyEndAllowThreads(__tstate
);
33240 if (PyErr_Occurred()) SWIG_fail
;
33242 resultobj
= SWIG_From_int(static_cast< int >(result
));
33249 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33250 PyObject
*resultobj
= 0;
33251 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33252 wxKeyEvent
*arg2
= 0 ;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33259 char * kwnames
[] = {
33260 (char *) "self",(char *) "evt", NULL
33263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33265 if (!SWIG_IsOK(res1
)) {
33266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33268 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33270 if (!SWIG_IsOK(res2
)) {
33271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33276 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= SWIG_Py_Void();
33290 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33291 PyObject
*resultobj
= 0;
33292 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33293 wxString
*result
= 0 ;
33296 PyObject
*swig_obj
[1] ;
33298 if (!args
) SWIG_fail
;
33299 swig_obj
[0] = args
;
33300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33301 if (!SWIG_IsOK(res1
)) {
33302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33304 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33309 result
= (wxString
*) &_result_ref
;
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33318 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33327 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
= 0;
33329 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33330 wxString
*arg2
= 0 ;
33333 bool temp2
= false ;
33334 PyObject
* obj0
= 0 ;
33335 PyObject
* obj1
= 0 ;
33336 char * kwnames
[] = {
33337 (char *) "self",(char *) "label", NULL
33340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33342 if (!SWIG_IsOK(res1
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33345 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33347 arg2
= wxString_in_helper(obj1
);
33348 if (arg2
== NULL
) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->SetLabel((wxString
const &)*arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_Py_Void();
33372 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33373 PyObject
*resultobj
= 0;
33374 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33378 PyObject
*swig_obj
[1] ;
33380 if (!args
) SWIG_fail
;
33381 swig_obj
[0] = args
;
33382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33383 if (!SWIG_IsOK(res1
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33386 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33389 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33402 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
= 0;
33404 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33410 PyObject
* obj0
= 0 ;
33411 PyObject
* obj1
= 0 ;
33412 char * kwnames
[] = {
33413 (char *) "self",(char *) "editCancelled", NULL
33416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33418 if (!SWIG_IsOK(res1
)) {
33419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33421 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33422 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33423 if (!SWIG_IsOK(ecode2
)) {
33424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33426 arg2
= static_cast< bool >(val2
);
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 (arg1
)->SetEditCanceled(arg2
);
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= SWIG_Py_Void();
33440 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33441 PyObject
*resultobj
= 0;
33442 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33443 wxString
*arg2
= 0 ;
33446 bool temp2
= false ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 char * kwnames
[] = {
33450 (char *) "self",(char *) "toolTip", NULL
33453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33455 if (!SWIG_IsOK(res1
)) {
33456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33458 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33460 arg2
= wxString_in_helper(obj1
);
33461 if (arg2
== NULL
) SWIG_fail
;
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33467 wxPyEndAllowThreads(__tstate
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33470 resultobj
= SWIG_Py_Void();
33485 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33486 PyObject
*resultobj
= 0;
33487 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33491 PyObject
*swig_obj
[1] ;
33493 if (!args
) SWIG_fail
;
33494 swig_obj
[0] = args
;
33495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33496 if (!SWIG_IsOK(res1
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33499 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 result
= (arg1
)->GetToolTip();
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33519 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33522 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33523 return SWIG_Py_Void();
33526 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33527 return SWIG_Python_InitShadowInstance(args
);
33530 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33531 PyObject
*resultobj
= 0;
33532 wxWindow
*arg1
= (wxWindow
*) 0 ;
33533 int arg2
= (int) -1 ;
33534 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33535 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33536 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33537 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33538 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33539 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33540 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33541 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33542 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33543 wxPyTreeCtrl
*result
= 0 ;
33554 bool temp7
= false ;
33555 PyObject
* obj0
= 0 ;
33556 PyObject
* obj1
= 0 ;
33557 PyObject
* obj2
= 0 ;
33558 PyObject
* obj3
= 0 ;
33559 PyObject
* obj4
= 0 ;
33560 PyObject
* obj5
= 0 ;
33561 PyObject
* obj6
= 0 ;
33562 char * kwnames
[] = {
33563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33568 if (!SWIG_IsOK(res1
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33574 if (!SWIG_IsOK(ecode2
)) {
33575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33577 arg2
= static_cast< int >(val2
);
33582 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33588 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33592 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33593 if (!SWIG_IsOK(ecode5
)) {
33594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33596 arg5
= static_cast< long >(val5
);
33599 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33600 if (!SWIG_IsOK(res6
)) {
33601 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33606 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33610 arg7
= wxString_in_helper(obj6
);
33611 if (arg7
== NULL
) SWIG_fail
;
33616 if (!wxPyCheckForApp()) SWIG_fail
;
33617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33618 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33637 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33638 PyObject
*resultobj
= 0;
33639 wxPyTreeCtrl
*result
= 0 ;
33641 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33643 if (!wxPyCheckForApp()) SWIG_fail
;
33644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33656 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
= 0;
33658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33659 wxWindow
*arg2
= (wxWindow
*) 0 ;
33660 int arg3
= (int) -1 ;
33661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33665 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33666 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33667 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33668 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33669 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33683 bool temp8
= false ;
33684 PyObject
* obj0
= 0 ;
33685 PyObject
* obj1
= 0 ;
33686 PyObject
* obj2
= 0 ;
33687 PyObject
* obj3
= 0 ;
33688 PyObject
* obj4
= 0 ;
33689 PyObject
* obj5
= 0 ;
33690 PyObject
* obj6
= 0 ;
33691 PyObject
* obj7
= 0 ;
33692 char * kwnames
[] = {
33693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33698 if (!SWIG_IsOK(res1
)) {
33699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33703 if (!SWIG_IsOK(res2
)) {
33704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33709 if (!SWIG_IsOK(ecode3
)) {
33710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33712 arg3
= static_cast< int >(val3
);
33717 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33723 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33727 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33728 if (!SWIG_IsOK(ecode6
)) {
33729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33731 arg6
= static_cast< long >(val6
);
33734 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33735 if (!SWIG_IsOK(res7
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33741 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33745 arg8
= wxString_in_helper(obj7
);
33746 if (arg8
== NULL
) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33773 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
= 0;
33775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33776 PyObject
*arg2
= (PyObject
*) 0 ;
33777 PyObject
*arg3
= (PyObject
*) 0 ;
33780 PyObject
* obj0
= 0 ;
33781 PyObject
* obj1
= 0 ;
33782 PyObject
* obj2
= 0 ;
33783 char * kwnames
[] = {
33784 (char *) "self",(char *) "self",(char *) "_class", NULL
33787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33789 if (!SWIG_IsOK(res1
)) {
33790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33797 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33801 resultobj
= SWIG_Py_Void();
33808 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33809 PyObject
*resultobj
= 0;
33810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33811 unsigned int result
;
33814 PyObject
*swig_obj
[1] ;
33816 if (!args
) SWIG_fail
;
33817 swig_obj
[0] = args
;
33818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33836 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33837 PyObject
*resultobj
= 0;
33838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33839 unsigned int result
;
33842 PyObject
*swig_obj
[1] ;
33844 if (!args
) SWIG_fail
;
33845 swig_obj
[0] = args
;
33846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33847 if (!SWIG_IsOK(res1
)) {
33848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33864 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
= 0;
33866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33867 unsigned int arg2
;
33870 unsigned int val2
;
33872 PyObject
* obj0
= 0 ;
33873 PyObject
* obj1
= 0 ;
33874 char * kwnames
[] = {
33875 (char *) "self",(char *) "indent", NULL
33878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33880 if (!SWIG_IsOK(res1
)) {
33881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33884 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33885 if (!SWIG_IsOK(ecode2
)) {
33886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33888 arg2
= static_cast< unsigned int >(val2
);
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 (arg1
)->SetIndent(arg2
);
33892 wxPyEndAllowThreads(__tstate
);
33893 if (PyErr_Occurred()) SWIG_fail
;
33895 resultobj
= SWIG_Py_Void();
33902 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33903 PyObject
*resultobj
= 0;
33904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33905 unsigned int result
;
33908 PyObject
*swig_obj
[1] ;
33910 if (!args
) SWIG_fail
;
33911 swig_obj
[0] = args
;
33912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33913 if (!SWIG_IsOK(res1
)) {
33914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33923 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33930 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33931 PyObject
*resultobj
= 0;
33932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33933 unsigned int arg2
;
33936 unsigned int val2
;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 char * kwnames
[] = {
33941 (char *) "self",(char *) "spacing", NULL
33944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33946 if (!SWIG_IsOK(res1
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33950 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33951 if (!SWIG_IsOK(ecode2
)) {
33952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33954 arg2
= static_cast< unsigned int >(val2
);
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 (arg1
)->SetSpacing(arg2
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= SWIG_Py_Void();
33968 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33969 PyObject
*resultobj
= 0;
33970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33971 wxImageList
*result
= 0 ;
33974 PyObject
*swig_obj
[1] ;
33976 if (!args
) SWIG_fail
;
33977 swig_obj
[0] = args
;
33978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33979 if (!SWIG_IsOK(res1
)) {
33980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33985 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33990 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33998 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33999 PyObject
*resultobj
= 0;
34000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34001 wxImageList
*result
= 0 ;
34004 PyObject
*swig_obj
[1] ;
34006 if (!args
) SWIG_fail
;
34007 swig_obj
[0] = args
;
34008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34009 if (!SWIG_IsOK(res1
)) {
34010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34020 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34028 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
= 0;
34030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34031 wxImageList
*arg2
= (wxImageList
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 PyObject
* obj1
= 0 ;
34038 char * kwnames
[] = {
34039 (char *) "self",(char *) "imageList", NULL
34042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34044 if (!SWIG_IsOK(res1
)) {
34045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34047 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34049 if (!SWIG_IsOK(res2
)) {
34050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34052 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34055 (arg1
)->SetImageList(arg2
);
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= SWIG_Py_Void();
34066 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34067 PyObject
*resultobj
= 0;
34068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34069 wxImageList
*arg2
= (wxImageList
*) 0 ;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 char * kwnames
[] = {
34077 (char *) "self",(char *) "imageList", NULL
34080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34082 if (!SWIG_IsOK(res1
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34085 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34087 if (!SWIG_IsOK(res2
)) {
34088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34090 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 (arg1
)->SetStateImageList(arg2
);
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= SWIG_Py_Void();
34104 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
= 0;
34106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34107 wxImageList
*arg2
= (wxImageList
*) 0 ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 char * kwnames
[] = {
34114 (char *) "self",(char *) "imageList", NULL
34117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34119 if (!SWIG_IsOK(res1
)) {
34120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34123 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34124 if (!SWIG_IsOK(res2
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 (arg1
)->AssignImageList(arg2
);
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 resultobj
= SWIG_Py_Void();
34140 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
= 0;
34142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34143 wxImageList
*arg2
= (wxImageList
*) 0 ;
34147 PyObject
* obj0
= 0 ;
34148 PyObject
* obj1
= 0 ;
34149 char * kwnames
[] = {
34150 (char *) "self",(char *) "imageList", NULL
34153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34159 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34160 if (!SWIG_IsOK(res2
)) {
34161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34165 (arg1
)->AssignStateImageList(arg2
);
34166 wxPyEndAllowThreads(__tstate
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34169 resultobj
= SWIG_Py_Void();
34176 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34177 PyObject
*resultobj
= 0;
34178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34179 wxTreeItemId
*arg2
= 0 ;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 char * kwnames
[] = {
34188 (char *) "self",(char *) "item", NULL
34191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34193 if (!SWIG_IsOK(res1
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34196 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34198 if (!SWIG_IsOK(res2
)) {
34199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34204 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34224 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
= 0;
34226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34227 wxTreeItemId
*arg2
= 0 ;
34228 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 PyObject
* obj2
= 0 ;
34239 char * kwnames
[] = {
34240 (char *) "self",(char *) "item",(char *) "which", NULL
34243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34245 if (!SWIG_IsOK(res1
)) {
34246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34248 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34250 if (!SWIG_IsOK(res2
)) {
34251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34256 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34259 if (!SWIG_IsOK(ecode3
)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34262 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= SWIG_From_int(static_cast< int >(result
));
34277 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
= 0;
34279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34280 wxTreeItemId
*arg2
= 0 ;
34281 wxPyTreeItemData
*result
= 0 ;
34286 PyObject
* obj0
= 0 ;
34287 PyObject
* obj1
= 0 ;
34288 char * kwnames
[] = {
34289 (char *) "self",(char *) "item", NULL
34292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34297 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34299 if (!SWIG_IsOK(res2
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34305 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34319 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34320 PyObject
*resultobj
= 0;
34321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34322 wxTreeItemId
*arg2
= 0 ;
34323 PyObject
*result
= 0 ;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 char * kwnames
[] = {
34331 (char *) "self",(char *) "item", NULL
34334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34336 if (!SWIG_IsOK(res1
)) {
34337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34339 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34341 if (!SWIG_IsOK(res2
)) {
34342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34347 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34351 wxPyEndAllowThreads(__tstate
);
34352 if (PyErr_Occurred()) SWIG_fail
;
34354 resultobj
= result
;
34361 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34362 PyObject
*resultobj
= 0;
34363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34364 wxTreeItemId
*arg2
= 0 ;
34370 PyObject
* obj0
= 0 ;
34371 PyObject
* obj1
= 0 ;
34372 char * kwnames
[] = {
34373 (char *) "self",(char *) "item", NULL
34376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34378 if (!SWIG_IsOK(res1
)) {
34379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34383 if (!SWIG_IsOK(res2
)) {
34384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34389 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34403 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
= 0;
34405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34406 wxTreeItemId
*arg2
= 0 ;
34412 PyObject
* obj0
= 0 ;
34413 PyObject
* obj1
= 0 ;
34414 char * kwnames
[] = {
34415 (char *) "self",(char *) "item", NULL
34418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34420 if (!SWIG_IsOK(res1
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34423 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34425 if (!SWIG_IsOK(res2
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34431 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34445 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
= 0;
34447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34448 wxTreeItemId
*arg2
= 0 ;
34454 PyObject
* obj0
= 0 ;
34455 PyObject
* obj1
= 0 ;
34456 char * kwnames
[] = {
34457 (char *) "self",(char *) "item", NULL
34460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34462 if (!SWIG_IsOK(res1
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34465 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34467 if (!SWIG_IsOK(res2
)) {
34468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34473 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34477 wxPyEndAllowThreads(__tstate
);
34478 if (PyErr_Occurred()) SWIG_fail
;
34480 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34487 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
= 0;
34489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34490 wxTreeItemId
*arg2
= 0 ;
34491 wxString
*arg3
= 0 ;
34496 bool temp3
= false ;
34497 PyObject
* obj0
= 0 ;
34498 PyObject
* obj1
= 0 ;
34499 PyObject
* obj2
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "item",(char *) "text", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34511 if (!SWIG_IsOK(res2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34519 arg3
= wxString_in_helper(obj2
);
34520 if (arg3
== NULL
) SWIG_fail
;
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34526 wxPyEndAllowThreads(__tstate
);
34527 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= SWIG_Py_Void();
34544 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
= 0;
34546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34547 wxTreeItemId
*arg2
= 0 ;
34549 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34558 PyObject
* obj0
= 0 ;
34559 PyObject
* obj1
= 0 ;
34560 PyObject
* obj2
= 0 ;
34561 PyObject
* obj3
= 0 ;
34562 char * kwnames
[] = {
34563 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34568 if (!SWIG_IsOK(res1
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34571 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34573 if (!SWIG_IsOK(res2
)) {
34574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34579 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34581 if (!SWIG_IsOK(ecode3
)) {
34582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34584 arg3
= static_cast< int >(val3
);
34586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34587 if (!SWIG_IsOK(ecode4
)) {
34588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34590 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= SWIG_Py_Void();
34605 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
= 0;
34607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34608 wxTreeItemId
*arg2
= 0 ;
34609 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34615 PyObject
* obj0
= 0 ;
34616 PyObject
* obj1
= 0 ;
34617 PyObject
* obj2
= 0 ;
34618 char * kwnames
[] = {
34619 (char *) "self",(char *) "item",(char *) "data", NULL
34622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34624 if (!SWIG_IsOK(res1
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34627 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34629 if (!SWIG_IsOK(res2
)) {
34630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34635 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34636 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34637 if (!SWIG_IsOK(res3
)) {
34638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= SWIG_Py_Void();
34653 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
= 0;
34655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34656 wxTreeItemId
*arg2
= 0 ;
34657 PyObject
*arg3
= (PyObject
*) 0 ;
34662 PyObject
* obj0
= 0 ;
34663 PyObject
* obj1
= 0 ;
34664 PyObject
* obj2
= 0 ;
34665 char * kwnames
[] = {
34666 (char *) "self",(char *) "item",(char *) "obj", NULL
34669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34671 if (!SWIG_IsOK(res1
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34674 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34676 if (!SWIG_IsOK(res2
)) {
34677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34682 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_Py_Void();
34697 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
= 0;
34699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34700 wxTreeItemId
*arg2
= 0 ;
34701 bool arg3
= (bool) true ;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 PyObject
* obj2
= 0 ;
34711 char * kwnames
[] = {
34712 (char *) "self",(char *) "item",(char *) "has", NULL
34715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemHasChildren" "', 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_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34730 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34731 if (!SWIG_IsOK(ecode3
)) {
34732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34734 arg3
= static_cast< bool >(val3
);
34737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34738 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34739 wxPyEndAllowThreads(__tstate
);
34740 if (PyErr_Occurred()) SWIG_fail
;
34742 resultobj
= SWIG_Py_Void();
34749 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34750 PyObject
*resultobj
= 0;
34751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34752 wxTreeItemId
*arg2
= 0 ;
34753 bool arg3
= (bool) true ;
34760 PyObject
* obj0
= 0 ;
34761 PyObject
* obj1
= 0 ;
34762 PyObject
* obj2
= 0 ;
34763 char * kwnames
[] = {
34764 (char *) "self",(char *) "item",(char *) "bold", NULL
34767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34769 if (!SWIG_IsOK(res1
)) {
34770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34772 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34774 if (!SWIG_IsOK(res2
)) {
34775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34780 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34782 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34783 if (!SWIG_IsOK(ecode3
)) {
34784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34786 arg3
= static_cast< bool >(val3
);
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34794 resultobj
= SWIG_Py_Void();
34801 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34802 PyObject
*resultobj
= 0;
34803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34804 wxTreeItemId
*arg2
= 0 ;
34805 bool arg3
= (bool) true ;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 PyObject
* obj2
= 0 ;
34815 char * kwnames
[] = {
34816 (char *) "self",(char *) "item",(char *) "highlight", NULL
34819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34821 if (!SWIG_IsOK(res1
)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34824 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34826 if (!SWIG_IsOK(res2
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34834 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34835 if (!SWIG_IsOK(ecode3
)) {
34836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34838 arg3
= static_cast< bool >(val3
);
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34846 resultobj
= SWIG_Py_Void();
34853 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34854 PyObject
*resultobj
= 0;
34855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34856 wxTreeItemId
*arg2
= 0 ;
34857 wxColour
*arg3
= 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 PyObject
* obj2
= 0 ;
34866 char * kwnames
[] = {
34867 (char *) "self",(char *) "item",(char *) "col", NULL
34870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34877 if (!SWIG_IsOK(res2
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34883 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34886 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34894 resultobj
= SWIG_Py_Void();
34901 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34902 PyObject
*resultobj
= 0;
34903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34904 wxTreeItemId
*arg2
= 0 ;
34905 wxColour
*arg3
= 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 PyObject
* obj2
= 0 ;
34914 char * kwnames
[] = {
34915 (char *) "self",(char *) "item",(char *) "col", NULL
34918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34920 if (!SWIG_IsOK(res1
)) {
34921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34923 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34925 if (!SWIG_IsOK(res2
)) {
34926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34931 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34934 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 resultobj
= SWIG_Py_Void();
34949 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34950 PyObject
*resultobj
= 0;
34951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34952 wxTreeItemId
*arg2
= 0 ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 PyObject
* obj2
= 0 ;
34963 char * kwnames
[] = {
34964 (char *) "self",(char *) "item",(char *) "font", NULL
34967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34969 if (!SWIG_IsOK(res1
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34974 if (!SWIG_IsOK(res2
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34980 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34981 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34982 if (!SWIG_IsOK(res3
)) {
34983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34988 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= SWIG_Py_Void();
35002 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
= 0;
35004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35005 wxTreeItemId
*arg2
= 0 ;
35011 PyObject
* obj0
= 0 ;
35012 PyObject
* obj1
= 0 ;
35013 char * kwnames
[] = {
35014 (char *) "self",(char *) "item", NULL
35017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35019 if (!SWIG_IsOK(res1
)) {
35020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35022 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35024 if (!SWIG_IsOK(res2
)) {
35025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35030 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35046 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
= 0;
35048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35049 wxTreeItemId
*arg2
= 0 ;
35055 PyObject
* obj0
= 0 ;
35056 PyObject
* obj1
= 0 ;
35057 char * kwnames
[] = {
35058 (char *) "self",(char *) "item", NULL
35061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35063 if (!SWIG_IsOK(res1
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35066 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35068 if (!SWIG_IsOK(res2
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35074 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35090 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
= 0;
35092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35093 wxTreeItemId
*arg2
= 0 ;
35099 PyObject
* obj0
= 0 ;
35100 PyObject
* obj1
= 0 ;
35101 char * kwnames
[] = {
35102 (char *) "self",(char *) "item", NULL
35105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35107 if (!SWIG_IsOK(res1
)) {
35108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35110 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35112 if (!SWIG_IsOK(res2
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35118 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35134 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35135 PyObject
*resultobj
= 0;
35136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35137 wxTreeItemId
*arg2
= 0 ;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 char * kwnames
[] = {
35146 (char *) "self",(char *) "item", NULL
35149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35151 if (!SWIG_IsOK(res1
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35156 if (!SWIG_IsOK(res2
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35178 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35179 PyObject
*resultobj
= 0;
35180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35181 wxTreeItemId
*arg2
= 0 ;
35187 PyObject
* obj0
= 0 ;
35188 PyObject
* obj1
= 0 ;
35189 char * kwnames
[] = {
35190 (char *) "self",(char *) "item", NULL
35193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35195 if (!SWIG_IsOK(res1
)) {
35196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35200 if (!SWIG_IsOK(res2
)) {
35201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35210 wxPyEndAllowThreads(__tstate
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35222 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
= 0;
35224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35225 wxTreeItemId
*arg2
= 0 ;
35226 bool arg3
= (bool) true ;
35234 PyObject
* obj0
= 0 ;
35235 PyObject
* obj1
= 0 ;
35236 PyObject
* obj2
= 0 ;
35237 char * kwnames
[] = {
35238 (char *) "self",(char *) "item",(char *) "recursively", NULL
35241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35243 if (!SWIG_IsOK(res1
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35248 if (!SWIG_IsOK(res2
)) {
35249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35254 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35256 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35257 if (!SWIG_IsOK(ecode3
)) {
35258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35260 arg3
= static_cast< bool >(val3
);
35263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35264 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35265 wxPyEndAllowThreads(__tstate
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35268 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35275 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35276 PyObject
*resultobj
= 0;
35277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35278 wxTreeItemId result
;
35281 PyObject
*swig_obj
[1] ;
35283 if (!args
) SWIG_fail
;
35284 swig_obj
[0] = args
;
35285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35286 if (!SWIG_IsOK(res1
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35303 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35304 PyObject
*resultobj
= 0;
35305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35306 wxTreeItemId result
;
35309 PyObject
*swig_obj
[1] ;
35311 if (!args
) SWIG_fail
;
35312 swig_obj
[0] = args
;
35313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35314 if (!SWIG_IsOK(res1
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35331 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35332 PyObject
*resultobj
= 0;
35333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35334 PyObject
*result
= 0 ;
35337 PyObject
*swig_obj
[1] ;
35339 if (!args
) SWIG_fail
;
35340 swig_obj
[0] = args
;
35341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35342 if (!SWIG_IsOK(res1
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35345 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 resultobj
= result
;
35359 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
= 0;
35361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35362 wxTreeItemId
*arg2
= 0 ;
35363 wxTreeItemId result
;
35368 PyObject
* obj0
= 0 ;
35369 PyObject
* obj1
= 0 ;
35370 char * kwnames
[] = {
35371 (char *) "self",(char *) "item", NULL
35374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35376 if (!SWIG_IsOK(res1
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35379 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35381 if (!SWIG_IsOK(res2
)) {
35382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35387 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35390 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35391 wxPyEndAllowThreads(__tstate
);
35392 if (PyErr_Occurred()) SWIG_fail
;
35394 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35401 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35402 PyObject
*resultobj
= 0;
35403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35404 wxTreeItemId
*arg2
= 0 ;
35405 PyObject
*result
= 0 ;
35410 PyObject
* obj0
= 0 ;
35411 PyObject
* obj1
= 0 ;
35412 char * kwnames
[] = {
35413 (char *) "self",(char *) "item", NULL
35416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35418 if (!SWIG_IsOK(res1
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35421 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35423 if (!SWIG_IsOK(res2
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35429 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35432 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35433 wxPyEndAllowThreads(__tstate
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35436 resultobj
= result
;
35443 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
= 0;
35445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35446 wxTreeItemId
*arg2
= 0 ;
35447 void *arg3
= (void *) 0 ;
35448 PyObject
*result
= 0 ;
35454 PyObject
* obj0
= 0 ;
35455 PyObject
* obj1
= 0 ;
35456 PyObject
* obj2
= 0 ;
35457 char * kwnames
[] = {
35458 (char *) "self",(char *) "item",(char *) "cookie", NULL
35461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35463 if (!SWIG_IsOK(res1
)) {
35464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35466 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35468 if (!SWIG_IsOK(res2
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35474 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35475 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35476 if (!SWIG_IsOK(res3
)) {
35477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35485 resultobj
= result
;
35492 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35493 PyObject
*resultobj
= 0;
35494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35495 wxTreeItemId
*arg2
= 0 ;
35496 wxTreeItemId result
;
35501 PyObject
* obj0
= 0 ;
35502 PyObject
* obj1
= 0 ;
35503 char * kwnames
[] = {
35504 (char *) "self",(char *) "item", NULL
35507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35509 if (!SWIG_IsOK(res1
)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35512 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35514 if (!SWIG_IsOK(res2
)) {
35515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35534 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35535 PyObject
*resultobj
= 0;
35536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35537 wxTreeItemId
*arg2
= 0 ;
35538 wxTreeItemId result
;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 char * kwnames
[] = {
35546 (char *) "self",(char *) "item", NULL
35549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35551 if (!SWIG_IsOK(res1
)) {
35552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35554 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35556 if (!SWIG_IsOK(res2
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35562 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35576 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
= 0;
35578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35579 wxTreeItemId
*arg2
= 0 ;
35580 wxTreeItemId result
;
35585 PyObject
* obj0
= 0 ;
35586 PyObject
* obj1
= 0 ;
35587 char * kwnames
[] = {
35588 (char *) "self",(char *) "item", NULL
35591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35598 if (!SWIG_IsOK(res2
)) {
35599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35604 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35608 wxPyEndAllowThreads(__tstate
);
35609 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35618 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35619 PyObject
*resultobj
= 0;
35620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35621 wxTreeItemId result
;
35624 PyObject
*swig_obj
[1] ;
35626 if (!args
) SWIG_fail
;
35627 swig_obj
[0] = args
;
35628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35629 if (!SWIG_IsOK(res1
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35632 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35636 wxPyEndAllowThreads(__tstate
);
35637 if (PyErr_Occurred()) SWIG_fail
;
35639 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35646 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35647 PyObject
*resultobj
= 0;
35648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35649 wxTreeItemId
*arg2
= 0 ;
35650 wxTreeItemId result
;
35655 PyObject
* obj0
= 0 ;
35656 PyObject
* obj1
= 0 ;
35657 char * kwnames
[] = {
35658 (char *) "self",(char *) "item", NULL
35661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35663 if (!SWIG_IsOK(res1
)) {
35664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35666 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35668 if (!SWIG_IsOK(res2
)) {
35669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35674 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35688 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
= 0;
35690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35691 wxTreeItemId
*arg2
= 0 ;
35692 wxTreeItemId result
;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 char * kwnames
[] = {
35700 (char *) "self",(char *) "item", NULL
35703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35705 if (!SWIG_IsOK(res1
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35708 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35710 if (!SWIG_IsOK(res2
)) {
35711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35716 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35719 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35730 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35731 PyObject
*resultobj
= 0;
35732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35733 wxString
*arg2
= 0 ;
35734 int arg3
= (int) -1 ;
35735 int arg4
= (int) -1 ;
35736 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35737 wxTreeItemId result
;
35740 bool temp2
= false ;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35749 PyObject
* obj3
= 0 ;
35750 PyObject
* obj4
= 0 ;
35751 char * kwnames
[] = {
35752 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35760 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35762 arg2
= wxString_in_helper(obj1
);
35763 if (arg2
== NULL
) SWIG_fail
;
35767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35768 if (!SWIG_IsOK(ecode3
)) {
35769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35771 arg3
= static_cast< int >(val3
);
35774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35775 if (!SWIG_IsOK(ecode4
)) {
35776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35778 arg4
= static_cast< int >(val4
);
35781 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35782 if (!SWIG_IsOK(res5
)) {
35783 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35788 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35807 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35808 PyObject
*resultobj
= 0;
35809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35810 wxTreeItemId
*arg2
= 0 ;
35811 wxString
*arg3
= 0 ;
35812 int arg4
= (int) -1 ;
35813 int arg5
= (int) -1 ;
35814 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35815 wxTreeItemId result
;
35820 bool temp3
= false ;
35826 PyObject
* obj0
= 0 ;
35827 PyObject
* obj1
= 0 ;
35828 PyObject
* obj2
= 0 ;
35829 PyObject
* obj3
= 0 ;
35830 PyObject
* obj4
= 0 ;
35831 PyObject
* obj5
= 0 ;
35832 char * kwnames
[] = {
35833 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35838 if (!SWIG_IsOK(res1
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35843 if (!SWIG_IsOK(res2
)) {
35844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35851 arg3
= wxString_in_helper(obj2
);
35852 if (arg3
== NULL
) SWIG_fail
;
35856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35857 if (!SWIG_IsOK(ecode4
)) {
35858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35860 arg4
= static_cast< int >(val4
);
35863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35864 if (!SWIG_IsOK(ecode5
)) {
35865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35867 arg5
= static_cast< int >(val5
);
35870 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35871 if (!SWIG_IsOK(res6
)) {
35872 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35878 wxPyEndAllowThreads(__tstate
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35896 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35897 PyObject
*resultobj
= 0;
35898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35899 wxTreeItemId
*arg2
= 0 ;
35900 wxTreeItemId
*arg3
= 0 ;
35901 wxString
*arg4
= 0 ;
35902 int arg5
= (int) -1 ;
35903 int arg6
= (int) -1 ;
35904 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35905 wxTreeItemId result
;
35912 bool temp4
= false ;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 PyObject
* obj2
= 0 ;
35921 PyObject
* obj3
= 0 ;
35922 PyObject
* obj4
= 0 ;
35923 PyObject
* obj5
= 0 ;
35924 PyObject
* obj6
= 0 ;
35925 char * kwnames
[] = {
35926 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35931 if (!SWIG_IsOK(res1
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35934 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35936 if (!SWIG_IsOK(res2
)) {
35937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35942 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35943 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35944 if (!SWIG_IsOK(res3
)) {
35945 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35950 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35952 arg4
= wxString_in_helper(obj3
);
35953 if (arg4
== NULL
) SWIG_fail
;
35957 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35958 if (!SWIG_IsOK(ecode5
)) {
35959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35961 arg5
= static_cast< int >(val5
);
35964 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35965 if (!SWIG_IsOK(ecode6
)) {
35966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35968 arg6
= static_cast< int >(val6
);
35971 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35972 if (!SWIG_IsOK(res7
)) {
35973 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35978 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35979 wxPyEndAllowThreads(__tstate
);
35980 if (PyErr_Occurred()) SWIG_fail
;
35982 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35997 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
= 0;
35999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36000 wxTreeItemId
*arg2
= 0 ;
36002 wxString
*arg4
= 0 ;
36003 int arg5
= (int) -1 ;
36004 int arg6
= (int) -1 ;
36005 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36006 wxTreeItemId result
;
36013 bool temp4
= false ;
36019 PyObject
* obj0
= 0 ;
36020 PyObject
* obj1
= 0 ;
36021 PyObject
* obj2
= 0 ;
36022 PyObject
* obj3
= 0 ;
36023 PyObject
* obj4
= 0 ;
36024 PyObject
* obj5
= 0 ;
36025 PyObject
* obj6
= 0 ;
36026 char * kwnames
[] = {
36027 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36032 if (!SWIG_IsOK(res1
)) {
36033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36035 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36037 if (!SWIG_IsOK(res2
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36043 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36044 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36045 if (!SWIG_IsOK(ecode3
)) {
36046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36048 arg3
= static_cast< size_t >(val3
);
36050 arg4
= wxString_in_helper(obj3
);
36051 if (arg4
== NULL
) SWIG_fail
;
36055 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36056 if (!SWIG_IsOK(ecode5
)) {
36057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36059 arg5
= static_cast< int >(val5
);
36062 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36063 if (!SWIG_IsOK(ecode6
)) {
36064 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36066 arg6
= static_cast< int >(val6
);
36069 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36070 if (!SWIG_IsOK(res7
)) {
36071 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36076 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36095 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36096 PyObject
*resultobj
= 0;
36097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36098 wxTreeItemId
*arg2
= 0 ;
36099 wxString
*arg3
= 0 ;
36100 int arg4
= (int) -1 ;
36101 int arg5
= (int) -1 ;
36102 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36103 wxTreeItemId result
;
36108 bool temp3
= false ;
36114 PyObject
* obj0
= 0 ;
36115 PyObject
* obj1
= 0 ;
36116 PyObject
* obj2
= 0 ;
36117 PyObject
* obj3
= 0 ;
36118 PyObject
* obj4
= 0 ;
36119 PyObject
* obj5
= 0 ;
36120 char * kwnames
[] = {
36121 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36126 if (!SWIG_IsOK(res1
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36129 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36131 if (!SWIG_IsOK(res2
)) {
36132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36137 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36139 arg3
= wxString_in_helper(obj2
);
36140 if (arg3
== NULL
) SWIG_fail
;
36144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36145 if (!SWIG_IsOK(ecode4
)) {
36146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36148 arg4
= static_cast< int >(val4
);
36151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36152 if (!SWIG_IsOK(ecode5
)) {
36153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36155 arg5
= static_cast< int >(val5
);
36158 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36159 if (!SWIG_IsOK(res6
)) {
36160 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36165 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36166 wxPyEndAllowThreads(__tstate
);
36167 if (PyErr_Occurred()) SWIG_fail
;
36169 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36184 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
= 0;
36186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36187 wxTreeItemId
*arg2
= 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 char * kwnames
[] = {
36195 (char *) "self",(char *) "item", NULL
36198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36205 if (!SWIG_IsOK(res2
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36211 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 resultobj
= SWIG_Py_Void();
36225 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36226 PyObject
*resultobj
= 0;
36227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36228 wxTreeItemId
*arg2
= 0 ;
36233 PyObject
* obj0
= 0 ;
36234 PyObject
* obj1
= 0 ;
36235 char * kwnames
[] = {
36236 (char *) "self",(char *) "item", NULL
36239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36241 if (!SWIG_IsOK(res1
)) {
36242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36244 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36246 if (!SWIG_IsOK(res2
)) {
36247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36252 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36255 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36256 wxPyEndAllowThreads(__tstate
);
36257 if (PyErr_Occurred()) SWIG_fail
;
36259 resultobj
= SWIG_Py_Void();
36266 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36267 PyObject
*resultobj
= 0;
36268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36271 PyObject
*swig_obj
[1] ;
36273 if (!args
) SWIG_fail
;
36274 swig_obj
[0] = args
;
36275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36276 if (!SWIG_IsOK(res1
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36279 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 (arg1
)->DeleteAllItems();
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= SWIG_Py_Void();
36293 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
= 0;
36295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36296 wxTreeItemId
*arg2
= 0 ;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 char * kwnames
[] = {
36304 (char *) "self",(char *) "item", NULL
36307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36309 if (!SWIG_IsOK(res1
)) {
36310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36314 if (!SWIG_IsOK(res2
)) {
36315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36320 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36323 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36324 wxPyEndAllowThreads(__tstate
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36327 resultobj
= SWIG_Py_Void();
36334 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36335 PyObject
*resultobj
= 0;
36336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36337 wxTreeItemId
*arg2
= 0 ;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 char * kwnames
[] = {
36345 (char *) "self",(char *) "item", NULL
36348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36350 if (!SWIG_IsOK(res1
)) {
36351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36353 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36355 if (!SWIG_IsOK(res2
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36361 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36364 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36365 wxPyEndAllowThreads(__tstate
);
36366 if (PyErr_Occurred()) SWIG_fail
;
36368 resultobj
= SWIG_Py_Void();
36375 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36376 PyObject
*resultobj
= 0;
36377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36380 PyObject
*swig_obj
[1] ;
36382 if (!args
) SWIG_fail
;
36383 swig_obj
[0] = args
;
36384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36385 if (!SWIG_IsOK(res1
)) {
36386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36388 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36391 (arg1
)->ExpandAll();
36392 wxPyEndAllowThreads(__tstate
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= SWIG_Py_Void();
36402 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
= 0;
36404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36405 wxTreeItemId
*arg2
= 0 ;
36410 PyObject
* obj0
= 0 ;
36411 PyObject
* obj1
= 0 ;
36412 char * kwnames
[] = {
36413 (char *) "self",(char *) "item", NULL
36416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36418 if (!SWIG_IsOK(res1
)) {
36419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36421 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36423 if (!SWIG_IsOK(res2
)) {
36424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36429 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36433 wxPyEndAllowThreads(__tstate
);
36434 if (PyErr_Occurred()) SWIG_fail
;
36436 resultobj
= SWIG_Py_Void();
36443 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36444 PyObject
*resultobj
= 0;
36445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36446 wxTreeItemId
*arg2
= 0 ;
36451 PyObject
* obj0
= 0 ;
36452 PyObject
* obj1
= 0 ;
36453 char * kwnames
[] = {
36454 (char *) "self",(char *) "item", NULL
36457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36459 if (!SWIG_IsOK(res1
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36462 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36464 if (!SWIG_IsOK(res2
)) {
36465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= SWIG_Py_Void();
36484 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
= 0;
36486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36487 wxTreeItemId
*arg2
= 0 ;
36492 PyObject
* obj0
= 0 ;
36493 PyObject
* obj1
= 0 ;
36494 char * kwnames
[] = {
36495 (char *) "self",(char *) "item", NULL
36498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36500 if (!SWIG_IsOK(res1
)) {
36501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36505 if (!SWIG_IsOK(res2
)) {
36506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36511 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36514 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36515 wxPyEndAllowThreads(__tstate
);
36516 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= SWIG_Py_Void();
36525 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36526 PyObject
*resultobj
= 0;
36527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36530 PyObject
*swig_obj
[1] ;
36532 if (!args
) SWIG_fail
;
36533 swig_obj
[0] = args
;
36534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36535 if (!SWIG_IsOK(res1
)) {
36536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36538 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 (arg1
)->Unselect();
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 resultobj
= SWIG_Py_Void();
36552 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
= 0;
36554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36555 wxTreeItemId
*arg2
= 0 ;
36560 PyObject
* obj0
= 0 ;
36561 PyObject
* obj1
= 0 ;
36562 char * kwnames
[] = {
36563 (char *) "self",(char *) "item", NULL
36566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36568 if (!SWIG_IsOK(res1
)) {
36569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36571 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36573 if (!SWIG_IsOK(res2
)) {
36574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36579 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36586 resultobj
= SWIG_Py_Void();
36593 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36594 PyObject
*resultobj
= 0;
36595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36598 PyObject
*swig_obj
[1] ;
36600 if (!args
) SWIG_fail
;
36601 swig_obj
[0] = args
;
36602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36603 if (!SWIG_IsOK(res1
)) {
36604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36609 (arg1
)->UnselectAll();
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= SWIG_Py_Void();
36620 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
= 0;
36622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36623 wxTreeItemId
*arg2
= 0 ;
36624 bool arg3
= (bool) true ;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36633 PyObject
* obj2
= 0 ;
36634 char * kwnames
[] = {
36635 (char *) "self",(char *) "item",(char *) "select", NULL
36638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36640 if (!SWIG_IsOK(res1
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36643 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36645 if (!SWIG_IsOK(res2
)) {
36646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36651 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36653 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36654 if (!SWIG_IsOK(ecode3
)) {
36655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36657 arg3
= static_cast< bool >(val3
);
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36662 wxPyEndAllowThreads(__tstate
);
36663 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= SWIG_Py_Void();
36672 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36673 PyObject
*resultobj
= 0;
36674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36675 wxTreeItemId
*arg2
= 0 ;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36682 char * kwnames
[] = {
36683 (char *) "self",(char *) "item", NULL
36686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36688 if (!SWIG_IsOK(res1
)) {
36689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36691 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36693 if (!SWIG_IsOK(res2
)) {
36694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36699 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 resultobj
= SWIG_Py_Void();
36713 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
= 0;
36715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36716 wxTreeItemId
*arg2
= 0 ;
36721 PyObject
* obj0
= 0 ;
36722 PyObject
* obj1
= 0 ;
36723 char * kwnames
[] = {
36724 (char *) "self",(char *) "item", NULL
36727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36729 if (!SWIG_IsOK(res1
)) {
36730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36732 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36734 if (!SWIG_IsOK(res2
)) {
36735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36740 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36743 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 resultobj
= SWIG_Py_Void();
36754 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36755 PyObject
*resultobj
= 0;
36756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36757 wxTreeItemId
*arg2
= 0 ;
36762 PyObject
* obj0
= 0 ;
36763 PyObject
* obj1
= 0 ;
36764 char * kwnames
[] = {
36765 (char *) "self",(char *) "item", NULL
36768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36770 if (!SWIG_IsOK(res1
)) {
36771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36775 if (!SWIG_IsOK(res2
)) {
36776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36784 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36785 wxPyEndAllowThreads(__tstate
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36788 resultobj
= SWIG_Py_Void();
36795 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36796 PyObject
*resultobj
= 0;
36797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36798 wxTreeItemId
*arg2
= 0 ;
36803 PyObject
* obj0
= 0 ;
36804 PyObject
* obj1
= 0 ;
36805 char * kwnames
[] = {
36806 (char *) "self",(char *) "item", NULL
36809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36811 if (!SWIG_IsOK(res1
)) {
36812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36816 if (!SWIG_IsOK(res2
)) {
36817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 resultobj
= SWIG_Py_Void();
36836 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36837 PyObject
*resultobj
= 0;
36838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36839 wxTextCtrl
*result
= 0 ;
36842 PyObject
*swig_obj
[1] ;
36844 if (!args
) SWIG_fail
;
36845 swig_obj
[0] = args
;
36846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36847 if (!SWIG_IsOK(res1
)) {
36848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36853 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36858 resultobj
= wxPyMake_wxObject(result
, 0);
36866 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36867 PyObject
*resultobj
= 0;
36868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36869 wxTreeItemId
*arg2
= 0 ;
36874 PyObject
* obj0
= 0 ;
36875 PyObject
* obj1
= 0 ;
36876 char * kwnames
[] = {
36877 (char *) "self",(char *) "item", NULL
36880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36882 if (!SWIG_IsOK(res1
)) {
36883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36887 if (!SWIG_IsOK(res2
)) {
36888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36893 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= SWIG_Py_Void();
36907 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36908 PyObject
*resultobj
= 0;
36909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36910 wxPoint
*arg2
= 0 ;
36912 wxTreeItemId result
;
36917 int res3
= SWIG_TMPOBJ
;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36920 char * kwnames
[] = {
36921 (char *) "self",(char *) "point", NULL
36925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36927 if (!SWIG_IsOK(res1
)) {
36928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36938 wxPyEndAllowThreads(__tstate
);
36939 if (PyErr_Occurred()) SWIG_fail
;
36941 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36942 if (SWIG_IsTmpObj(res3
)) {
36943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36945 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36954 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36955 PyObject
*resultobj
= 0;
36956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36957 wxTreeItemId
*arg2
= 0 ;
36958 bool arg3
= (bool) false ;
36959 PyObject
*result
= 0 ;
36966 PyObject
* obj0
= 0 ;
36967 PyObject
* obj1
= 0 ;
36968 PyObject
* obj2
= 0 ;
36969 char * kwnames
[] = {
36970 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36975 if (!SWIG_IsOK(res1
)) {
36976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36978 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36980 if (!SWIG_IsOK(res2
)) {
36981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36986 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36988 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36989 if (!SWIG_IsOK(ecode3
)) {
36990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36992 arg3
= static_cast< bool >(val3
);
36995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36996 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36997 wxPyEndAllowThreads(__tstate
);
36998 if (PyErr_Occurred()) SWIG_fail
;
37000 resultobj
= result
;
37007 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37008 PyObject
*resultobj
= 0;
37009 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37010 SwigValueWrapper
<wxVisualAttributes
> result
;
37013 PyObject
* obj0
= 0 ;
37014 char * kwnames
[] = {
37015 (char *) "variant", NULL
37018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37021 if (!SWIG_IsOK(ecode1
)) {
37022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37024 arg1
= static_cast< wxWindowVariant
>(val1
);
37027 if (!wxPyCheckForApp()) SWIG_fail
;
37028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37029 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37030 wxPyEndAllowThreads(__tstate
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37033 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37040 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37041 PyObject
*resultobj
= 0;
37042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37048 PyObject
* obj0
= 0 ;
37049 PyObject
* obj1
= 0 ;
37050 char * kwnames
[] = {
37051 (char *) "self",(char *) "q", NULL
37054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37056 if (!SWIG_IsOK(res1
)) {
37057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37059 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37060 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37061 if (!SWIG_IsOK(ecode2
)) {
37062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37064 arg2
= static_cast< bool >(val2
);
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 (arg1
)->SetQuickBestSize(arg2
);
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37071 resultobj
= SWIG_Py_Void();
37078 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37079 PyObject
*resultobj
= 0;
37080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37084 PyObject
*swig_obj
[1] ;
37086 if (!args
) SWIG_fail
;
37087 swig_obj
[0] = args
;
37088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37089 if (!SWIG_IsOK(res1
)) {
37090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37092 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37095 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37096 wxPyEndAllowThreads(__tstate
);
37097 if (PyErr_Occurred()) SWIG_fail
;
37100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37108 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37111 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37112 return SWIG_Py_Void();
37115 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37116 return SWIG_Python_InitShadowInstance(args
);
37119 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37120 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37125 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37126 PyObject
*pyobj
= 0;
37130 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37132 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37139 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
= 0;
37141 wxWindow
*arg1
= (wxWindow
*) 0 ;
37142 int arg2
= (int) (int)-1 ;
37143 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37144 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37149 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37150 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37151 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37152 int arg8
= (int) 0 ;
37153 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37154 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37155 wxGenericDirCtrl
*result
= 0 ;
37160 bool temp3
= false ;
37165 bool temp7
= false ;
37168 bool temp9
= false ;
37169 PyObject
* obj0
= 0 ;
37170 PyObject
* obj1
= 0 ;
37171 PyObject
* obj2
= 0 ;
37172 PyObject
* obj3
= 0 ;
37173 PyObject
* obj4
= 0 ;
37174 PyObject
* obj5
= 0 ;
37175 PyObject
* obj6
= 0 ;
37176 PyObject
* obj7
= 0 ;
37177 PyObject
* obj8
= 0 ;
37178 char * kwnames
[] = {
37179 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37184 if (!SWIG_IsOK(res1
)) {
37185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37190 if (!SWIG_IsOK(ecode2
)) {
37191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37193 arg2
= static_cast< int >(val2
);
37197 arg3
= wxString_in_helper(obj2
);
37198 if (arg3
== NULL
) SWIG_fail
;
37205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37211 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37215 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37216 if (!SWIG_IsOK(ecode6
)) {
37217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37219 arg6
= static_cast< long >(val6
);
37223 arg7
= wxString_in_helper(obj6
);
37224 if (arg7
== NULL
) SWIG_fail
;
37229 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37230 if (!SWIG_IsOK(ecode8
)) {
37231 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37233 arg8
= static_cast< int >(val8
);
37237 arg9
= wxString_in_helper(obj8
);
37238 if (arg9
== NULL
) SWIG_fail
;
37243 if (!wxPyCheckForApp()) SWIG_fail
;
37244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37245 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37246 wxPyEndAllowThreads(__tstate
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37280 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37281 PyObject
*resultobj
= 0;
37282 wxGenericDirCtrl
*result
= 0 ;
37284 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37286 if (!wxPyCheckForApp()) SWIG_fail
;
37287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37299 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
= 0;
37301 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37302 wxWindow
*arg2
= (wxWindow
*) 0 ;
37303 int arg3
= (int) (int)-1 ;
37304 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37305 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37306 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37307 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37308 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37309 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37310 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37311 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37312 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37313 int arg9
= (int) 0 ;
37314 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37315 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37323 bool temp4
= false ;
37328 bool temp8
= false ;
37331 bool temp10
= false ;
37332 PyObject
* obj0
= 0 ;
37333 PyObject
* obj1
= 0 ;
37334 PyObject
* obj2
= 0 ;
37335 PyObject
* obj3
= 0 ;
37336 PyObject
* obj4
= 0 ;
37337 PyObject
* obj5
= 0 ;
37338 PyObject
* obj6
= 0 ;
37339 PyObject
* obj7
= 0 ;
37340 PyObject
* obj8
= 0 ;
37341 PyObject
* obj9
= 0 ;
37342 char * kwnames
[] = {
37343 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37348 if (!SWIG_IsOK(res1
)) {
37349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37351 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37353 if (!SWIG_IsOK(res2
)) {
37354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37359 if (!SWIG_IsOK(ecode3
)) {
37360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37362 arg3
= static_cast< int >(val3
);
37366 arg4
= wxString_in_helper(obj3
);
37367 if (arg4
== NULL
) SWIG_fail
;
37374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37384 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37385 if (!SWIG_IsOK(ecode7
)) {
37386 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37388 arg7
= static_cast< long >(val7
);
37392 arg8
= wxString_in_helper(obj7
);
37393 if (arg8
== NULL
) SWIG_fail
;
37398 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37399 if (!SWIG_IsOK(ecode9
)) {
37400 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37402 arg9
= static_cast< int >(val9
);
37406 arg10
= wxString_in_helper(obj9
);
37407 if (arg10
== NULL
) SWIG_fail
;
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37450 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
= 0;
37452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37453 wxString
*arg2
= 0 ;
37457 bool temp2
= false ;
37458 PyObject
* obj0
= 0 ;
37459 PyObject
* obj1
= 0 ;
37460 char * kwnames
[] = {
37461 (char *) "self",(char *) "path", NULL
37464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37466 if (!SWIG_IsOK(res1
)) {
37467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37469 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37471 arg2
= wxString_in_helper(obj1
);
37472 if (arg2
== NULL
) SWIG_fail
;
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37498 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37499 PyObject
*resultobj
= 0;
37500 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37501 wxString
*arg2
= 0 ;
37505 bool temp2
= false ;
37506 PyObject
* obj0
= 0 ;
37507 PyObject
* obj1
= 0 ;
37508 char * kwnames
[] = {
37509 (char *) "self",(char *) "path", NULL
37512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37514 if (!SWIG_IsOK(res1
)) {
37515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37517 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37519 arg2
= wxString_in_helper(obj1
);
37520 if (arg2
== NULL
) SWIG_fail
;
37524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37525 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37546 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37547 PyObject
*resultobj
= 0;
37548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37552 PyObject
*swig_obj
[1] ;
37554 if (!args
) SWIG_fail
;
37555 swig_obj
[0] = args
;
37556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37557 if (!SWIG_IsOK(res1
)) {
37558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37560 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37563 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37564 wxPyEndAllowThreads(__tstate
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37580 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37581 PyObject
*resultobj
= 0;
37582 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37583 wxString
*arg2
= 0 ;
37586 bool temp2
= false ;
37587 PyObject
* obj0
= 0 ;
37588 PyObject
* obj1
= 0 ;
37589 char * kwnames
[] = {
37590 (char *) "self",(char *) "path", NULL
37593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37595 if (!SWIG_IsOK(res1
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37598 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37600 arg2
= wxString_in_helper(obj1
);
37601 if (arg2
== NULL
) SWIG_fail
;
37605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37606 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37610 resultobj
= SWIG_Py_Void();
37625 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37626 PyObject
*resultobj
= 0;
37627 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37631 PyObject
*swig_obj
[1] ;
37633 if (!args
) SWIG_fail
;
37634 swig_obj
[0] = args
;
37635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37636 if (!SWIG_IsOK(res1
)) {
37637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37639 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37642 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37643 wxPyEndAllowThreads(__tstate
);
37644 if (PyErr_Occurred()) SWIG_fail
;
37648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37659 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37660 PyObject
*resultobj
= 0;
37661 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37665 PyObject
*swig_obj
[1] ;
37667 if (!args
) SWIG_fail
;
37668 swig_obj
[0] = args
;
37669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37670 if (!SWIG_IsOK(res1
)) {
37671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37673 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37676 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37693 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37694 PyObject
*resultobj
= 0;
37695 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37696 wxString
*arg2
= 0 ;
37699 bool temp2
= false ;
37700 PyObject
* obj0
= 0 ;
37701 PyObject
* obj1
= 0 ;
37702 char * kwnames
[] = {
37703 (char *) "self",(char *) "path", NULL
37706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37708 if (!SWIG_IsOK(res1
)) {
37709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37711 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37713 arg2
= wxString_in_helper(obj1
);
37714 if (arg2
== NULL
) SWIG_fail
;
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 (arg1
)->SetPath((wxString
const &)*arg2
);
37720 wxPyEndAllowThreads(__tstate
);
37721 if (PyErr_Occurred()) SWIG_fail
;
37723 resultobj
= SWIG_Py_Void();
37738 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
= 0;
37740 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37746 PyObject
* obj0
= 0 ;
37747 PyObject
* obj1
= 0 ;
37748 char * kwnames
[] = {
37749 (char *) "self",(char *) "show", NULL
37752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37754 if (!SWIG_IsOK(res1
)) {
37755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37757 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37759 if (!SWIG_IsOK(ecode2
)) {
37760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37762 arg2
= static_cast< bool >(val2
);
37764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37765 (arg1
)->ShowHidden(arg2
);
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37769 resultobj
= SWIG_Py_Void();
37776 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37777 PyObject
*resultobj
= 0;
37778 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37782 PyObject
*swig_obj
[1] ;
37784 if (!args
) SWIG_fail
;
37785 swig_obj
[0] = args
;
37786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37787 if (!SWIG_IsOK(res1
)) {
37788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37790 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 result
= (bool)(arg1
)->GetShowHidden();
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37806 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37807 PyObject
*resultobj
= 0;
37808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37812 PyObject
*swig_obj
[1] ;
37814 if (!args
) SWIG_fail
;
37815 swig_obj
[0] = args
;
37816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37817 if (!SWIG_IsOK(res1
)) {
37818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37820 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37840 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37841 PyObject
*resultobj
= 0;
37842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37843 wxString
*arg2
= 0 ;
37846 bool temp2
= false ;
37847 PyObject
* obj0
= 0 ;
37848 PyObject
* obj1
= 0 ;
37849 char * kwnames
[] = {
37850 (char *) "self",(char *) "filter", NULL
37853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37855 if (!SWIG_IsOK(res1
)) {
37856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37858 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37860 arg2
= wxString_in_helper(obj1
);
37861 if (arg2
== NULL
) SWIG_fail
;
37865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37866 (arg1
)->SetFilter((wxString
const &)*arg2
);
37867 wxPyEndAllowThreads(__tstate
);
37868 if (PyErr_Occurred()) SWIG_fail
;
37870 resultobj
= SWIG_Py_Void();
37885 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37886 PyObject
*resultobj
= 0;
37887 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37891 PyObject
*swig_obj
[1] ;
37893 if (!args
) SWIG_fail
;
37894 swig_obj
[0] = args
;
37895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37896 if (!SWIG_IsOK(res1
)) {
37897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37899 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37902 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 resultobj
= SWIG_From_int(static_cast< int >(result
));
37913 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
= 0;
37915 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37921 PyObject
* obj0
= 0 ;
37922 PyObject
* obj1
= 0 ;
37923 char * kwnames
[] = {
37924 (char *) "self",(char *) "n", NULL
37927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37929 if (!SWIG_IsOK(res1
)) {
37930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37932 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37934 if (!SWIG_IsOK(ecode2
)) {
37935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37937 arg2
= static_cast< int >(val2
);
37939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37940 (arg1
)->SetFilterIndex(arg2
);
37941 wxPyEndAllowThreads(__tstate
);
37942 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= SWIG_Py_Void();
37951 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37952 PyObject
*resultobj
= 0;
37953 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37954 wxTreeItemId result
;
37957 PyObject
*swig_obj
[1] ;
37959 if (!args
) SWIG_fail
;
37960 swig_obj
[0] = args
;
37961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37962 if (!SWIG_IsOK(res1
)) {
37963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37965 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37968 result
= (arg1
)->GetRootId();
37969 wxPyEndAllowThreads(__tstate
);
37970 if (PyErr_Occurred()) SWIG_fail
;
37972 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37979 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37980 PyObject
*resultobj
= 0;
37981 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37982 wxPyTreeCtrl
*result
= 0 ;
37985 PyObject
*swig_obj
[1] ;
37987 if (!args
) SWIG_fail
;
37988 swig_obj
[0] = args
;
37989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37990 if (!SWIG_IsOK(res1
)) {
37991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37993 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37996 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37997 wxPyEndAllowThreads(__tstate
);
37998 if (PyErr_Occurred()) SWIG_fail
;
38001 resultobj
= wxPyMake_wxObject(result
, 0);
38009 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38010 PyObject
*resultobj
= 0;
38011 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38012 wxDirFilterListCtrl
*result
= 0 ;
38015 PyObject
*swig_obj
[1] ;
38017 if (!args
) SWIG_fail
;
38018 swig_obj
[0] = args
;
38019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38020 if (!SWIG_IsOK(res1
)) {
38021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38023 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38037 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
= 0;
38039 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38040 wxTreeItemId arg2
;
38041 wxString
*arg3
= 0 ;
38043 wxTreeItemId result
;
38048 bool temp3
= false ;
38050 int res4
= SWIG_TMPOBJ
;
38051 PyObject
* obj0
= 0 ;
38052 PyObject
* obj1
= 0 ;
38053 PyObject
* obj2
= 0 ;
38054 char * kwnames
[] = {
38055 (char *) "self",(char *) "parentId",(char *) "path", NULL
38059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38061 if (!SWIG_IsOK(res1
)) {
38062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38064 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38067 if (!SWIG_IsOK(res2
)) {
38068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38073 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38075 if (SWIG_IsNewObj(res2
)) delete temp
;
38079 arg3
= wxString_in_helper(obj2
);
38080 if (arg3
== NULL
) SWIG_fail
;
38084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38085 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38089 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38090 if (SWIG_IsTmpObj(res4
)) {
38091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38093 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38110 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38111 PyObject
*resultobj
= 0;
38112 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38115 PyObject
*swig_obj
[1] ;
38117 if (!args
) SWIG_fail
;
38118 swig_obj
[0] = args
;
38119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38120 if (!SWIG_IsOK(res1
)) {
38121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38123 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38126 (arg1
)->DoResize();
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38130 resultobj
= SWIG_Py_Void();
38137 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38138 PyObject
*resultobj
= 0;
38139 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38142 PyObject
*swig_obj
[1] ;
38144 if (!args
) SWIG_fail
;
38145 swig_obj
[0] = args
;
38146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38147 if (!SWIG_IsOK(res1
)) {
38148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38150 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 (arg1
)->ReCreateTree();
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= SWIG_Py_Void();
38164 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38167 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38168 return SWIG_Py_Void();
38171 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38172 return SWIG_Python_InitShadowInstance(args
);
38175 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38176 PyObject
*resultobj
= 0;
38177 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38178 int arg2
= (int) (int)-1 ;
38179 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38180 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38181 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38182 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38183 long arg5
= (long) 0 ;
38184 wxDirFilterListCtrl
*result
= 0 ;
38193 PyObject
* obj0
= 0 ;
38194 PyObject
* obj1
= 0 ;
38195 PyObject
* obj2
= 0 ;
38196 PyObject
* obj3
= 0 ;
38197 PyObject
* obj4
= 0 ;
38198 char * kwnames
[] = {
38199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38204 if (!SWIG_IsOK(res1
)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38207 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38210 if (!SWIG_IsOK(ecode2
)) {
38211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38213 arg2
= static_cast< int >(val2
);
38218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38228 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38229 if (!SWIG_IsOK(ecode5
)) {
38230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38232 arg5
= static_cast< long >(val5
);
38235 if (!wxPyCheckForApp()) SWIG_fail
;
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38238 wxPyEndAllowThreads(__tstate
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38248 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38249 PyObject
*resultobj
= 0;
38250 wxDirFilterListCtrl
*result
= 0 ;
38252 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38254 if (!wxPyCheckForApp()) SWIG_fail
;
38255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38256 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38257 wxPyEndAllowThreads(__tstate
);
38258 if (PyErr_Occurred()) SWIG_fail
;
38260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38267 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
= 0;
38269 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38270 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38271 int arg3
= (int) (int)-1 ;
38272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38276 long arg6
= (long) 0 ;
38288 PyObject
* obj0
= 0 ;
38289 PyObject
* obj1
= 0 ;
38290 PyObject
* obj2
= 0 ;
38291 PyObject
* obj3
= 0 ;
38292 PyObject
* obj4
= 0 ;
38293 PyObject
* obj5
= 0 ;
38294 char * kwnames
[] = {
38295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38300 if (!SWIG_IsOK(res1
)) {
38301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38303 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38305 if (!SWIG_IsOK(res2
)) {
38306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38308 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38311 if (!SWIG_IsOK(ecode3
)) {
38312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38314 arg3
= static_cast< int >(val3
);
38319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38329 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38330 if (!SWIG_IsOK(ecode6
)) {
38331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38333 arg6
= static_cast< long >(val6
);
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38338 wxPyEndAllowThreads(__tstate
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38350 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
= 0;
38352 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38353 wxString
*arg2
= 0 ;
38357 bool temp2
= false ;
38360 PyObject
* obj0
= 0 ;
38361 PyObject
* obj1
= 0 ;
38362 PyObject
* obj2
= 0 ;
38363 char * kwnames
[] = {
38364 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38369 if (!SWIG_IsOK(res1
)) {
38370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38372 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38374 arg2
= wxString_in_helper(obj1
);
38375 if (arg2
== NULL
) SWIG_fail
;
38378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38379 if (!SWIG_IsOK(ecode3
)) {
38380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38382 arg3
= static_cast< int >(val3
);
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38389 resultobj
= SWIG_Py_Void();
38404 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38407 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38408 return SWIG_Py_Void();
38411 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38412 return SWIG_Python_InitShadowInstance(args
);
38415 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
= 0;
38417 wxWindow
*arg1
= (wxWindow
*) 0 ;
38418 int arg2
= (int) (int)-1 ;
38419 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38420 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38421 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38422 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38423 long arg5
= (long) 0 ;
38424 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38425 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38426 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38427 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38428 wxPyControl
*result
= 0 ;
38439 bool temp7
= false ;
38440 PyObject
* obj0
= 0 ;
38441 PyObject
* obj1
= 0 ;
38442 PyObject
* obj2
= 0 ;
38443 PyObject
* obj3
= 0 ;
38444 PyObject
* obj4
= 0 ;
38445 PyObject
* obj5
= 0 ;
38446 PyObject
* obj6
= 0 ;
38447 char * kwnames
[] = {
38448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38453 if (!SWIG_IsOK(res1
)) {
38454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38459 if (!SWIG_IsOK(ecode2
)) {
38460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38462 arg2
= static_cast< int >(val2
);
38467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38477 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38478 if (!SWIG_IsOK(ecode5
)) {
38479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38481 arg5
= static_cast< long >(val5
);
38484 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38485 if (!SWIG_IsOK(res6
)) {
38486 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38491 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38495 arg7
= wxString_in_helper(obj6
);
38496 if (arg7
== NULL
) SWIG_fail
;
38501 if (!wxPyCheckForApp()) SWIG_fail
;
38502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38503 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38504 wxPyEndAllowThreads(__tstate
);
38505 if (PyErr_Occurred()) SWIG_fail
;
38507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38522 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38523 PyObject
*resultobj
= 0;
38524 wxPyControl
*result
= 0 ;
38526 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38528 if (!wxPyCheckForApp()) SWIG_fail
;
38529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38530 result
= (wxPyControl
*)new wxPyControl();
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38541 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38542 PyObject
*resultobj
= 0;
38543 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38544 PyObject
*arg2
= (PyObject
*) 0 ;
38545 PyObject
*arg3
= (PyObject
*) 0 ;
38548 PyObject
* obj0
= 0 ;
38549 PyObject
* obj1
= 0 ;
38550 PyObject
* obj2
= 0 ;
38551 char * kwnames
[] = {
38552 (char *) "self",(char *) "self",(char *) "_class", NULL
38555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38557 if (!SWIG_IsOK(res1
)) {
38558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38560 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= SWIG_Py_Void();
38576 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38577 PyObject
*resultobj
= 0;
38578 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38583 PyObject
* obj0
= 0 ;
38584 PyObject
* obj1
= 0 ;
38585 char * kwnames
[] = {
38586 (char *) "self",(char *) "size", NULL
38589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38591 if (!SWIG_IsOK(res1
)) {
38592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38594 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38597 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38602 wxPyEndAllowThreads(__tstate
);
38603 if (PyErr_Occurred()) SWIG_fail
;
38605 resultobj
= SWIG_Py_Void();
38612 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38613 PyObject
*resultobj
= 0;
38614 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38615 wxDC
*arg2
= (wxDC
*) 0 ;
38621 PyObject
* obj0
= 0 ;
38622 PyObject
* obj1
= 0 ;
38623 char * kwnames
[] = {
38624 (char *) "self",(char *) "dc", NULL
38627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38629 if (!SWIG_IsOK(res1
)) {
38630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38632 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38634 if (!SWIG_IsOK(res2
)) {
38635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38637 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38640 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38653 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38654 PyObject
*resultobj
= 0;
38655 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38670 PyObject
* obj0
= 0 ;
38671 PyObject
* obj1
= 0 ;
38672 PyObject
* obj2
= 0 ;
38673 PyObject
* obj3
= 0 ;
38674 PyObject
* obj4
= 0 ;
38675 char * kwnames
[] = {
38676 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38681 if (!SWIG_IsOK(res1
)) {
38682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38684 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38686 if (!SWIG_IsOK(ecode2
)) {
38687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38689 arg2
= static_cast< int >(val2
);
38690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38691 if (!SWIG_IsOK(ecode3
)) {
38692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38694 arg3
= static_cast< int >(val3
);
38695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38696 if (!SWIG_IsOK(ecode4
)) {
38697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38699 arg4
= static_cast< int >(val4
);
38700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38701 if (!SWIG_IsOK(ecode5
)) {
38702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38704 arg5
= static_cast< int >(val5
);
38706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38707 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38711 resultobj
= SWIG_Py_Void();
38718 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
= 0;
38720 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38725 int arg6
= (int) wxSIZE_AUTO
;
38738 PyObject
* obj0
= 0 ;
38739 PyObject
* obj1
= 0 ;
38740 PyObject
* obj2
= 0 ;
38741 PyObject
* obj3
= 0 ;
38742 PyObject
* obj4
= 0 ;
38743 PyObject
* obj5
= 0 ;
38744 char * kwnames
[] = {
38745 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38750 if (!SWIG_IsOK(res1
)) {
38751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38753 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38755 if (!SWIG_IsOK(ecode2
)) {
38756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38758 arg2
= static_cast< int >(val2
);
38759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38760 if (!SWIG_IsOK(ecode3
)) {
38761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38763 arg3
= static_cast< int >(val3
);
38764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38765 if (!SWIG_IsOK(ecode4
)) {
38766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38768 arg4
= static_cast< int >(val4
);
38769 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38770 if (!SWIG_IsOK(ecode5
)) {
38771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38773 arg5
= static_cast< int >(val5
);
38775 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38776 if (!SWIG_IsOK(ecode6
)) {
38777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38779 arg6
= static_cast< int >(val6
);
38782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38783 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38784 wxPyEndAllowThreads(__tstate
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38787 resultobj
= SWIG_Py_Void();
38794 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38795 PyObject
*resultobj
= 0;
38796 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38805 PyObject
* obj0
= 0 ;
38806 PyObject
* obj1
= 0 ;
38807 PyObject
* obj2
= 0 ;
38808 char * kwnames
[] = {
38809 (char *) "self",(char *) "width",(char *) "height", NULL
38812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38814 if (!SWIG_IsOK(res1
)) {
38815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38817 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38819 if (!SWIG_IsOK(ecode2
)) {
38820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38822 arg2
= static_cast< int >(val2
);
38823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38824 if (!SWIG_IsOK(ecode3
)) {
38825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38827 arg3
= static_cast< int >(val3
);
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 (arg1
)->DoSetClientSize(arg2
,arg3
);
38831 wxPyEndAllowThreads(__tstate
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38834 resultobj
= SWIG_Py_Void();
38841 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38842 PyObject
*resultobj
= 0;
38843 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38852 PyObject
* obj0
= 0 ;
38853 PyObject
* obj1
= 0 ;
38854 PyObject
* obj2
= 0 ;
38855 char * kwnames
[] = {
38856 (char *) "self",(char *) "x",(char *) "y", NULL
38859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38861 if (!SWIG_IsOK(res1
)) {
38862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38864 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38866 if (!SWIG_IsOK(ecode2
)) {
38867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38869 arg2
= static_cast< int >(val2
);
38870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38871 if (!SWIG_IsOK(ecode3
)) {
38872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38874 arg3
= static_cast< int >(val3
);
38876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38877 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38878 wxPyEndAllowThreads(__tstate
);
38879 if (PyErr_Occurred()) SWIG_fail
;
38881 resultobj
= SWIG_Py_Void();
38888 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38889 PyObject
*resultobj
= 0;
38890 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38891 int *arg2
= (int *) 0 ;
38892 int *arg3
= (int *) 0 ;
38896 int res2
= SWIG_TMPOBJ
;
38898 int res3
= SWIG_TMPOBJ
;
38899 PyObject
*swig_obj
[1] ;
38903 if (!args
) SWIG_fail
;
38904 swig_obj
[0] = args
;
38905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38906 if (!SWIG_IsOK(res1
)) {
38907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38909 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38912 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38916 resultobj
= SWIG_Py_Void();
38917 if (SWIG_IsTmpObj(res2
)) {
38918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38920 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38923 if (SWIG_IsTmpObj(res3
)) {
38924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38926 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38935 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38936 PyObject
*resultobj
= 0;
38937 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38938 int *arg2
= (int *) 0 ;
38939 int *arg3
= (int *) 0 ;
38943 int res2
= SWIG_TMPOBJ
;
38945 int res3
= SWIG_TMPOBJ
;
38946 PyObject
*swig_obj
[1] ;
38950 if (!args
) SWIG_fail
;
38951 swig_obj
[0] = args
;
38952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38953 if (!SWIG_IsOK(res1
)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38956 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38959 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38960 wxPyEndAllowThreads(__tstate
);
38961 if (PyErr_Occurred()) SWIG_fail
;
38963 resultobj
= SWIG_Py_Void();
38964 if (SWIG_IsTmpObj(res2
)) {
38965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38967 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38970 if (SWIG_IsTmpObj(res3
)) {
38971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38973 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38982 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38983 PyObject
*resultobj
= 0;
38984 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38985 int *arg2
= (int *) 0 ;
38986 int *arg3
= (int *) 0 ;
38990 int res2
= SWIG_TMPOBJ
;
38992 int res3
= SWIG_TMPOBJ
;
38993 PyObject
*swig_obj
[1] ;
38997 if (!args
) SWIG_fail
;
38998 swig_obj
[0] = args
;
38999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39000 if (!SWIG_IsOK(res1
)) {
39001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39003 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39007 wxPyEndAllowThreads(__tstate
);
39008 if (PyErr_Occurred()) SWIG_fail
;
39010 resultobj
= SWIG_Py_Void();
39011 if (SWIG_IsTmpObj(res2
)) {
39012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39014 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39017 if (SWIG_IsTmpObj(res3
)) {
39018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39020 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39029 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39030 PyObject
*resultobj
= 0;
39031 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39035 PyObject
*swig_obj
[1] ;
39037 if (!args
) SWIG_fail
;
39038 swig_obj
[0] = args
;
39039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39040 if (!SWIG_IsOK(res1
)) {
39041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39043 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39046 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39050 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39057 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39058 PyObject
*resultobj
= 0;
39059 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39063 PyObject
*swig_obj
[1] ;
39065 if (!args
) SWIG_fail
;
39066 swig_obj
[0] = args
;
39067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39068 if (!SWIG_IsOK(res1
)) {
39069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39071 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39074 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39075 wxPyEndAllowThreads(__tstate
);
39076 if (PyErr_Occurred()) SWIG_fail
;
39078 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39085 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39086 PyObject
*resultobj
= 0;
39087 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39088 SwigValueWrapper
<wxVisualAttributes
> result
;
39091 PyObject
*swig_obj
[1] ;
39093 if (!args
) SWIG_fail
;
39094 swig_obj
[0] = args
;
39095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39096 if (!SWIG_IsOK(res1
)) {
39097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39099 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39102 result
= (arg1
)->GetDefaultAttributes();
39103 wxPyEndAllowThreads(__tstate
);
39104 if (PyErr_Occurred()) SWIG_fail
;
39106 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39113 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39114 PyObject
*resultobj
= 0;
39115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39118 PyObject
*swig_obj
[1] ;
39120 if (!args
) SWIG_fail
;
39121 swig_obj
[0] = args
;
39122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39123 if (!SWIG_IsOK(res1
)) {
39124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39126 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 (arg1
)->OnInternalIdle();
39130 wxPyEndAllowThreads(__tstate
);
39131 if (PyErr_Occurred()) SWIG_fail
;
39133 resultobj
= SWIG_Py_Void();
39140 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39144 return SWIG_Py_Void();
39147 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39148 return SWIG_Python_InitShadowInstance(args
);
39151 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39152 PyObject
*resultobj
= 0;
39153 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39154 int arg2
= (int) 0 ;
39155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39157 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39158 wxHelpEvent
*result
= 0 ;
39166 PyObject
* obj0
= 0 ;
39167 PyObject
* obj1
= 0 ;
39168 PyObject
* obj2
= 0 ;
39169 PyObject
* obj3
= 0 ;
39170 char * kwnames
[] = {
39171 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39177 if (!SWIG_IsOK(ecode1
)) {
39178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39180 arg1
= static_cast< wxEventType
>(val1
);
39183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39184 if (!SWIG_IsOK(ecode2
)) {
39185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39187 arg2
= static_cast< int >(val2
);
39192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39197 if (!SWIG_IsOK(ecode4
)) {
39198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39200 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39215 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39216 PyObject
*resultobj
= 0;
39217 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39221 PyObject
*swig_obj
[1] ;
39223 if (!args
) SWIG_fail
;
39224 swig_obj
[0] = args
;
39225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39226 if (!SWIG_IsOK(res1
)) {
39227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39229 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39232 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39233 wxPyEndAllowThreads(__tstate
);
39234 if (PyErr_Occurred()) SWIG_fail
;
39236 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39243 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39244 PyObject
*resultobj
= 0;
39245 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39246 wxPoint
*arg2
= 0 ;
39250 PyObject
* obj0
= 0 ;
39251 PyObject
* obj1
= 0 ;
39252 char * kwnames
[] = {
39253 (char *) "self",(char *) "pos", NULL
39256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39258 if (!SWIG_IsOK(res1
)) {
39259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39261 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39264 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39268 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39269 wxPyEndAllowThreads(__tstate
);
39270 if (PyErr_Occurred()) SWIG_fail
;
39272 resultobj
= SWIG_Py_Void();
39279 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39280 PyObject
*resultobj
= 0;
39281 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39282 wxString
*result
= 0 ;
39285 PyObject
*swig_obj
[1] ;
39287 if (!args
) SWIG_fail
;
39288 swig_obj
[0] = args
;
39289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39290 if (!SWIG_IsOK(res1
)) {
39291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39293 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39298 result
= (wxString
*) &_result_ref
;
39300 wxPyEndAllowThreads(__tstate
);
39301 if (PyErr_Occurred()) SWIG_fail
;
39305 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39307 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39316 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39317 PyObject
*resultobj
= 0;
39318 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39319 wxString
*arg2
= 0 ;
39322 bool temp2
= false ;
39323 PyObject
* obj0
= 0 ;
39324 PyObject
* obj1
= 0 ;
39325 char * kwnames
[] = {
39326 (char *) "self",(char *) "link", NULL
39329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39331 if (!SWIG_IsOK(res1
)) {
39332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39334 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39336 arg2
= wxString_in_helper(obj1
);
39337 if (arg2
== NULL
) SWIG_fail
;
39341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39342 (arg1
)->SetLink((wxString
const &)*arg2
);
39343 wxPyEndAllowThreads(__tstate
);
39344 if (PyErr_Occurred()) SWIG_fail
;
39346 resultobj
= SWIG_Py_Void();
39361 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39362 PyObject
*resultobj
= 0;
39363 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39364 wxString
*result
= 0 ;
39367 PyObject
*swig_obj
[1] ;
39369 if (!args
) SWIG_fail
;
39370 swig_obj
[0] = args
;
39371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39372 if (!SWIG_IsOK(res1
)) {
39373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39375 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39379 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39380 result
= (wxString
*) &_result_ref
;
39382 wxPyEndAllowThreads(__tstate
);
39383 if (PyErr_Occurred()) SWIG_fail
;
39387 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39389 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39398 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
= 0;
39400 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39401 wxString
*arg2
= 0 ;
39404 bool temp2
= false ;
39405 PyObject
* obj0
= 0 ;
39406 PyObject
* obj1
= 0 ;
39407 char * kwnames
[] = {
39408 (char *) "self",(char *) "target", NULL
39411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39413 if (!SWIG_IsOK(res1
)) {
39414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39416 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39418 arg2
= wxString_in_helper(obj1
);
39419 if (arg2
== NULL
) SWIG_fail
;
39423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39424 (arg1
)->SetTarget((wxString
const &)*arg2
);
39425 wxPyEndAllowThreads(__tstate
);
39426 if (PyErr_Occurred()) SWIG_fail
;
39428 resultobj
= SWIG_Py_Void();
39443 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39444 PyObject
*resultobj
= 0;
39445 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39446 wxHelpEvent::Origin result
;
39449 PyObject
*swig_obj
[1] ;
39451 if (!args
) SWIG_fail
;
39452 swig_obj
[0] = args
;
39453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39454 if (!SWIG_IsOK(res1
)) {
39455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39457 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39460 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39461 wxPyEndAllowThreads(__tstate
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 resultobj
= SWIG_From_int(static_cast< int >(result
));
39471 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39472 PyObject
*resultobj
= 0;
39473 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39474 wxHelpEvent::Origin arg2
;
39479 PyObject
* obj0
= 0 ;
39480 PyObject
* obj1
= 0 ;
39481 char * kwnames
[] = {
39482 (char *) "self",(char *) "origin", NULL
39485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39487 if (!SWIG_IsOK(res1
)) {
39488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39490 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39492 if (!SWIG_IsOK(ecode2
)) {
39493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39495 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39498 (arg1
)->SetOrigin(arg2
);
39499 wxPyEndAllowThreads(__tstate
);
39500 if (PyErr_Occurred()) SWIG_fail
;
39502 resultobj
= SWIG_Py_Void();
39509 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39512 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39513 return SWIG_Py_Void();
39516 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39517 return SWIG_Python_InitShadowInstance(args
);
39520 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
= 0;
39522 wxWindow
*arg1
= (wxWindow
*) NULL
;
39523 bool arg2
= (bool) true ;
39524 wxContextHelp
*result
= 0 ;
39529 PyObject
* obj0
= 0 ;
39530 PyObject
* obj1
= 0 ;
39531 char * kwnames
[] = {
39532 (char *) "window",(char *) "doNow", NULL
39535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39538 if (!SWIG_IsOK(res1
)) {
39539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39544 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39545 if (!SWIG_IsOK(ecode2
)) {
39546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39548 arg2
= static_cast< bool >(val2
);
39551 if (!wxPyCheckForApp()) SWIG_fail
;
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39554 wxPyEndAllowThreads(__tstate
);
39555 if (PyErr_Occurred()) SWIG_fail
;
39557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39564 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39565 PyObject
*resultobj
= 0;
39566 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39569 PyObject
*swig_obj
[1] ;
39571 if (!args
) SWIG_fail
;
39572 swig_obj
[0] = args
;
39573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39574 if (!SWIG_IsOK(res1
)) {
39575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39577 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 wxPyEndAllowThreads(__tstate
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39585 resultobj
= SWIG_Py_Void();
39592 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39593 PyObject
*resultobj
= 0;
39594 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39595 wxWindow
*arg2
= (wxWindow
*) NULL
;
39601 PyObject
* obj0
= 0 ;
39602 PyObject
* obj1
= 0 ;
39603 char * kwnames
[] = {
39604 (char *) "self",(char *) "window", NULL
39607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39609 if (!SWIG_IsOK(res1
)) {
39610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39612 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39615 if (!SWIG_IsOK(res2
)) {
39616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39622 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39623 wxPyEndAllowThreads(__tstate
);
39624 if (PyErr_Occurred()) SWIG_fail
;
39627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39635 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39636 PyObject
*resultobj
= 0;
39637 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39641 PyObject
*swig_obj
[1] ;
39643 if (!args
) SWIG_fail
;
39644 swig_obj
[0] = args
;
39645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39646 if (!SWIG_IsOK(res1
)) {
39647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39649 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39652 result
= (bool)(arg1
)->EndContextHelp();
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39665 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39668 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39669 return SWIG_Py_Void();
39672 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39673 return SWIG_Python_InitShadowInstance(args
);
39676 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39677 PyObject
*resultobj
= 0;
39678 wxWindow
*arg1
= (wxWindow
*) 0 ;
39679 int arg2
= (int) wxID_CONTEXT_HELP
;
39680 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39681 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39682 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39683 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39684 long arg5
= (long) wxBU_AUTODRAW
;
39685 wxContextHelpButton
*result
= 0 ;
39694 PyObject
* obj0
= 0 ;
39695 PyObject
* obj1
= 0 ;
39696 PyObject
* obj2
= 0 ;
39697 PyObject
* obj3
= 0 ;
39698 PyObject
* obj4
= 0 ;
39699 char * kwnames
[] = {
39700 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39705 if (!SWIG_IsOK(res1
)) {
39706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39708 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39711 if (!SWIG_IsOK(ecode2
)) {
39712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39714 arg2
= static_cast< int >(val2
);
39719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39729 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39730 if (!SWIG_IsOK(ecode5
)) {
39731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39733 arg5
= static_cast< long >(val5
);
39736 if (!wxPyCheckForApp()) SWIG_fail
;
39737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39738 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39739 wxPyEndAllowThreads(__tstate
);
39740 if (PyErr_Occurred()) SWIG_fail
;
39742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39749 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39752 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39753 return SWIG_Py_Void();
39756 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39757 return SWIG_Python_InitShadowInstance(args
);
39760 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39761 PyObject
*resultobj
= 0;
39762 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39765 PyObject
*swig_obj
[1] ;
39767 if (!args
) SWIG_fail
;
39768 swig_obj
[0] = args
;
39769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39770 if (!SWIG_IsOK(res1
)) {
39771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39773 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39781 resultobj
= SWIG_Py_Void();
39788 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39789 PyObject
*resultobj
= 0;
39790 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39791 wxHelpProvider
*result
= 0 ;
39793 PyObject
* obj0
= 0 ;
39794 char * kwnames
[] = {
39795 (char *) "helpProvider", NULL
39798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39799 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39800 if (!SWIG_IsOK(res1
)) {
39801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39816 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39817 PyObject
*resultobj
= 0;
39818 wxHelpProvider
*result
= 0 ;
39820 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39823 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39834 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39835 PyObject
*resultobj
= 0;
39836 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39837 wxWindow
*arg2
= (wxWindow
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 PyObject
* obj1
= 0 ;
39845 char * kwnames
[] = {
39846 (char *) "self",(char *) "window", NULL
39849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39851 if (!SWIG_IsOK(res1
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39854 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39856 if (!SWIG_IsOK(res2
)) {
39857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39862 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39879 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39880 PyObject
*resultobj
= 0;
39881 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39882 wxWindow
*arg2
= (wxWindow
*) 0 ;
39888 PyObject
* obj0
= 0 ;
39889 PyObject
* obj1
= 0 ;
39890 char * kwnames
[] = {
39891 (char *) "self",(char *) "window", NULL
39894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39896 if (!SWIG_IsOK(res1
)) {
39897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39899 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39901 if (!SWIG_IsOK(res2
)) {
39902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39907 result
= (bool)(arg1
)->ShowHelp(arg2
);
39908 wxPyEndAllowThreads(__tstate
);
39909 if (PyErr_Occurred()) SWIG_fail
;
39912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39920 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39921 PyObject
*resultobj
= 0;
39922 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39923 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39924 wxPoint
*arg3
= 0 ;
39925 wxHelpEvent::Origin arg4
;
39934 PyObject
* obj0
= 0 ;
39935 PyObject
* obj1
= 0 ;
39936 PyObject
* obj2
= 0 ;
39937 PyObject
* obj3
= 0 ;
39938 char * kwnames
[] = {
39939 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39944 if (!SWIG_IsOK(res1
)) {
39945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39947 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39949 if (!SWIG_IsOK(res2
)) {
39950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39952 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39958 if (!SWIG_IsOK(ecode4
)) {
39959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39961 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39964 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39965 wxPyEndAllowThreads(__tstate
);
39966 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39977 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
= 0;
39979 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39980 wxWindow
*arg2
= (wxWindow
*) 0 ;
39981 wxString
*arg3
= 0 ;
39986 bool temp3
= false ;
39987 PyObject
* obj0
= 0 ;
39988 PyObject
* obj1
= 0 ;
39989 PyObject
* obj2
= 0 ;
39990 char * kwnames
[] = {
39991 (char *) "self",(char *) "window",(char *) "text", NULL
39994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39996 if (!SWIG_IsOK(res1
)) {
39997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39999 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40001 if (!SWIG_IsOK(res2
)) {
40002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40006 arg3
= wxString_in_helper(obj2
);
40007 if (arg3
== NULL
) SWIG_fail
;
40011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40012 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40013 wxPyEndAllowThreads(__tstate
);
40014 if (PyErr_Occurred()) SWIG_fail
;
40016 resultobj
= SWIG_Py_Void();
40031 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40032 PyObject
*resultobj
= 0;
40033 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40035 wxString
*arg3
= 0 ;
40040 bool temp3
= false ;
40041 PyObject
* obj0
= 0 ;
40042 PyObject
* obj1
= 0 ;
40043 PyObject
* obj2
= 0 ;
40044 char * kwnames
[] = {
40045 (char *) "self",(char *) "id",(char *) "text", NULL
40048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40050 if (!SWIG_IsOK(res1
)) {
40051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40053 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40055 if (!SWIG_IsOK(ecode2
)) {
40056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40058 arg2
= static_cast< int >(val2
);
40060 arg3
= wxString_in_helper(obj2
);
40061 if (arg3
== NULL
) SWIG_fail
;
40065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40066 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40067 wxPyEndAllowThreads(__tstate
);
40068 if (PyErr_Occurred()) SWIG_fail
;
40070 resultobj
= SWIG_Py_Void();
40085 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40086 PyObject
*resultobj
= 0;
40087 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40088 wxWindow
*arg2
= (wxWindow
*) 0 ;
40093 PyObject
* obj0
= 0 ;
40094 PyObject
* obj1
= 0 ;
40095 char * kwnames
[] = {
40096 (char *) "self",(char *) "window", NULL
40099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40101 if (!SWIG_IsOK(res1
)) {
40102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40104 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40106 if (!SWIG_IsOK(res2
)) {
40107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40109 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40112 (arg1
)->RemoveHelp(arg2
);
40113 wxPyEndAllowThreads(__tstate
);
40114 if (PyErr_Occurred()) SWIG_fail
;
40116 resultobj
= SWIG_Py_Void();
40123 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40124 PyObject
*resultobj
= 0;
40125 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40128 PyObject
*swig_obj
[1] ;
40130 if (!args
) SWIG_fail
;
40131 swig_obj
[0] = args
;
40132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40133 if (!SWIG_IsOK(res1
)) {
40134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40136 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 wxHelpProvider_Destroy(arg1
);
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40143 resultobj
= SWIG_Py_Void();
40150 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40153 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40154 return SWIG_Py_Void();
40157 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40158 PyObject
*resultobj
= 0;
40159 wxSimpleHelpProvider
*result
= 0 ;
40161 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40164 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40165 wxPyEndAllowThreads(__tstate
);
40166 if (PyErr_Occurred()) SWIG_fail
;
40168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40175 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40178 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40179 return SWIG_Py_Void();
40182 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40183 return SWIG_Python_InitShadowInstance(args
);
40186 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40187 PyObject
*resultobj
= 0;
40188 wxBitmap
*arg1
= 0 ;
40189 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40190 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40191 wxGenericDragImage
*result
= 0 ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 char * kwnames
[] = {
40199 (char *) "image",(char *) "cursor", NULL
40202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40203 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40204 if (!SWIG_IsOK(res1
)) {
40205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40213 if (!SWIG_IsOK(res2
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40219 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40222 if (!wxPyCheckForApp()) SWIG_fail
;
40223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40224 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40225 wxPyEndAllowThreads(__tstate
);
40226 if (PyErr_Occurred()) SWIG_fail
;
40228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40235 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40236 PyObject
*resultobj
= 0;
40238 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40239 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40240 wxGenericDragImage
*result
= 0 ;
40245 PyObject
* obj0
= 0 ;
40246 PyObject
* obj1
= 0 ;
40247 char * kwnames
[] = {
40248 (char *) "image",(char *) "cursor", NULL
40251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40252 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40253 if (!SWIG_IsOK(res1
)) {
40254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40259 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40262 if (!SWIG_IsOK(res2
)) {
40263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40268 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40271 if (!wxPyCheckForApp()) SWIG_fail
;
40272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40273 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40274 wxPyEndAllowThreads(__tstate
);
40275 if (PyErr_Occurred()) SWIG_fail
;
40277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40284 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40285 PyObject
*resultobj
= 0;
40286 wxString
*arg1
= 0 ;
40287 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40288 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40289 wxGenericDragImage
*result
= 0 ;
40290 bool temp1
= false ;
40293 PyObject
* obj0
= 0 ;
40294 PyObject
* obj1
= 0 ;
40295 char * kwnames
[] = {
40296 (char *) "str",(char *) "cursor", NULL
40299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40301 arg1
= wxString_in_helper(obj0
);
40302 if (arg1
== NULL
) SWIG_fail
;
40306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40307 if (!SWIG_IsOK(res2
)) {
40308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40313 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40316 if (!wxPyCheckForApp()) SWIG_fail
;
40317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40318 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40319 wxPyEndAllowThreads(__tstate
);
40320 if (PyErr_Occurred()) SWIG_fail
;
40322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40337 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40338 PyObject
*resultobj
= 0;
40339 wxPyTreeCtrl
*arg1
= 0 ;
40340 wxTreeItemId
*arg2
= 0 ;
40341 wxGenericDragImage
*result
= 0 ;
40346 PyObject
* obj0
= 0 ;
40347 PyObject
* obj1
= 0 ;
40348 char * kwnames
[] = {
40349 (char *) "treeCtrl",(char *) "id", NULL
40352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40353 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40354 if (!SWIG_IsOK(res1
)) {
40355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40360 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40362 if (!SWIG_IsOK(res2
)) {
40363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40368 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40370 if (!wxPyCheckForApp()) SWIG_fail
;
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40373 wxPyEndAllowThreads(__tstate
);
40374 if (PyErr_Occurred()) SWIG_fail
;
40376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40383 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40384 PyObject
*resultobj
= 0;
40385 wxPyListCtrl
*arg1
= 0 ;
40387 wxGenericDragImage
*result
= 0 ;
40392 PyObject
* obj0
= 0 ;
40393 PyObject
* obj1
= 0 ;
40394 char * kwnames
[] = {
40395 (char *) "listCtrl",(char *) "id", NULL
40398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40399 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40400 if (!SWIG_IsOK(res1
)) {
40401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40408 if (!SWIG_IsOK(ecode2
)) {
40409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40411 arg2
= static_cast< long >(val2
);
40413 if (!wxPyCheckForApp()) SWIG_fail
;
40414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40415 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40416 wxPyEndAllowThreads(__tstate
);
40417 if (PyErr_Occurred()) SWIG_fail
;
40419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40426 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40427 PyObject
*resultobj
= 0;
40428 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40431 PyObject
*swig_obj
[1] ;
40433 if (!args
) SWIG_fail
;
40434 swig_obj
[0] = args
;
40435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40436 if (!SWIG_IsOK(res1
)) {
40437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40439 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 wxPyEndAllowThreads(__tstate
);
40445 if (PyErr_Occurred()) SWIG_fail
;
40447 resultobj
= SWIG_Py_Void();
40454 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40455 PyObject
*resultobj
= 0;
40456 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40457 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40462 PyObject
* obj0
= 0 ;
40463 PyObject
* obj1
= 0 ;
40464 char * kwnames
[] = {
40465 (char *) "self",(char *) "bitmap", NULL
40468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40470 if (!SWIG_IsOK(res1
)) {
40471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40473 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40475 if (!SWIG_IsOK(res2
)) {
40476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40478 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40481 (arg1
)->SetBackingBitmap(arg2
);
40482 wxPyEndAllowThreads(__tstate
);
40483 if (PyErr_Occurred()) SWIG_fail
;
40485 resultobj
= SWIG_Py_Void();
40492 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40493 PyObject
*resultobj
= 0;
40494 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40495 wxPoint
*arg2
= 0 ;
40496 wxWindow
*arg3
= (wxWindow
*) 0 ;
40497 bool arg4
= (bool) false ;
40498 wxRect
*arg5
= (wxRect
*) NULL
;
40509 PyObject
* obj0
= 0 ;
40510 PyObject
* obj1
= 0 ;
40511 PyObject
* obj2
= 0 ;
40512 PyObject
* obj3
= 0 ;
40513 PyObject
* obj4
= 0 ;
40514 char * kwnames
[] = {
40515 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40520 if (!SWIG_IsOK(res1
)) {
40521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40523 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40528 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40529 if (!SWIG_IsOK(res3
)) {
40530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40532 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40534 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40535 if (!SWIG_IsOK(ecode4
)) {
40536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40538 arg4
= static_cast< bool >(val4
);
40541 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40542 if (!SWIG_IsOK(res5
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40545 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40549 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40550 wxPyEndAllowThreads(__tstate
);
40551 if (PyErr_Occurred()) SWIG_fail
;
40554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40562 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40563 PyObject
*resultobj
= 0;
40564 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40565 wxPoint
*arg2
= 0 ;
40566 wxWindow
*arg3
= (wxWindow
*) 0 ;
40567 wxWindow
*arg4
= (wxWindow
*) 0 ;
40576 PyObject
* obj0
= 0 ;
40577 PyObject
* obj1
= 0 ;
40578 PyObject
* obj2
= 0 ;
40579 PyObject
* obj3
= 0 ;
40580 char * kwnames
[] = {
40581 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40586 if (!SWIG_IsOK(res1
)) {
40587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40589 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40594 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40595 if (!SWIG_IsOK(res3
)) {
40596 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40598 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40599 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40600 if (!SWIG_IsOK(res4
)) {
40601 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40603 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40606 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40607 wxPyEndAllowThreads(__tstate
);
40608 if (PyErr_Occurred()) SWIG_fail
;
40611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40619 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40620 PyObject
*resultobj
= 0;
40621 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40625 PyObject
*swig_obj
[1] ;
40627 if (!args
) SWIG_fail
;
40628 swig_obj
[0] = args
;
40629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40630 if (!SWIG_IsOK(res1
)) {
40631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40633 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40636 result
= (bool)(arg1
)->EndDrag();
40637 wxPyEndAllowThreads(__tstate
);
40638 if (PyErr_Occurred()) SWIG_fail
;
40641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40649 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40650 PyObject
*resultobj
= 0;
40651 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40652 wxPoint
*arg2
= 0 ;
40657 PyObject
* obj0
= 0 ;
40658 PyObject
* obj1
= 0 ;
40659 char * kwnames
[] = {
40660 (char *) "self",(char *) "pt", NULL
40663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40665 if (!SWIG_IsOK(res1
)) {
40666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40668 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40675 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40676 wxPyEndAllowThreads(__tstate
);
40677 if (PyErr_Occurred()) SWIG_fail
;
40680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40688 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40689 PyObject
*resultobj
= 0;
40690 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40694 PyObject
*swig_obj
[1] ;
40696 if (!args
) SWIG_fail
;
40697 swig_obj
[0] = args
;
40698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40699 if (!SWIG_IsOK(res1
)) {
40700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40702 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40705 result
= (bool)(arg1
)->Show();
40706 wxPyEndAllowThreads(__tstate
);
40707 if (PyErr_Occurred()) SWIG_fail
;
40710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40718 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40719 PyObject
*resultobj
= 0;
40720 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40724 PyObject
*swig_obj
[1] ;
40726 if (!args
) SWIG_fail
;
40727 swig_obj
[0] = args
;
40728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40729 if (!SWIG_IsOK(res1
)) {
40730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40732 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40735 result
= (bool)(arg1
)->Hide();
40736 wxPyEndAllowThreads(__tstate
);
40737 if (PyErr_Occurred()) SWIG_fail
;
40740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40748 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40749 PyObject
*resultobj
= 0;
40750 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40751 wxPoint
*arg2
= 0 ;
40756 PyObject
* obj0
= 0 ;
40757 PyObject
* obj1
= 0 ;
40758 char * kwnames
[] = {
40759 (char *) "self",(char *) "pos", NULL
40762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40764 if (!SWIG_IsOK(res1
)) {
40765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40767 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40774 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40775 wxPyEndAllowThreads(__tstate
);
40776 if (PyErr_Occurred()) SWIG_fail
;
40778 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40785 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40786 PyObject
*resultobj
= 0;
40787 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40789 wxPoint
*arg3
= 0 ;
40796 PyObject
* obj0
= 0 ;
40797 PyObject
* obj1
= 0 ;
40798 PyObject
* obj2
= 0 ;
40799 char * kwnames
[] = {
40800 (char *) "self",(char *) "dc",(char *) "pos", NULL
40803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40805 if (!SWIG_IsOK(res1
)) {
40806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40808 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40810 if (!SWIG_IsOK(res2
)) {
40811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40816 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40823 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40824 wxPyEndAllowThreads(__tstate
);
40825 if (PyErr_Occurred()) SWIG_fail
;
40828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40836 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40837 PyObject
*resultobj
= 0;
40838 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40840 wxMemoryDC
*arg3
= 0 ;
40852 PyObject
* obj0
= 0 ;
40853 PyObject
* obj1
= 0 ;
40854 PyObject
* obj2
= 0 ;
40855 PyObject
* obj3
= 0 ;
40856 PyObject
* obj4
= 0 ;
40857 char * kwnames
[] = {
40858 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40863 if (!SWIG_IsOK(res1
)) {
40864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40866 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40868 if (!SWIG_IsOK(res2
)) {
40869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40874 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40875 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40876 if (!SWIG_IsOK(res3
)) {
40877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40882 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40885 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40889 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40893 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40894 wxPyEndAllowThreads(__tstate
);
40895 if (PyErr_Occurred()) SWIG_fail
;
40898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40906 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40907 PyObject
*resultobj
= 0;
40908 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40909 wxPoint
*arg2
= 0 ;
40910 wxPoint
*arg3
= 0 ;
40922 PyObject
* obj0
= 0 ;
40923 PyObject
* obj1
= 0 ;
40924 PyObject
* obj2
= 0 ;
40925 PyObject
* obj3
= 0 ;
40926 PyObject
* obj4
= 0 ;
40927 char * kwnames
[] = {
40928 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40933 if (!SWIG_IsOK(res1
)) {
40934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40936 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40939 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40943 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40945 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40946 if (!SWIG_IsOK(ecode4
)) {
40947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40949 arg4
= static_cast< bool >(val4
);
40950 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40951 if (!SWIG_IsOK(ecode5
)) {
40952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40954 arg5
= static_cast< bool >(val5
);
40956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40957 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40958 wxPyEndAllowThreads(__tstate
);
40959 if (PyErr_Occurred()) SWIG_fail
;
40962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40970 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40973 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40974 return SWIG_Py_Void();
40977 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40978 return SWIG_Python_InitShadowInstance(args
);
40981 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40982 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40987 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40988 PyObject
*pyobj
= 0;
40992 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40994 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41001 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41002 PyObject
*resultobj
= 0;
41003 wxWindow
*arg1
= (wxWindow
*) 0 ;
41004 int arg2
= (int) -1 ;
41005 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41006 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41007 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41008 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41009 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41010 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41011 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41014 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41016 wxDatePickerCtrl
*result
= 0 ;
41029 bool temp8
= false ;
41030 PyObject
* obj0
= 0 ;
41031 PyObject
* obj1
= 0 ;
41032 PyObject
* obj2
= 0 ;
41033 PyObject
* obj3
= 0 ;
41034 PyObject
* obj4
= 0 ;
41035 PyObject
* obj5
= 0 ;
41036 PyObject
* obj6
= 0 ;
41037 PyObject
* obj7
= 0 ;
41038 char * kwnames
[] = {
41039 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41044 if (!SWIG_IsOK(res1
)) {
41045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41050 if (!SWIG_IsOK(ecode2
)) {
41051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41053 arg2
= static_cast< int >(val2
);
41056 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41057 if (!SWIG_IsOK(res3
)) {
41058 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41063 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41078 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41079 if (!SWIG_IsOK(ecode6
)) {
41080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41082 arg6
= static_cast< long >(val6
);
41085 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41086 if (!SWIG_IsOK(res7
)) {
41087 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41092 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41096 arg8
= wxString_in_helper(obj7
);
41097 if (arg8
== NULL
) SWIG_fail
;
41102 if (!wxPyCheckForApp()) SWIG_fail
;
41103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41104 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41105 wxPyEndAllowThreads(__tstate
);
41106 if (PyErr_Occurred()) SWIG_fail
;
41108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41123 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41124 PyObject
*resultobj
= 0;
41125 wxDatePickerCtrl
*result
= 0 ;
41127 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41129 if (!wxPyCheckForApp()) SWIG_fail
;
41130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41131 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41132 wxPyEndAllowThreads(__tstate
);
41133 if (PyErr_Occurred()) SWIG_fail
;
41135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41142 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41143 PyObject
*resultobj
= 0;
41144 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41145 wxWindow
*arg2
= (wxWindow
*) 0 ;
41146 int arg3
= (int) -1 ;
41147 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41148 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41149 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41150 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41151 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41152 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41153 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41154 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41155 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41156 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41157 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41173 bool temp9
= false ;
41174 PyObject
* obj0
= 0 ;
41175 PyObject
* obj1
= 0 ;
41176 PyObject
* obj2
= 0 ;
41177 PyObject
* obj3
= 0 ;
41178 PyObject
* obj4
= 0 ;
41179 PyObject
* obj5
= 0 ;
41180 PyObject
* obj6
= 0 ;
41181 PyObject
* obj7
= 0 ;
41182 PyObject
* obj8
= 0 ;
41183 char * kwnames
[] = {
41184 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41189 if (!SWIG_IsOK(res1
)) {
41190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41192 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41194 if (!SWIG_IsOK(res2
)) {
41195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41197 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41200 if (!SWIG_IsOK(ecode3
)) {
41201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41203 arg3
= static_cast< int >(val3
);
41206 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41207 if (!SWIG_IsOK(res4
)) {
41208 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41213 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41218 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41224 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41228 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41229 if (!SWIG_IsOK(ecode7
)) {
41230 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41232 arg7
= static_cast< long >(val7
);
41235 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41236 if (!SWIG_IsOK(res8
)) {
41237 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41242 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41246 arg9
= wxString_in_helper(obj8
);
41247 if (arg9
== NULL
) SWIG_fail
;
41252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41254 wxPyEndAllowThreads(__tstate
);
41255 if (PyErr_Occurred()) SWIG_fail
;
41258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41274 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41275 PyObject
*resultobj
= 0;
41276 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41277 wxDateTime
*arg2
= 0 ;
41282 PyObject
* obj0
= 0 ;
41283 PyObject
* obj1
= 0 ;
41284 char * kwnames
[] = {
41285 (char *) "self",(char *) "dt", NULL
41288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41290 if (!SWIG_IsOK(res1
)) {
41291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41293 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41295 if (!SWIG_IsOK(res2
)) {
41296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41301 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41304 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41305 wxPyEndAllowThreads(__tstate
);
41306 if (PyErr_Occurred()) SWIG_fail
;
41308 resultobj
= SWIG_Py_Void();
41315 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41316 PyObject
*resultobj
= 0;
41317 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41321 PyObject
*swig_obj
[1] ;
41323 if (!args
) SWIG_fail
;
41324 swig_obj
[0] = args
;
41325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41326 if (!SWIG_IsOK(res1
)) {
41327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41329 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41332 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41333 wxPyEndAllowThreads(__tstate
);
41334 if (PyErr_Occurred()) SWIG_fail
;
41336 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41343 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41344 PyObject
*resultobj
= 0;
41345 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41346 wxDateTime
*arg2
= 0 ;
41347 wxDateTime
*arg3
= 0 ;
41354 PyObject
* obj0
= 0 ;
41355 PyObject
* obj1
= 0 ;
41356 PyObject
* obj2
= 0 ;
41357 char * kwnames
[] = {
41358 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41363 if (!SWIG_IsOK(res1
)) {
41364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41366 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41368 if (!SWIG_IsOK(res2
)) {
41369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41374 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41375 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41376 if (!SWIG_IsOK(res3
)) {
41377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41382 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41385 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41386 wxPyEndAllowThreads(__tstate
);
41387 if (PyErr_Occurred()) SWIG_fail
;
41389 resultobj
= SWIG_Py_Void();
41396 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41397 PyObject
*resultobj
= 0;
41398 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41402 PyObject
*swig_obj
[1] ;
41404 if (!args
) SWIG_fail
;
41405 swig_obj
[0] = args
;
41406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41407 if (!SWIG_IsOK(res1
)) {
41408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41410 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41413 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41414 wxPyEndAllowThreads(__tstate
);
41415 if (PyErr_Occurred()) SWIG_fail
;
41417 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41424 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41425 PyObject
*resultobj
= 0;
41426 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41430 PyObject
*swig_obj
[1] ;
41432 if (!args
) SWIG_fail
;
41433 swig_obj
[0] = args
;
41434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41435 if (!SWIG_IsOK(res1
)) {
41436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41438 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41441 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41442 wxPyEndAllowThreads(__tstate
);
41443 if (PyErr_Occurred()) SWIG_fail
;
41445 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41452 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41455 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41456 return SWIG_Py_Void();
41459 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41460 return SWIG_Python_InitShadowInstance(args
);
41463 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41464 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41469 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41470 PyObject
*pyobj
= 0;
41474 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41476 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41483 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41484 PyObject
*resultobj
= 0;
41485 wxWindow
*arg1
= (wxWindow
*) 0 ;
41487 wxString
*arg3
= 0 ;
41488 wxString
*arg4
= 0 ;
41489 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41490 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41491 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41492 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41493 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41494 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41495 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41496 wxHyperlinkCtrl
*result
= 0 ;
41501 bool temp3
= false ;
41502 bool temp4
= false ;
41507 bool temp8
= false ;
41508 PyObject
* obj0
= 0 ;
41509 PyObject
* obj1
= 0 ;
41510 PyObject
* obj2
= 0 ;
41511 PyObject
* obj3
= 0 ;
41512 PyObject
* obj4
= 0 ;
41513 PyObject
* obj5
= 0 ;
41514 PyObject
* obj6
= 0 ;
41515 PyObject
* obj7
= 0 ;
41516 char * kwnames
[] = {
41517 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41522 if (!SWIG_IsOK(res1
)) {
41523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41527 if (!SWIG_IsOK(ecode2
)) {
41528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41530 arg2
= static_cast< int >(val2
);
41532 arg3
= wxString_in_helper(obj2
);
41533 if (arg3
== NULL
) SWIG_fail
;
41537 arg4
= wxString_in_helper(obj3
);
41538 if (arg4
== NULL
) SWIG_fail
;
41544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41554 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41555 if (!SWIG_IsOK(ecode7
)) {
41556 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41558 arg7
= static_cast< long >(val7
);
41562 arg8
= wxString_in_helper(obj7
);
41563 if (arg8
== NULL
) SWIG_fail
;
41568 if (!wxPyCheckForApp()) SWIG_fail
;
41569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41570 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41571 wxPyEndAllowThreads(__tstate
);
41572 if (PyErr_Occurred()) SWIG_fail
;
41574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41605 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41606 PyObject
*resultobj
= 0;
41607 wxHyperlinkCtrl
*result
= 0 ;
41609 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41611 if (!wxPyCheckForApp()) SWIG_fail
;
41612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41613 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41614 wxPyEndAllowThreads(__tstate
);
41615 if (PyErr_Occurred()) SWIG_fail
;
41617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41624 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41625 PyObject
*resultobj
= 0;
41626 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41627 wxWindow
*arg2
= (wxWindow
*) 0 ;
41629 wxString
*arg4
= 0 ;
41630 wxString
*arg5
= 0 ;
41631 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41632 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41633 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41634 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41635 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41636 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41637 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41645 bool temp4
= false ;
41646 bool temp5
= false ;
41651 bool temp9
= false ;
41652 PyObject
* obj0
= 0 ;
41653 PyObject
* obj1
= 0 ;
41654 PyObject
* obj2
= 0 ;
41655 PyObject
* obj3
= 0 ;
41656 PyObject
* obj4
= 0 ;
41657 PyObject
* obj5
= 0 ;
41658 PyObject
* obj6
= 0 ;
41659 PyObject
* obj7
= 0 ;
41660 PyObject
* obj8
= 0 ;
41661 char * kwnames
[] = {
41662 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41667 if (!SWIG_IsOK(res1
)) {
41668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41670 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41672 if (!SWIG_IsOK(res2
)) {
41673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41677 if (!SWIG_IsOK(ecode3
)) {
41678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41680 arg3
= static_cast< int >(val3
);
41682 arg4
= wxString_in_helper(obj3
);
41683 if (arg4
== NULL
) SWIG_fail
;
41687 arg5
= wxString_in_helper(obj4
);
41688 if (arg5
== NULL
) SWIG_fail
;
41694 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41700 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41704 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41705 if (!SWIG_IsOK(ecode8
)) {
41706 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41708 arg8
= static_cast< long >(val8
);
41712 arg9
= wxString_in_helper(obj8
);
41713 if (arg9
== NULL
) SWIG_fail
;
41718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41720 wxPyEndAllowThreads(__tstate
);
41721 if (PyErr_Occurred()) SWIG_fail
;
41724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41756 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41757 PyObject
*resultobj
= 0;
41758 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41762 PyObject
*swig_obj
[1] ;
41764 if (!args
) SWIG_fail
;
41765 swig_obj
[0] = args
;
41766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41767 if (!SWIG_IsOK(res1
)) {
41768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41770 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41773 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41774 wxPyEndAllowThreads(__tstate
);
41775 if (PyErr_Occurred()) SWIG_fail
;
41777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41784 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41785 PyObject
*resultobj
= 0;
41786 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41787 wxColour
*arg2
= 0 ;
41791 PyObject
* obj0
= 0 ;
41792 PyObject
* obj1
= 0 ;
41793 char * kwnames
[] = {
41794 (char *) "self",(char *) "colour", NULL
41797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41799 if (!SWIG_IsOK(res1
)) {
41800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41802 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41809 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41810 wxPyEndAllowThreads(__tstate
);
41811 if (PyErr_Occurred()) SWIG_fail
;
41813 resultobj
= SWIG_Py_Void();
41820 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41821 PyObject
*resultobj
= 0;
41822 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41826 PyObject
*swig_obj
[1] ;
41828 if (!args
) SWIG_fail
;
41829 swig_obj
[0] = args
;
41830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41831 if (!SWIG_IsOK(res1
)) {
41832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41834 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41837 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41838 wxPyEndAllowThreads(__tstate
);
41839 if (PyErr_Occurred()) SWIG_fail
;
41841 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41848 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41849 PyObject
*resultobj
= 0;
41850 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41851 wxColour
*arg2
= 0 ;
41855 PyObject
* obj0
= 0 ;
41856 PyObject
* obj1
= 0 ;
41857 char * kwnames
[] = {
41858 (char *) "self",(char *) "colour", NULL
41861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41863 if (!SWIG_IsOK(res1
)) {
41864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41866 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41869 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41873 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41874 wxPyEndAllowThreads(__tstate
);
41875 if (PyErr_Occurred()) SWIG_fail
;
41877 resultobj
= SWIG_Py_Void();
41884 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41885 PyObject
*resultobj
= 0;
41886 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41890 PyObject
*swig_obj
[1] ;
41892 if (!args
) SWIG_fail
;
41893 swig_obj
[0] = args
;
41894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41895 if (!SWIG_IsOK(res1
)) {
41896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41898 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41901 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41902 wxPyEndAllowThreads(__tstate
);
41903 if (PyErr_Occurred()) SWIG_fail
;
41905 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41912 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41913 PyObject
*resultobj
= 0;
41914 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41915 wxColour
*arg2
= 0 ;
41919 PyObject
* obj0
= 0 ;
41920 PyObject
* obj1
= 0 ;
41921 char * kwnames
[] = {
41922 (char *) "self",(char *) "colour", NULL
41925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41927 if (!SWIG_IsOK(res1
)) {
41928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41930 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41937 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41938 wxPyEndAllowThreads(__tstate
);
41939 if (PyErr_Occurred()) SWIG_fail
;
41941 resultobj
= SWIG_Py_Void();
41948 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41949 PyObject
*resultobj
= 0;
41950 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41954 PyObject
*swig_obj
[1] ;
41956 if (!args
) SWIG_fail
;
41957 swig_obj
[0] = args
;
41958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41959 if (!SWIG_IsOK(res1
)) {
41960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41962 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41965 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41966 wxPyEndAllowThreads(__tstate
);
41967 if (PyErr_Occurred()) SWIG_fail
;
41971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41982 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41983 PyObject
*resultobj
= 0;
41984 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41985 wxString
*arg2
= 0 ;
41988 bool temp2
= false ;
41989 PyObject
* obj0
= 0 ;
41990 PyObject
* obj1
= 0 ;
41991 char * kwnames
[] = {
41992 (char *) "self",(char *) "url", NULL
41995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41997 if (!SWIG_IsOK(res1
)) {
41998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42000 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42002 arg2
= wxString_in_helper(obj1
);
42003 if (arg2
== NULL
) SWIG_fail
;
42007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42008 (arg1
)->SetURL((wxString
const &)*arg2
);
42009 wxPyEndAllowThreads(__tstate
);
42010 if (PyErr_Occurred()) SWIG_fail
;
42012 resultobj
= SWIG_Py_Void();
42027 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42028 PyObject
*resultobj
= 0;
42029 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42030 bool arg2
= (bool) true ;
42035 PyObject
* obj0
= 0 ;
42036 PyObject
* obj1
= 0 ;
42037 char * kwnames
[] = {
42038 (char *) "self",(char *) "visited", NULL
42041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42043 if (!SWIG_IsOK(res1
)) {
42044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42046 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42048 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42049 if (!SWIG_IsOK(ecode2
)) {
42050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42052 arg2
= static_cast< bool >(val2
);
42055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42056 (arg1
)->SetVisited(arg2
);
42057 wxPyEndAllowThreads(__tstate
);
42058 if (PyErr_Occurred()) SWIG_fail
;
42060 resultobj
= SWIG_Py_Void();
42067 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42068 PyObject
*resultobj
= 0;
42069 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42073 PyObject
*swig_obj
[1] ;
42075 if (!args
) SWIG_fail
;
42076 swig_obj
[0] = args
;
42077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42078 if (!SWIG_IsOK(res1
)) {
42079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42081 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42085 wxPyEndAllowThreads(__tstate
);
42086 if (PyErr_Occurred()) SWIG_fail
;
42089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42097 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42100 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42101 return SWIG_Py_Void();
42104 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42105 return SWIG_Python_InitShadowInstance(args
);
42108 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42109 PyObject
*resultobj
= 0;
42110 wxObject
*arg1
= (wxObject
*) 0 ;
42112 wxString
*arg3
= 0 ;
42113 wxHyperlinkEvent
*result
= 0 ;
42118 bool temp3
= false ;
42119 PyObject
* obj0
= 0 ;
42120 PyObject
* obj1
= 0 ;
42121 PyObject
* obj2
= 0 ;
42122 char * kwnames
[] = {
42123 (char *) "generator",(char *) "id",(char *) "url", NULL
42126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42128 if (!SWIG_IsOK(res1
)) {
42129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42131 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42133 if (!SWIG_IsOK(ecode2
)) {
42134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42136 arg2
= static_cast< int >(val2
);
42138 arg3
= wxString_in_helper(obj2
);
42139 if (arg3
== NULL
) SWIG_fail
;
42143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42144 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42163 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42164 PyObject
*resultobj
= 0;
42165 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42169 PyObject
*swig_obj
[1] ;
42171 if (!args
) SWIG_fail
;
42172 swig_obj
[0] = args
;
42173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42174 if (!SWIG_IsOK(res1
)) {
42175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42177 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42180 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42181 wxPyEndAllowThreads(__tstate
);
42182 if (PyErr_Occurred()) SWIG_fail
;
42186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42197 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42198 PyObject
*resultobj
= 0;
42199 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42200 wxString
*arg2
= 0 ;
42203 bool temp2
= false ;
42204 PyObject
* obj0
= 0 ;
42205 PyObject
* obj1
= 0 ;
42206 char * kwnames
[] = {
42207 (char *) "self",(char *) "url", NULL
42210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42212 if (!SWIG_IsOK(res1
)) {
42213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42215 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42217 arg2
= wxString_in_helper(obj1
);
42218 if (arg2
== NULL
) SWIG_fail
;
42222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42223 (arg1
)->SetURL((wxString
const &)*arg2
);
42224 wxPyEndAllowThreads(__tstate
);
42225 if (PyErr_Occurred()) SWIG_fail
;
42227 resultobj
= SWIG_Py_Void();
42242 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42245 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42246 return SWIG_Py_Void();
42249 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42250 return SWIG_Python_InitShadowInstance(args
);
42253 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42254 PyObject
*resultobj
= 0;
42255 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42256 wxWindow
*arg2
= (wxWindow
*) 0 ;
42258 wxString
const &arg4_defvalue
= wxEmptyString
;
42259 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42260 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42261 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42262 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42263 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42264 long arg7
= (long) 0 ;
42265 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42266 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42267 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42268 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42276 bool temp4
= false ;
42283 bool temp9
= false ;
42284 PyObject
* obj0
= 0 ;
42285 PyObject
* obj1
= 0 ;
42286 PyObject
* obj2
= 0 ;
42287 PyObject
* obj3
= 0 ;
42288 PyObject
* obj4
= 0 ;
42289 PyObject
* obj5
= 0 ;
42290 PyObject
* obj6
= 0 ;
42291 PyObject
* obj7
= 0 ;
42292 PyObject
* obj8
= 0 ;
42293 char * kwnames
[] = {
42294 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42299 if (!SWIG_IsOK(res1
)) {
42300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42302 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42304 if (!SWIG_IsOK(res2
)) {
42305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42309 if (!SWIG_IsOK(ecode3
)) {
42310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42312 arg3
= static_cast< int >(val3
);
42315 arg4
= wxString_in_helper(obj3
);
42316 if (arg4
== NULL
) SWIG_fail
;
42323 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42329 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42333 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42334 if (!SWIG_IsOK(ecode7
)) {
42335 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42337 arg7
= static_cast< long >(val7
);
42340 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42341 if (!SWIG_IsOK(res8
)) {
42342 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42347 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42351 arg9
= wxString_in_helper(obj8
);
42352 if (arg9
== NULL
) SWIG_fail
;
42357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42358 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42359 wxPyEndAllowThreads(__tstate
);
42360 if (PyErr_Occurred()) SWIG_fail
;
42363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42387 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42388 PyObject
*resultobj
= 0;
42389 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42395 PyObject
* obj0
= 0 ;
42396 PyObject
* obj1
= 0 ;
42397 char * kwnames
[] = {
42398 (char *) "self",(char *) "newmargin", NULL
42401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42403 if (!SWIG_IsOK(res1
)) {
42404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42406 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42408 if (!SWIG_IsOK(ecode2
)) {
42409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42411 arg2
= static_cast< int >(val2
);
42413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42414 (arg1
)->SetInternalMargin(arg2
);
42415 wxPyEndAllowThreads(__tstate
);
42416 if (PyErr_Occurred()) SWIG_fail
;
42418 resultobj
= SWIG_Py_Void();
42425 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42426 PyObject
*resultobj
= 0;
42427 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42431 PyObject
*swig_obj
[1] ;
42433 if (!args
) SWIG_fail
;
42434 swig_obj
[0] = args
;
42435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42436 if (!SWIG_IsOK(res1
)) {
42437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42439 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42442 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42443 wxPyEndAllowThreads(__tstate
);
42444 if (PyErr_Occurred()) SWIG_fail
;
42446 resultobj
= SWIG_From_int(static_cast< int >(result
));
42453 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42454 PyObject
*resultobj
= 0;
42455 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42461 PyObject
* obj0
= 0 ;
42462 PyObject
* obj1
= 0 ;
42463 char * kwnames
[] = {
42464 (char *) "self",(char *) "prop", NULL
42467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42469 if (!SWIG_IsOK(res1
)) {
42470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42472 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42474 if (!SWIG_IsOK(ecode2
)) {
42475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42477 arg2
= static_cast< int >(val2
);
42479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42480 (arg1
)->SetTextCtrlProportion(arg2
);
42481 wxPyEndAllowThreads(__tstate
);
42482 if (PyErr_Occurred()) SWIG_fail
;
42484 resultobj
= SWIG_Py_Void();
42491 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42492 PyObject
*resultobj
= 0;
42493 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42497 PyObject
*swig_obj
[1] ;
42499 if (!args
) SWIG_fail
;
42500 swig_obj
[0] = args
;
42501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42502 if (!SWIG_IsOK(res1
)) {
42503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42505 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42508 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42509 wxPyEndAllowThreads(__tstate
);
42510 if (PyErr_Occurred()) SWIG_fail
;
42512 resultobj
= SWIG_From_int(static_cast< int >(result
));
42519 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42520 PyObject
*resultobj
= 0;
42521 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42527 PyObject
* obj0
= 0 ;
42528 PyObject
* obj1
= 0 ;
42529 char * kwnames
[] = {
42530 (char *) "self",(char *) "prop", NULL
42533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42535 if (!SWIG_IsOK(res1
)) {
42536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42538 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42540 if (!SWIG_IsOK(ecode2
)) {
42541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42543 arg2
= static_cast< int >(val2
);
42545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42546 (arg1
)->SetPickerCtrlProportion(arg2
);
42547 wxPyEndAllowThreads(__tstate
);
42548 if (PyErr_Occurred()) SWIG_fail
;
42550 resultobj
= SWIG_Py_Void();
42557 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42558 PyObject
*resultobj
= 0;
42559 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42563 PyObject
*swig_obj
[1] ;
42565 if (!args
) SWIG_fail
;
42566 swig_obj
[0] = args
;
42567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42568 if (!SWIG_IsOK(res1
)) {
42569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42571 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42574 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42575 wxPyEndAllowThreads(__tstate
);
42576 if (PyErr_Occurred()) SWIG_fail
;
42578 resultobj
= SWIG_From_int(static_cast< int >(result
));
42585 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42586 PyObject
*resultobj
= 0;
42587 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42591 PyObject
*swig_obj
[1] ;
42593 if (!args
) SWIG_fail
;
42594 swig_obj
[0] = args
;
42595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42596 if (!SWIG_IsOK(res1
)) {
42597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42599 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42602 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42603 wxPyEndAllowThreads(__tstate
);
42604 if (PyErr_Occurred()) SWIG_fail
;
42607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42615 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42616 PyObject
*resultobj
= 0;
42617 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42618 bool arg2
= (bool) true ;
42623 PyObject
* obj0
= 0 ;
42624 PyObject
* obj1
= 0 ;
42625 char * kwnames
[] = {
42626 (char *) "self",(char *) "grow", NULL
42629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42631 if (!SWIG_IsOK(res1
)) {
42632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42634 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42637 if (!SWIG_IsOK(ecode2
)) {
42638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42640 arg2
= static_cast< bool >(val2
);
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 (arg1
)->SetTextCtrlGrowable(arg2
);
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42648 resultobj
= SWIG_Py_Void();
42655 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42656 PyObject
*resultobj
= 0;
42657 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42661 PyObject
*swig_obj
[1] ;
42663 if (!args
) SWIG_fail
;
42664 swig_obj
[0] = args
;
42665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42666 if (!SWIG_IsOK(res1
)) {
42667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42669 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42672 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42673 wxPyEndAllowThreads(__tstate
);
42674 if (PyErr_Occurred()) SWIG_fail
;
42677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42685 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42686 PyObject
*resultobj
= 0;
42687 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42688 bool arg2
= (bool) true ;
42693 PyObject
* obj0
= 0 ;
42694 PyObject
* obj1
= 0 ;
42695 char * kwnames
[] = {
42696 (char *) "self",(char *) "grow", NULL
42699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42701 if (!SWIG_IsOK(res1
)) {
42702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42704 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42707 if (!SWIG_IsOK(ecode2
)) {
42708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42710 arg2
= static_cast< bool >(val2
);
42713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42714 (arg1
)->SetPickerCtrlGrowable(arg2
);
42715 wxPyEndAllowThreads(__tstate
);
42716 if (PyErr_Occurred()) SWIG_fail
;
42718 resultobj
= SWIG_Py_Void();
42725 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42726 PyObject
*resultobj
= 0;
42727 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42731 PyObject
*swig_obj
[1] ;
42733 if (!args
) SWIG_fail
;
42734 swig_obj
[0] = args
;
42735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42736 if (!SWIG_IsOK(res1
)) {
42737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42739 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42742 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42743 wxPyEndAllowThreads(__tstate
);
42744 if (PyErr_Occurred()) SWIG_fail
;
42747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42755 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42756 PyObject
*resultobj
= 0;
42757 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42758 wxTextCtrl
*result
= 0 ;
42761 PyObject
*swig_obj
[1] ;
42763 if (!args
) SWIG_fail
;
42764 swig_obj
[0] = args
;
42765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42766 if (!SWIG_IsOK(res1
)) {
42767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42769 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42772 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42773 wxPyEndAllowThreads(__tstate
);
42774 if (PyErr_Occurred()) SWIG_fail
;
42777 resultobj
= wxPyMake_wxObject(result
, 0);
42785 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42786 PyObject
*resultobj
= 0;
42787 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42788 wxControl
*result
= 0 ;
42791 PyObject
*swig_obj
[1] ;
42793 if (!args
) SWIG_fail
;
42794 swig_obj
[0] = args
;
42795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42796 if (!SWIG_IsOK(res1
)) {
42797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42799 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42802 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42803 wxPyEndAllowThreads(__tstate
);
42804 if (PyErr_Occurred()) SWIG_fail
;
42807 resultobj
= wxPyMake_wxObject(result
, 0);
42815 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42819 return SWIG_Py_Void();
42822 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42823 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42828 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42829 PyObject
*pyobj
= 0;
42833 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42835 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42842 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42843 PyObject
*resultobj
= 0;
42844 wxWindow
*arg1
= (wxWindow
*) 0 ;
42845 int arg2
= (int) -1 ;
42846 wxColour
const &arg3_defvalue
= *wxBLACK
;
42847 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42850 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42851 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42852 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42853 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42854 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42855 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42856 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42857 wxColourPickerCtrl
*result
= 0 ;
42869 bool temp8
= false ;
42870 PyObject
* obj0
= 0 ;
42871 PyObject
* obj1
= 0 ;
42872 PyObject
* obj2
= 0 ;
42873 PyObject
* obj3
= 0 ;
42874 PyObject
* obj4
= 0 ;
42875 PyObject
* obj5
= 0 ;
42876 PyObject
* obj6
= 0 ;
42877 PyObject
* obj7
= 0 ;
42878 char * kwnames
[] = {
42879 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42884 if (!SWIG_IsOK(res1
)) {
42885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42887 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42890 if (!SWIG_IsOK(ecode2
)) {
42891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42893 arg2
= static_cast< int >(val2
);
42898 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42915 if (!SWIG_IsOK(ecode6
)) {
42916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42918 arg6
= static_cast< long >(val6
);
42921 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42922 if (!SWIG_IsOK(res7
)) {
42923 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42928 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42932 arg8
= wxString_in_helper(obj7
);
42933 if (arg8
== NULL
) SWIG_fail
;
42938 if (!wxPyCheckForApp()) SWIG_fail
;
42939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42940 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42941 wxPyEndAllowThreads(__tstate
);
42942 if (PyErr_Occurred()) SWIG_fail
;
42944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42959 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42960 PyObject
*resultobj
= 0;
42961 wxColourPickerCtrl
*result
= 0 ;
42963 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42965 if (!wxPyCheckForApp()) SWIG_fail
;
42966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42967 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42968 wxPyEndAllowThreads(__tstate
);
42969 if (PyErr_Occurred()) SWIG_fail
;
42971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42978 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42979 PyObject
*resultobj
= 0;
42980 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42981 wxWindow
*arg2
= (wxWindow
*) 0 ;
42983 wxColour
const &arg4_defvalue
= *wxBLACK
;
42984 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42985 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42986 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42987 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42988 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42989 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42990 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42991 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42992 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42993 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43008 bool temp9
= false ;
43009 PyObject
* obj0
= 0 ;
43010 PyObject
* obj1
= 0 ;
43011 PyObject
* obj2
= 0 ;
43012 PyObject
* obj3
= 0 ;
43013 PyObject
* obj4
= 0 ;
43014 PyObject
* obj5
= 0 ;
43015 PyObject
* obj6
= 0 ;
43016 PyObject
* obj7
= 0 ;
43017 PyObject
* obj8
= 0 ;
43018 char * kwnames
[] = {
43019 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43024 if (!SWIG_IsOK(res1
)) {
43025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43027 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43029 if (!SWIG_IsOK(res2
)) {
43030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43034 if (!SWIG_IsOK(ecode3
)) {
43035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43037 arg3
= static_cast< int >(val3
);
43041 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43047 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43053 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43057 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43058 if (!SWIG_IsOK(ecode7
)) {
43059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43061 arg7
= static_cast< long >(val7
);
43064 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43065 if (!SWIG_IsOK(res8
)) {
43066 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43071 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43075 arg9
= wxString_in_helper(obj8
);
43076 if (arg9
== NULL
) SWIG_fail
;
43081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43083 wxPyEndAllowThreads(__tstate
);
43084 if (PyErr_Occurred()) SWIG_fail
;
43087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43103 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43104 PyObject
*resultobj
= 0;
43105 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43109 PyObject
*swig_obj
[1] ;
43111 if (!args
) SWIG_fail
;
43112 swig_obj
[0] = args
;
43113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43114 if (!SWIG_IsOK(res1
)) {
43115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43117 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43120 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43121 wxPyEndAllowThreads(__tstate
);
43122 if (PyErr_Occurred()) SWIG_fail
;
43124 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43131 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43132 PyObject
*resultobj
= 0;
43133 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43134 wxColour
*arg2
= 0 ;
43138 PyObject
* obj0
= 0 ;
43139 PyObject
* obj1
= 0 ;
43140 char * kwnames
[] = {
43141 (char *) "self",(char *) "col", NULL
43144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43146 if (!SWIG_IsOK(res1
)) {
43147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43149 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43156 (arg1
)->SetColour((wxColour
const &)*arg2
);
43157 wxPyEndAllowThreads(__tstate
);
43158 if (PyErr_Occurred()) SWIG_fail
;
43160 resultobj
= SWIG_Py_Void();
43167 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43170 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43171 return SWIG_Py_Void();
43174 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43175 return SWIG_Python_InitShadowInstance(args
);
43178 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43179 PyObject
*resultobj
= 0;
43180 wxObject
*arg1
= (wxObject
*) 0 ;
43182 wxColour
*arg3
= 0 ;
43183 wxColourPickerEvent
*result
= 0 ;
43189 PyObject
* obj0
= 0 ;
43190 PyObject
* obj1
= 0 ;
43191 PyObject
* obj2
= 0 ;
43192 char * kwnames
[] = {
43193 (char *) "generator",(char *) "id",(char *) "col", NULL
43196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43198 if (!SWIG_IsOK(res1
)) {
43199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43201 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43203 if (!SWIG_IsOK(ecode2
)) {
43204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43206 arg2
= static_cast< int >(val2
);
43209 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43213 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43214 wxPyEndAllowThreads(__tstate
);
43215 if (PyErr_Occurred()) SWIG_fail
;
43217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43224 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43225 PyObject
*resultobj
= 0;
43226 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43230 PyObject
*swig_obj
[1] ;
43232 if (!args
) SWIG_fail
;
43233 swig_obj
[0] = args
;
43234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43235 if (!SWIG_IsOK(res1
)) {
43236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43238 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43241 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43242 wxPyEndAllowThreads(__tstate
);
43243 if (PyErr_Occurred()) SWIG_fail
;
43245 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43252 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43253 PyObject
*resultobj
= 0;
43254 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43255 wxColour
*arg2
= 0 ;
43259 PyObject
* obj0
= 0 ;
43260 PyObject
* obj1
= 0 ;
43261 char * kwnames
[] = {
43262 (char *) "self",(char *) "c", NULL
43265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43267 if (!SWIG_IsOK(res1
)) {
43268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43270 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43273 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43277 (arg1
)->SetColour((wxColour
const &)*arg2
);
43278 wxPyEndAllowThreads(__tstate
);
43279 if (PyErr_Occurred()) SWIG_fail
;
43281 resultobj
= SWIG_Py_Void();
43288 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43291 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43292 return SWIG_Py_Void();
43295 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43296 return SWIG_Python_InitShadowInstance(args
);
43299 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43300 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43305 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43306 PyObject
*pyobj
= 0;
43310 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43312 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43319 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43320 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43325 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43326 PyObject
*pyobj
= 0;
43330 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43332 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43339 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43340 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43345 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43346 PyObject
*pyobj
= 0;
43350 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43352 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43359 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43360 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43365 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43366 PyObject
*pyobj
= 0;
43370 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43372 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43379 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43380 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43385 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43386 PyObject
*pyobj
= 0;
43390 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43392 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43399 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43400 PyObject
*resultobj
= 0;
43401 wxWindow
*arg1
= (wxWindow
*) 0 ;
43402 int arg2
= (int) -1 ;
43403 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43404 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43405 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43406 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43407 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43408 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43409 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43410 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43411 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43412 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43413 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43414 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43415 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43416 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43417 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43418 wxFilePickerCtrl
*result
= 0 ;
43423 bool temp3
= false ;
43424 bool temp4
= false ;
43425 bool temp5
= false ;
43432 bool temp10
= false ;
43433 PyObject
* obj0
= 0 ;
43434 PyObject
* obj1
= 0 ;
43435 PyObject
* obj2
= 0 ;
43436 PyObject
* obj3
= 0 ;
43437 PyObject
* obj4
= 0 ;
43438 PyObject
* obj5
= 0 ;
43439 PyObject
* obj6
= 0 ;
43440 PyObject
* obj7
= 0 ;
43441 PyObject
* obj8
= 0 ;
43442 PyObject
* obj9
= 0 ;
43443 char * kwnames
[] = {
43444 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43449 if (!SWIG_IsOK(res1
)) {
43450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43455 if (!SWIG_IsOK(ecode2
)) {
43456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43458 arg2
= static_cast< int >(val2
);
43462 arg3
= wxString_in_helper(obj2
);
43463 if (arg3
== NULL
) SWIG_fail
;
43469 arg4
= wxString_in_helper(obj3
);
43470 if (arg4
== NULL
) SWIG_fail
;
43476 arg5
= wxString_in_helper(obj4
);
43477 if (arg5
== NULL
) SWIG_fail
;
43484 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43490 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43494 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43495 if (!SWIG_IsOK(ecode8
)) {
43496 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43498 arg8
= static_cast< long >(val8
);
43501 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43502 if (!SWIG_IsOK(res9
)) {
43503 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43508 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43512 arg10
= wxString_in_helper(obj9
);
43513 if (arg10
== NULL
) SWIG_fail
;
43518 if (!wxPyCheckForApp()) SWIG_fail
;
43519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43520 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
);
43521 wxPyEndAllowThreads(__tstate
);
43522 if (PyErr_Occurred()) SWIG_fail
;
43524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43563 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43564 PyObject
*resultobj
= 0;
43565 wxFilePickerCtrl
*result
= 0 ;
43567 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43569 if (!wxPyCheckForApp()) SWIG_fail
;
43570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43571 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43572 wxPyEndAllowThreads(__tstate
);
43573 if (PyErr_Occurred()) SWIG_fail
;
43575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43582 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43583 PyObject
*resultobj
= 0;
43584 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43585 wxWindow
*arg2
= (wxWindow
*) 0 ;
43586 int arg3
= (int) -1 ;
43587 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43588 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43589 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43590 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43591 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43592 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43593 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43594 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43595 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43596 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43597 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43598 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43599 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43600 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43601 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43609 bool temp4
= false ;
43610 bool temp5
= false ;
43611 bool temp6
= false ;
43618 bool temp11
= false ;
43619 PyObject
* obj0
= 0 ;
43620 PyObject
* obj1
= 0 ;
43621 PyObject
* obj2
= 0 ;
43622 PyObject
* obj3
= 0 ;
43623 PyObject
* obj4
= 0 ;
43624 PyObject
* obj5
= 0 ;
43625 PyObject
* obj6
= 0 ;
43626 PyObject
* obj7
= 0 ;
43627 PyObject
* obj8
= 0 ;
43628 PyObject
* obj9
= 0 ;
43629 PyObject
* obj10
= 0 ;
43630 char * kwnames
[] = {
43631 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43636 if (!SWIG_IsOK(res1
)) {
43637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43639 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43641 if (!SWIG_IsOK(res2
)) {
43642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43644 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43647 if (!SWIG_IsOK(ecode3
)) {
43648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43650 arg3
= static_cast< int >(val3
);
43654 arg4
= wxString_in_helper(obj3
);
43655 if (arg4
== NULL
) SWIG_fail
;
43661 arg5
= wxString_in_helper(obj4
);
43662 if (arg5
== NULL
) SWIG_fail
;
43668 arg6
= wxString_in_helper(obj5
);
43669 if (arg6
== NULL
) SWIG_fail
;
43676 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43682 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43686 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43687 if (!SWIG_IsOK(ecode9
)) {
43688 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43690 arg9
= static_cast< long >(val9
);
43693 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43694 if (!SWIG_IsOK(res10
)) {
43695 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43700 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43704 arg11
= wxString_in_helper(obj10
);
43705 if (arg11
== NULL
) SWIG_fail
;
43710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43711 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
);
43712 wxPyEndAllowThreads(__tstate
);
43713 if (PyErr_Occurred()) SWIG_fail
;
43716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43756 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43757 PyObject
*resultobj
= 0;
43758 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43762 PyObject
*swig_obj
[1] ;
43764 if (!args
) SWIG_fail
;
43765 swig_obj
[0] = args
;
43766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43767 if (!SWIG_IsOK(res1
)) {
43768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43770 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43773 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43774 wxPyEndAllowThreads(__tstate
);
43775 if (PyErr_Occurred()) SWIG_fail
;
43779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43790 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43791 PyObject
*resultobj
= 0;
43792 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43793 wxString
*arg2
= 0 ;
43796 bool temp2
= false ;
43797 PyObject
* obj0
= 0 ;
43798 PyObject
* obj1
= 0 ;
43799 char * kwnames
[] = {
43800 (char *) "self",(char *) "str", NULL
43803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43805 if (!SWIG_IsOK(res1
)) {
43806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43808 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43810 arg2
= wxString_in_helper(obj1
);
43811 if (arg2
== NULL
) SWIG_fail
;
43815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43816 (arg1
)->SetPath((wxString
const &)*arg2
);
43817 wxPyEndAllowThreads(__tstate
);
43818 if (PyErr_Occurred()) SWIG_fail
;
43820 resultobj
= SWIG_Py_Void();
43835 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43836 PyObject
*resultobj
= 0;
43837 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43838 wxString
*arg2
= 0 ;
43842 bool temp2
= false ;
43843 PyObject
* obj0
= 0 ;
43844 PyObject
* obj1
= 0 ;
43845 char * kwnames
[] = {
43846 (char *) "self",(char *) "path", NULL
43849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43851 if (!SWIG_IsOK(res1
)) {
43852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43854 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43856 arg2
= wxString_in_helper(obj1
);
43857 if (arg2
== NULL
) SWIG_fail
;
43861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43862 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43863 wxPyEndAllowThreads(__tstate
);
43864 if (PyErr_Occurred()) SWIG_fail
;
43867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43883 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43884 PyObject
*resultobj
= 0;
43885 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43889 PyObject
*swig_obj
[1] ;
43891 if (!args
) SWIG_fail
;
43892 swig_obj
[0] = args
;
43893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43894 if (!SWIG_IsOK(res1
)) {
43895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43897 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43900 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43901 wxPyEndAllowThreads(__tstate
);
43902 if (PyErr_Occurred()) SWIG_fail
;
43906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43917 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43920 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43921 return SWIG_Py_Void();
43924 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43925 return SWIG_Python_InitShadowInstance(args
);
43928 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43929 PyObject
*resultobj
= 0;
43930 wxWindow
*arg1
= (wxWindow
*) 0 ;
43931 int arg2
= (int) -1 ;
43932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43934 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43935 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43940 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43943 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43945 wxDirPickerCtrl
*result
= 0 ;
43950 bool temp3
= false ;
43951 bool temp4
= false ;
43958 bool temp9
= false ;
43959 PyObject
* obj0
= 0 ;
43960 PyObject
* obj1
= 0 ;
43961 PyObject
* obj2
= 0 ;
43962 PyObject
* obj3
= 0 ;
43963 PyObject
* obj4
= 0 ;
43964 PyObject
* obj5
= 0 ;
43965 PyObject
* obj6
= 0 ;
43966 PyObject
* obj7
= 0 ;
43967 PyObject
* obj8
= 0 ;
43968 char * kwnames
[] = {
43969 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43974 if (!SWIG_IsOK(res1
)) {
43975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43977 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43980 if (!SWIG_IsOK(ecode2
)) {
43981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43983 arg2
= static_cast< int >(val2
);
43987 arg3
= wxString_in_helper(obj2
);
43988 if (arg3
== NULL
) SWIG_fail
;
43994 arg4
= wxString_in_helper(obj3
);
43995 if (arg4
== NULL
) SWIG_fail
;
44002 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44008 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44012 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44013 if (!SWIG_IsOK(ecode7
)) {
44014 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44016 arg7
= static_cast< long >(val7
);
44019 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44020 if (!SWIG_IsOK(res8
)) {
44021 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44026 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44030 arg9
= wxString_in_helper(obj8
);
44031 if (arg9
== NULL
) SWIG_fail
;
44036 if (!wxPyCheckForApp()) SWIG_fail
;
44037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44038 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
);
44039 wxPyEndAllowThreads(__tstate
);
44040 if (PyErr_Occurred()) SWIG_fail
;
44042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44073 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44074 PyObject
*resultobj
= 0;
44075 wxDirPickerCtrl
*result
= 0 ;
44077 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44079 if (!wxPyCheckForApp()) SWIG_fail
;
44080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44081 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44082 wxPyEndAllowThreads(__tstate
);
44083 if (PyErr_Occurred()) SWIG_fail
;
44085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44092 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44093 PyObject
*resultobj
= 0;
44094 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44095 wxWindow
*arg2
= (wxWindow
*) 0 ;
44096 int arg3
= (int) -1 ;
44097 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44098 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44099 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44100 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44101 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44102 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44103 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44104 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44105 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44106 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44107 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44108 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44109 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44117 bool temp4
= false ;
44118 bool temp5
= false ;
44125 bool temp10
= false ;
44126 PyObject
* obj0
= 0 ;
44127 PyObject
* obj1
= 0 ;
44128 PyObject
* obj2
= 0 ;
44129 PyObject
* obj3
= 0 ;
44130 PyObject
* obj4
= 0 ;
44131 PyObject
* obj5
= 0 ;
44132 PyObject
* obj6
= 0 ;
44133 PyObject
* obj7
= 0 ;
44134 PyObject
* obj8
= 0 ;
44135 PyObject
* obj9
= 0 ;
44136 char * kwnames
[] = {
44137 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44142 if (!SWIG_IsOK(res1
)) {
44143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44145 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44147 if (!SWIG_IsOK(res2
)) {
44148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44150 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44153 if (!SWIG_IsOK(ecode3
)) {
44154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44156 arg3
= static_cast< int >(val3
);
44160 arg4
= wxString_in_helper(obj3
);
44161 if (arg4
== NULL
) SWIG_fail
;
44167 arg5
= wxString_in_helper(obj4
);
44168 if (arg5
== NULL
) SWIG_fail
;
44175 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44181 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44185 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44186 if (!SWIG_IsOK(ecode8
)) {
44187 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44189 arg8
= static_cast< long >(val8
);
44192 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44193 if (!SWIG_IsOK(res9
)) {
44194 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44199 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44203 arg10
= wxString_in_helper(obj9
);
44204 if (arg10
== NULL
) SWIG_fail
;
44209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44210 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
);
44211 wxPyEndAllowThreads(__tstate
);
44212 if (PyErr_Occurred()) SWIG_fail
;
44215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44247 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44248 PyObject
*resultobj
= 0;
44249 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44253 PyObject
*swig_obj
[1] ;
44255 if (!args
) SWIG_fail
;
44256 swig_obj
[0] = args
;
44257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44258 if (!SWIG_IsOK(res1
)) {
44259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44261 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44264 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44265 wxPyEndAllowThreads(__tstate
);
44266 if (PyErr_Occurred()) SWIG_fail
;
44270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44281 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44282 PyObject
*resultobj
= 0;
44283 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44284 wxString
*arg2
= 0 ;
44287 bool temp2
= false ;
44288 PyObject
* obj0
= 0 ;
44289 PyObject
* obj1
= 0 ;
44290 char * kwnames
[] = {
44291 (char *) "self",(char *) "str", NULL
44294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44296 if (!SWIG_IsOK(res1
)) {
44297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44299 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44301 arg2
= wxString_in_helper(obj1
);
44302 if (arg2
== NULL
) SWIG_fail
;
44306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44307 (arg1
)->SetPath((wxString
const &)*arg2
);
44308 wxPyEndAllowThreads(__tstate
);
44309 if (PyErr_Occurred()) SWIG_fail
;
44311 resultobj
= SWIG_Py_Void();
44326 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44327 PyObject
*resultobj
= 0;
44328 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44329 wxString
*arg2
= 0 ;
44333 bool temp2
= false ;
44334 PyObject
* obj0
= 0 ;
44335 PyObject
* obj1
= 0 ;
44336 char * kwnames
[] = {
44337 (char *) "self",(char *) "path", NULL
44340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44342 if (!SWIG_IsOK(res1
)) {
44343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44345 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44347 arg2
= wxString_in_helper(obj1
);
44348 if (arg2
== NULL
) SWIG_fail
;
44352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44353 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44354 wxPyEndAllowThreads(__tstate
);
44355 if (PyErr_Occurred()) SWIG_fail
;
44358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44374 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44375 PyObject
*resultobj
= 0;
44376 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44380 PyObject
*swig_obj
[1] ;
44382 if (!args
) SWIG_fail
;
44383 swig_obj
[0] = args
;
44384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44385 if (!SWIG_IsOK(res1
)) {
44386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44388 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44391 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44392 wxPyEndAllowThreads(__tstate
);
44393 if (PyErr_Occurred()) SWIG_fail
;
44397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44408 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44411 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44412 return SWIG_Py_Void();
44415 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44416 return SWIG_Python_InitShadowInstance(args
);
44419 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44420 PyObject
*resultobj
= 0;
44422 wxObject
*arg2
= (wxObject
*) 0 ;
44424 wxString
*arg4
= 0 ;
44425 wxFileDirPickerEvent
*result
= 0 ;
44432 bool temp4
= false ;
44433 PyObject
* obj0
= 0 ;
44434 PyObject
* obj1
= 0 ;
44435 PyObject
* obj2
= 0 ;
44436 PyObject
* obj3
= 0 ;
44437 char * kwnames
[] = {
44438 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44443 if (!SWIG_IsOK(ecode1
)) {
44444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44446 arg1
= static_cast< wxEventType
>(val1
);
44447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44448 if (!SWIG_IsOK(res2
)) {
44449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44451 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44453 if (!SWIG_IsOK(ecode3
)) {
44454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44456 arg3
= static_cast< int >(val3
);
44458 arg4
= wxString_in_helper(obj3
);
44459 if (arg4
== NULL
) SWIG_fail
;
44463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44464 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44465 wxPyEndAllowThreads(__tstate
);
44466 if (PyErr_Occurred()) SWIG_fail
;
44468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44483 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44484 PyObject
*resultobj
= 0;
44485 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44489 PyObject
*swig_obj
[1] ;
44491 if (!args
) SWIG_fail
;
44492 swig_obj
[0] = args
;
44493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44494 if (!SWIG_IsOK(res1
)) {
44495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44497 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44500 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44501 wxPyEndAllowThreads(__tstate
);
44502 if (PyErr_Occurred()) SWIG_fail
;
44506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44517 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44518 PyObject
*resultobj
= 0;
44519 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44520 wxString
*arg2
= 0 ;
44523 bool temp2
= false ;
44524 PyObject
* obj0
= 0 ;
44525 PyObject
* obj1
= 0 ;
44526 char * kwnames
[] = {
44527 (char *) "self",(char *) "p", NULL
44530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44532 if (!SWIG_IsOK(res1
)) {
44533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44535 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44537 arg2
= wxString_in_helper(obj1
);
44538 if (arg2
== NULL
) SWIG_fail
;
44542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44543 (arg1
)->SetPath((wxString
const &)*arg2
);
44544 wxPyEndAllowThreads(__tstate
);
44545 if (PyErr_Occurred()) SWIG_fail
;
44547 resultobj
= SWIG_Py_Void();
44562 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44565 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44566 return SWIG_Py_Void();
44569 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44570 return SWIG_Python_InitShadowInstance(args
);
44573 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44574 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44579 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44580 PyObject
*pyobj
= 0;
44584 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44586 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44593 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44594 PyObject
*resultobj
= 0;
44595 wxWindow
*arg1
= (wxWindow
*) 0 ;
44596 int arg2
= (int) -1 ;
44597 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44598 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44603 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44604 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44605 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44606 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44608 wxFontPickerCtrl
*result
= 0 ;
44621 bool temp8
= false ;
44622 PyObject
* obj0
= 0 ;
44623 PyObject
* obj1
= 0 ;
44624 PyObject
* obj2
= 0 ;
44625 PyObject
* obj3
= 0 ;
44626 PyObject
* obj4
= 0 ;
44627 PyObject
* obj5
= 0 ;
44628 PyObject
* obj6
= 0 ;
44629 PyObject
* obj7
= 0 ;
44630 char * kwnames
[] = {
44631 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44636 if (!SWIG_IsOK(res1
)) {
44637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44642 if (!SWIG_IsOK(ecode2
)) {
44643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44645 arg2
= static_cast< int >(val2
);
44648 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44649 if (!SWIG_IsOK(res3
)) {
44650 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44655 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44660 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44666 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44670 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44671 if (!SWIG_IsOK(ecode6
)) {
44672 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44674 arg6
= static_cast< long >(val6
);
44677 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44678 if (!SWIG_IsOK(res7
)) {
44679 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44684 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44688 arg8
= wxString_in_helper(obj7
);
44689 if (arg8
== NULL
) SWIG_fail
;
44694 if (!wxPyCheckForApp()) SWIG_fail
;
44695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44696 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44697 wxPyEndAllowThreads(__tstate
);
44698 if (PyErr_Occurred()) SWIG_fail
;
44700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44715 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44716 PyObject
*resultobj
= 0;
44717 wxFontPickerCtrl
*result
= 0 ;
44719 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44721 if (!wxPyCheckForApp()) SWIG_fail
;
44722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44723 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44724 wxPyEndAllowThreads(__tstate
);
44725 if (PyErr_Occurred()) SWIG_fail
;
44727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44734 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44735 PyObject
*resultobj
= 0;
44736 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44737 wxWindow
*arg2
= (wxWindow
*) 0 ;
44738 int arg3
= (int) -1 ;
44739 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44740 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44745 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44746 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44747 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44748 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44749 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44765 bool temp9
= false ;
44766 PyObject
* obj0
= 0 ;
44767 PyObject
* obj1
= 0 ;
44768 PyObject
* obj2
= 0 ;
44769 PyObject
* obj3
= 0 ;
44770 PyObject
* obj4
= 0 ;
44771 PyObject
* obj5
= 0 ;
44772 PyObject
* obj6
= 0 ;
44773 PyObject
* obj7
= 0 ;
44774 PyObject
* obj8
= 0 ;
44775 char * kwnames
[] = {
44776 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44781 if (!SWIG_IsOK(res1
)) {
44782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44784 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44786 if (!SWIG_IsOK(res2
)) {
44787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44789 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44792 if (!SWIG_IsOK(ecode3
)) {
44793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44795 arg3
= static_cast< int >(val3
);
44798 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44799 if (!SWIG_IsOK(res4
)) {
44800 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44805 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44810 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44816 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44820 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44821 if (!SWIG_IsOK(ecode7
)) {
44822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44824 arg7
= static_cast< long >(val7
);
44827 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44828 if (!SWIG_IsOK(res8
)) {
44829 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44834 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44838 arg9
= wxString_in_helper(obj8
);
44839 if (arg9
== NULL
) SWIG_fail
;
44844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44846 wxPyEndAllowThreads(__tstate
);
44847 if (PyErr_Occurred()) SWIG_fail
;
44850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44866 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44867 PyObject
*resultobj
= 0;
44868 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44872 PyObject
*swig_obj
[1] ;
44874 if (!args
) SWIG_fail
;
44875 swig_obj
[0] = args
;
44876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44877 if (!SWIG_IsOK(res1
)) {
44878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44880 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44883 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44884 wxPyEndAllowThreads(__tstate
);
44885 if (PyErr_Occurred()) SWIG_fail
;
44887 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44894 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44895 PyObject
*resultobj
= 0;
44896 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44902 PyObject
* obj0
= 0 ;
44903 PyObject
* obj1
= 0 ;
44904 char * kwnames
[] = {
44905 (char *) "self",(char *) "f", NULL
44908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44910 if (!SWIG_IsOK(res1
)) {
44911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44913 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44915 if (!SWIG_IsOK(res2
)) {
44916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44921 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44924 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44925 wxPyEndAllowThreads(__tstate
);
44926 if (PyErr_Occurred()) SWIG_fail
;
44928 resultobj
= SWIG_Py_Void();
44935 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44936 PyObject
*resultobj
= 0;
44937 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44938 unsigned int arg2
;
44941 unsigned int val2
;
44943 PyObject
* obj0
= 0 ;
44944 PyObject
* obj1
= 0 ;
44945 char * kwnames
[] = {
44946 (char *) "self",(char *) "max", NULL
44949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44951 if (!SWIG_IsOK(res1
)) {
44952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44954 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44955 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44956 if (!SWIG_IsOK(ecode2
)) {
44957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44959 arg2
= static_cast< unsigned int >(val2
);
44961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44962 (arg1
)->SetMaxPointSize(arg2
);
44963 wxPyEndAllowThreads(__tstate
);
44964 if (PyErr_Occurred()) SWIG_fail
;
44966 resultobj
= SWIG_Py_Void();
44973 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44974 PyObject
*resultobj
= 0;
44975 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44976 unsigned int result
;
44979 PyObject
*swig_obj
[1] ;
44981 if (!args
) SWIG_fail
;
44982 swig_obj
[0] = args
;
44983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44984 if (!SWIG_IsOK(res1
)) {
44985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44987 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44990 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44991 wxPyEndAllowThreads(__tstate
);
44992 if (PyErr_Occurred()) SWIG_fail
;
44994 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45001 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45004 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45005 return SWIG_Py_Void();
45008 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45009 return SWIG_Python_InitShadowInstance(args
);
45012 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45013 PyObject
*resultobj
= 0;
45014 wxObject
*arg1
= (wxObject
*) 0 ;
45017 wxFontPickerEvent
*result
= 0 ;
45024 PyObject
* obj0
= 0 ;
45025 PyObject
* obj1
= 0 ;
45026 PyObject
* obj2
= 0 ;
45027 char * kwnames
[] = {
45028 (char *) "generator",(char *) "id",(char *) "f", NULL
45031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45033 if (!SWIG_IsOK(res1
)) {
45034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45036 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45038 if (!SWIG_IsOK(ecode2
)) {
45039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45041 arg2
= static_cast< int >(val2
);
45042 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45043 if (!SWIG_IsOK(res3
)) {
45044 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45049 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45052 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45053 wxPyEndAllowThreads(__tstate
);
45054 if (PyErr_Occurred()) SWIG_fail
;
45056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45063 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45064 PyObject
*resultobj
= 0;
45065 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45069 PyObject
*swig_obj
[1] ;
45071 if (!args
) SWIG_fail
;
45072 swig_obj
[0] = args
;
45073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45074 if (!SWIG_IsOK(res1
)) {
45075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45077 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45080 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45081 wxPyEndAllowThreads(__tstate
);
45082 if (PyErr_Occurred()) SWIG_fail
;
45084 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45091 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45092 PyObject
*resultobj
= 0;
45093 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45099 PyObject
* obj0
= 0 ;
45100 PyObject
* obj1
= 0 ;
45101 char * kwnames
[] = {
45102 (char *) "self",(char *) "c", NULL
45105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45107 if (!SWIG_IsOK(res1
)) {
45108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45110 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45112 if (!SWIG_IsOK(res2
)) {
45113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45118 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45121 (arg1
)->SetFont((wxFont
const &)*arg2
);
45122 wxPyEndAllowThreads(__tstate
);
45123 if (PyErr_Occurred()) SWIG_fail
;
45125 resultobj
= SWIG_Py_Void();
45132 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45135 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45136 return SWIG_Py_Void();
45139 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45140 return SWIG_Python_InitShadowInstance(args
);
45143 static PyMethodDef SwigMethods
[] = {
45144 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45146 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45148 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45149 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45151 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45152 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45154 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45156 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45157 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45158 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45159 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45160 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45167 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45168 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45169 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45170 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45172 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45174 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45175 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45177 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45179 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45180 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45182 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45183 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45185 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45187 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45189 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45190 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45192 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45194 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45196 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45197 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45198 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45200 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45201 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45204 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45208 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45210 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45211 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45212 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45213 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45214 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45215 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45216 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45217 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45218 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45220 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45221 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45223 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45226 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45228 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45229 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45230 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45232 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45234 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45236 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45237 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45239 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45242 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45243 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45245 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45247 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45248 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45250 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45251 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45253 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45257 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45258 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45260 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45262 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45266 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45267 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45269 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45280 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45285 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45291 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45292 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45294 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45298 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45299 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45301 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45302 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45312 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45313 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45314 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45315 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45316 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45317 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45318 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45320 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45321 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45322 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45323 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45324 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45325 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45326 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45327 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45328 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45329 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45331 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45332 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45334 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45336 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45341 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45342 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45343 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45344 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45345 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45346 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45347 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45348 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45353 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45354 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45363 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45369 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45370 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45371 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45372 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45373 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45374 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45375 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45376 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45377 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45378 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45380 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45381 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45382 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45384 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45390 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45392 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45393 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45394 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45395 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45396 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45398 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45400 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45401 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45402 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45403 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45404 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45407 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45408 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45410 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45412 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45413 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45414 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45419 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45421 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45422 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45424 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45426 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45430 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45431 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45435 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45437 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45439 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45440 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45442 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45445 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45446 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45448 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45456 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45457 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45464 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45465 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45467 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45469 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45472 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45473 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45475 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45477 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45480 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45481 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45486 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45487 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45489 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45491 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45492 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45494 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45495 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45496 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45500 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45502 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45505 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45507 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45508 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45509 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45511 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45512 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45517 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45522 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45524 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45526 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45528 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45529 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45532 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45539 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45541 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45543 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45545 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45546 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45548 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45550 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45553 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45555 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45556 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45558 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45559 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45561 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45563 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45564 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45565 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45567 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45568 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45570 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45572 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45573 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45574 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45576 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45577 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45579 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45587 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45588 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45589 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45591 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45592 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45594 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45596 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45597 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45598 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45599 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45601 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45602 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45603 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45604 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45605 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45606 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45607 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45608 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45609 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45610 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45611 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45612 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45613 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45614 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45615 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45616 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45617 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45618 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45619 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45621 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45628 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45630 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45632 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45640 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45645 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45646 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45663 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45664 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45665 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45666 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45669 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45670 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45672 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45673 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45676 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45677 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45678 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45680 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45683 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45684 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45686 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45690 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45691 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45692 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45693 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45694 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45695 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45697 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45698 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45699 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45700 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45701 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45702 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45703 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45717 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45718 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45719 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45720 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45721 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45722 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45723 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45724 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45725 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45726 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45727 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45728 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45729 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45730 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45731 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45732 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45733 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45734 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45735 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45736 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45737 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45738 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45739 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45740 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45741 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45742 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45743 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45744 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45745 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45746 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45747 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45748 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45749 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45750 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45751 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45752 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45754 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45755 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45756 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45757 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45758 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45759 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45760 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45761 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45762 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45763 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45764 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45765 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45766 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45767 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45768 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45769 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45770 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45771 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45772 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45773 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45774 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45775 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45776 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45777 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45779 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45780 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45782 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45789 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45790 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45791 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45806 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45807 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45808 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45810 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45811 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45813 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45819 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45820 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45825 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45827 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45828 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45851 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45853 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45854 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45856 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45860 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45862 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45866 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45867 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45868 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45869 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45870 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45873 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45874 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45875 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45876 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45878 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45879 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45881 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45883 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45884 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45885 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45886 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45887 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45889 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45891 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45893 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45894 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45896 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45898 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45901 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45902 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45903 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45905 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45908 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45909 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45911 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45913 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45914 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45942 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45943 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45944 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45951 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45961 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45964 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45968 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45970 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45976 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45982 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45983 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45984 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45986 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45990 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45992 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45993 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45996 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45997 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45999 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46001 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46002 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46003 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46005 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46006 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46007 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46008 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46010 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46013 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46014 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46016 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46024 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46025 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46026 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46027 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46028 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46029 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46030 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46031 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46032 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46034 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46036 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46038 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46040 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46042 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46043 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46045 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46047 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46048 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46049 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46051 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46052 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46053 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46055 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46062 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46064 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46065 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46066 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46072 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46076 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46078 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46079 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46084 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46085 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46087 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46090 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46092 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46093 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46094 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46095 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46097 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46099 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46101 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46103 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46105 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46108 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46109 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46110 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46112 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46114 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46115 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46118 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46120 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46122 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46123 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46125 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46127 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46128 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46129 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46130 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46132 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46134 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46136 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46137 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46139 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46141 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46142 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46144 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46146 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46149 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46150 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46151 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46153 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46155 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46158 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46159 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46160 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46162 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46164 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46165 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46167 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46169 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46172 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46173 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46174 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46176 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46178 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46179 { NULL
, NULL
, 0, NULL
}
46183 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46185 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46188 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46189 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46191 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46192 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46194 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46195 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46197 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46198 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46200 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46201 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46203 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46204 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46206 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46207 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46209 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46212 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46213 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46215 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46218 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46219 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46221 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46224 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46227 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46230 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46231 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46233 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46234 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46236 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46237 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46239 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46240 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46242 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46243 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46245 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46246 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46248 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46249 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46251 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46252 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46254 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46257 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46258 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46260 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46263 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46264 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46266 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46267 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46269 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46270 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46272 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46273 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46275 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46276 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46278 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46279 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46281 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46284 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46285 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46287 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46288 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46290 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46291 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46293 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46296 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46297 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46299 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46300 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46302 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46303 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46305 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46306 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46308 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46311 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46312 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46314 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46315 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46317 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46320 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46321 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46323 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46324 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46326 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46329 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46332 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46333 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46335 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46336 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46338 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46339 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46341 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46342 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46344 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46345 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46347 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46348 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46350 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46351 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46353 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46354 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46356 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46357 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46359 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46360 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46362 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46363 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46365 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46366 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46368 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46369 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46371 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46372 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46374 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46375 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46377 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46378 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46380 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46381 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46383 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46384 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46386 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46387 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46389 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46390 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46392 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46393 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46395 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46396 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46398 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46399 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46401 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46402 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46404 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46405 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46407 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46408 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46410 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46411 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46413 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46414 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46416 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46417 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46419 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46420 return (void *)((wxControl
*) ((wxGauge
*) x
));
46422 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46423 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46425 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46426 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46428 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46429 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46431 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46432 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46434 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46435 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46437 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46438 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46440 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46441 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46443 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46444 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46446 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46447 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46449 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46450 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46452 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46453 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46455 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46456 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46458 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46459 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46461 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46462 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46464 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46465 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46467 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46468 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46470 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46471 return (void *)((wxControl
*) ((wxSlider
*) x
));
46473 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46474 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46476 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46477 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46479 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46480 return (void *)((wxControl
*) ((wxButton
*) x
));
46482 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46483 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46485 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46486 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46488 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46489 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46491 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46492 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46494 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46495 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46497 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46498 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46500 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46501 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46503 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46504 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46506 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46507 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46509 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46510 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46512 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46513 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46515 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46516 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46518 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46519 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46521 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46522 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46524 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46525 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46527 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46528 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46530 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46531 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46533 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46534 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46536 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46537 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46539 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46540 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46542 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46543 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46545 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46546 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46548 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46549 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46551 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46552 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46554 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46555 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46557 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46560 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46561 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46563 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46564 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46566 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46569 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46572 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46573 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46575 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46578 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46581 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46584 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46585 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46587 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46588 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46590 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46593 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46596 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46599 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46602 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46605 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46606 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46608 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46611 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46614 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46617 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46620 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46623 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46626 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46629 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46632 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46635 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46638 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46641 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46644 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46647 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46650 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46653 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46656 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46659 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46662 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46665 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46668 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46671 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46674 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46677 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46680 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46683 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46686 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46689 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46692 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46695 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46698 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46701 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46704 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46705 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46707 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46708 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46710 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46711 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46713 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46714 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46716 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46717 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46719 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46720 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46722 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46725 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46726 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46728 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46729 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46731 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46734 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46735 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46737 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46740 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46741 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46743 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46744 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46746 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46747 return (void *)((wxObject
*) ((wxSizer
*) x
));
46749 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46750 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46752 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46755 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46758 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46761 static void *_p_wxEventTo_p_wxObject(void *x
) {
46762 return (void *)((wxObject
*) ((wxEvent
*) x
));
46764 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46765 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46767 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46768 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46770 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46771 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46773 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46776 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46779 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46782 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46785 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46788 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46789 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46791 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46792 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46794 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46795 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46797 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46800 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46803 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46806 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46809 static void *_p_wxControlTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46812 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46815 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46818 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46821 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46824 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46827 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46830 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46833 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46836 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46839 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46842 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46843 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46845 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46848 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46851 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46854 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46857 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46860 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46863 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46866 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46869 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46872 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46875 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46878 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46881 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46884 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46887 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46890 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46893 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46896 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46899 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46902 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46905 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46908 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46911 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46914 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46917 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46920 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46923 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46926 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46929 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46932 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46935 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46938 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46941 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46944 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46947 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46950 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46953 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46956 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46959 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46962 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46965 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46968 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46971 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46974 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46977 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46980 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46983 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46986 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46989 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46992 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46995 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46998 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47001 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47004 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47007 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) ((wxListItem
*) x
));
47010 static void *_p_wxImageTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) ((wxImage
*) x
));
47013 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47016 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47019 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47022 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47025 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47028 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47031 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47034 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47037 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47040 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47043 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47046 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47049 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47052 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47055 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47058 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47061 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47064 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47067 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47070 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47073 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47076 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47079 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47082 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47085 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47088 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47091 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47094 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47097 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47100 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47103 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47106 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47109 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47112 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47115 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47118 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47121 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47124 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47125 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47127 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47130 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47133 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47134 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47136 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47137 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47139 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47140 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47142 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47143 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47145 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47146 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47148 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47149 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47151 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47152 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47154 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47155 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47157 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47158 return (void *)((wxWindow
*) ((wxControl
*) x
));
47160 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47161 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47163 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47164 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47166 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47167 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47169 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47170 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47172 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47173 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47175 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47176 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47178 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47179 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47181 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47182 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47184 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47185 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47187 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47188 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47190 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47191 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47193 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47194 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47196 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47197 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47199 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47200 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47202 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47203 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47205 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47206 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47208 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47209 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47211 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47212 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47214 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47215 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47217 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47218 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47220 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47221 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47223 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47224 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47226 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47227 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47229 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47230 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47232 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47233 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47235 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47236 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47238 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47239 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47241 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47242 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47244 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47245 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47247 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47248 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47250 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47251 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47253 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47254 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47256 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47257 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47259 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47260 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47262 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47263 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47265 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47266 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47268 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47269 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47271 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47272 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47274 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47275 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47277 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47278 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47280 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47281 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47283 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47284 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47286 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47287 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47289 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47290 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47292 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47293 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47295 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47296 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47298 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47299 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47301 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47302 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47304 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47305 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47307 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47308 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47310 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47311 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47313 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47314 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47316 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47317 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47319 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47320 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47322 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47323 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47325 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47326 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47328 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47329 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47331 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47332 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47334 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47335 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47337 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47338 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47340 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47341 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47343 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47344 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47346 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47347 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47349 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47350 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47352 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47353 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47355 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47356 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47358 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47359 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47361 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47362 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47364 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47365 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47367 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47368 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47370 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47371 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47373 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47374 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47376 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47377 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47378 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};
47379 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47380 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47381 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47382 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47383 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47384 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47385 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47386 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47387 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47388 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47389 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47390 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47391 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47392 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47393 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47394 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47396 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47397 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47398 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47402 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47403 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47404 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47405 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47406 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47407 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47408 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47409 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47410 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47411 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47424 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47425 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47426 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47427 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47428 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47429 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47430 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47431 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47432 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47433 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47434 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47435 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47436 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47437 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47438 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47439 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47440 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47441 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47442 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47443 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47444 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47445 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47446 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47447 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47448 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47449 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47450 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47451 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47452 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47453 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47454 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47455 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47456 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47457 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47458 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47459 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47460 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47461 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47462 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47463 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47464 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47465 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47466 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47467 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47468 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47469 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47470 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47471 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47472 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47473 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47474 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47475 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47476 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47477 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47478 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47479 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47480 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47481 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47482 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47483 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47484 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47485 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47486 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47487 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47488 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47489 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47490 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47491 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47492 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47493 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47494 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47495 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47496 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47497 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47498 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47499 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47500 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47501 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47502 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47503 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47504 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47505 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47506 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47507 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47508 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47509 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47510 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47511 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47512 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47513 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47514 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47515 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47516 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47517 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47518 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47519 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47520 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47521 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47522 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47523 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47524 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47525 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47526 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47527 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47528 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47529 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47530 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47531 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47532 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47533 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47534 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47535 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47536 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47537 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47538 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47539 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47540 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47541 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47542 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47543 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47544 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47545 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47546 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47547 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47548 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47549 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47550 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47552 static swig_type_info
*swig_type_initial
[] = {
47555 &_swigt__p_form_ops_t
,
47558 &_swigt__p_unsigned_char
,
47559 &_swigt__p_unsigned_int
,
47560 &_swigt__p_unsigned_long
,
47562 &_swigt__p_wxANIHandler
,
47563 &_swigt__p_wxAcceleratorTable
,
47564 &_swigt__p_wxActivateEvent
,
47565 &_swigt__p_wxArrayInt
,
47566 &_swigt__p_wxArrayString
,
47567 &_swigt__p_wxBMPHandler
,
47568 &_swigt__p_wxBitmap
,
47569 &_swigt__p_wxBitmapButton
,
47570 &_swigt__p_wxBookCtrlBase
,
47571 &_swigt__p_wxBookCtrlBaseEvent
,
47572 &_swigt__p_wxBoxSizer
,
47573 &_swigt__p_wxButton
,
47574 &_swigt__p_wxCURHandler
,
47575 &_swigt__p_wxCheckBox
,
47576 &_swigt__p_wxCheckListBox
,
47577 &_swigt__p_wxChildFocusEvent
,
47578 &_swigt__p_wxChoice
,
47579 &_swigt__p_wxChoicebook
,
47580 &_swigt__p_wxChoicebookEvent
,
47581 &_swigt__p_wxClipboardTextEvent
,
47582 &_swigt__p_wxCloseEvent
,
47583 &_swigt__p_wxColour
,
47584 &_swigt__p_wxColourPickerCtrl
,
47585 &_swigt__p_wxColourPickerEvent
,
47586 &_swigt__p_wxComboBox
,
47587 &_swigt__p_wxCommandEvent
,
47588 &_swigt__p_wxContextHelp
,
47589 &_swigt__p_wxContextHelpButton
,
47590 &_swigt__p_wxContextMenuEvent
,
47591 &_swigt__p_wxControl
,
47592 &_swigt__p_wxControlWithItems
,
47593 &_swigt__p_wxCursor
,
47595 &_swigt__p_wxDateEvent
,
47596 &_swigt__p_wxDatePickerCtrl
,
47597 &_swigt__p_wxDateTime
,
47598 &_swigt__p_wxDirFilterListCtrl
,
47599 &_swigt__p_wxDirPickerCtrl
,
47600 &_swigt__p_wxDisplayChangedEvent
,
47601 &_swigt__p_wxDropFilesEvent
,
47602 &_swigt__p_wxDuplexMode
,
47603 &_swigt__p_wxEraseEvent
,
47604 &_swigt__p_wxEvent
,
47605 &_swigt__p_wxEvtHandler
,
47606 &_swigt__p_wxFSFile
,
47607 &_swigt__p_wxFileDirPickerEvent
,
47608 &_swigt__p_wxFilePickerCtrl
,
47609 &_swigt__p_wxFileSystem
,
47610 &_swigt__p_wxFlexGridSizer
,
47611 &_swigt__p_wxFocusEvent
,
47613 &_swigt__p_wxFontPickerCtrl
,
47614 &_swigt__p_wxFontPickerEvent
,
47615 &_swigt__p_wxGBSizerItem
,
47616 &_swigt__p_wxGIFHandler
,
47617 &_swigt__p_wxGauge
,
47618 &_swigt__p_wxGenericDirCtrl
,
47619 &_swigt__p_wxGenericDragImage
,
47620 &_swigt__p_wxGridBagSizer
,
47621 &_swigt__p_wxGridSizer
,
47622 &_swigt__p_wxHelpEvent
,
47623 &_swigt__p_wxHelpProvider
,
47624 &_swigt__p_wxHyperlinkCtrl
,
47625 &_swigt__p_wxHyperlinkEvent
,
47626 &_swigt__p_wxICOHandler
,
47628 &_swigt__p_wxIconizeEvent
,
47629 &_swigt__p_wxIdleEvent
,
47630 &_swigt__p_wxImage
,
47631 &_swigt__p_wxImageHandler
,
47632 &_swigt__p_wxImageList
,
47633 &_swigt__p_wxIndividualLayoutConstraint
,
47634 &_swigt__p_wxInitDialogEvent
,
47635 &_swigt__p_wxItemContainer
,
47636 &_swigt__p_wxJPEGHandler
,
47637 &_swigt__p_wxKeyEvent
,
47638 &_swigt__p_wxLayoutConstraints
,
47639 &_swigt__p_wxListBox
,
47640 &_swigt__p_wxListEvent
,
47641 &_swigt__p_wxListItem
,
47642 &_swigt__p_wxListItemAttr
,
47643 &_swigt__p_wxListView
,
47644 &_swigt__p_wxListbook
,
47645 &_swigt__p_wxListbookEvent
,
47646 &_swigt__p_wxMaximizeEvent
,
47647 &_swigt__p_wxMemoryDC
,
47649 &_swigt__p_wxMenuBar
,
47650 &_swigt__p_wxMenuEvent
,
47651 &_swigt__p_wxMenuItem
,
47652 &_swigt__p_wxMouseCaptureChangedEvent
,
47653 &_swigt__p_wxMouseCaptureLostEvent
,
47654 &_swigt__p_wxMouseEvent
,
47655 &_swigt__p_wxMoveEvent
,
47656 &_swigt__p_wxNavigationKeyEvent
,
47657 &_swigt__p_wxNcPaintEvent
,
47658 &_swigt__p_wxNotebook
,
47659 &_swigt__p_wxNotebookEvent
,
47660 &_swigt__p_wxNotifyEvent
,
47661 &_swigt__p_wxObject
,
47662 &_swigt__p_wxPCXHandler
,
47663 &_swigt__p_wxPNGHandler
,
47664 &_swigt__p_wxPNMHandler
,
47665 &_swigt__p_wxPaintEvent
,
47666 &_swigt__p_wxPaletteChangedEvent
,
47667 &_swigt__p_wxPaperSize
,
47668 &_swigt__p_wxPickerBase
,
47669 &_swigt__p_wxPoint
,
47670 &_swigt__p_wxPyApp
,
47671 &_swigt__p_wxPyCommandEvent
,
47672 &_swigt__p_wxPyControl
,
47673 &_swigt__p_wxPyEvent
,
47674 &_swigt__p_wxPyImageHandler
,
47675 &_swigt__p_wxPyListCtrl
,
47676 &_swigt__p_wxPySizer
,
47677 &_swigt__p_wxPyTreeCtrl
,
47678 &_swigt__p_wxPyTreeItemData
,
47679 &_swigt__p_wxPyValidator
,
47680 &_swigt__p_wxQueryNewPaletteEvent
,
47681 &_swigt__p_wxRadioBox
,
47682 &_swigt__p_wxRadioButton
,
47684 &_swigt__p_wxScrollBar
,
47685 &_swigt__p_wxScrollEvent
,
47686 &_swigt__p_wxScrollWinEvent
,
47687 &_swigt__p_wxSetCursorEvent
,
47688 &_swigt__p_wxShowEvent
,
47689 &_swigt__p_wxSimpleHelpProvider
,
47691 &_swigt__p_wxSizeEvent
,
47692 &_swigt__p_wxSizer
,
47693 &_swigt__p_wxSizerItem
,
47694 &_swigt__p_wxSlider
,
47695 &_swigt__p_wxSpinButton
,
47696 &_swigt__p_wxSpinCtrl
,
47697 &_swigt__p_wxSpinEvent
,
47698 &_swigt__p_wxStaticBitmap
,
47699 &_swigt__p_wxStaticBox
,
47700 &_swigt__p_wxStaticBoxSizer
,
47701 &_swigt__p_wxStaticLine
,
47702 &_swigt__p_wxStaticText
,
47703 &_swigt__p_wxStdDialogButtonSizer
,
47704 &_swigt__p_wxString
,
47705 &_swigt__p_wxSysColourChangedEvent
,
47706 &_swigt__p_wxTIFFHandler
,
47707 &_swigt__p_wxTextAttr
,
47708 &_swigt__p_wxTextCtrl
,
47709 &_swigt__p_wxTextUrlEvent
,
47710 &_swigt__p_wxToggleButton
,
47711 &_swigt__p_wxToolBar
,
47712 &_swigt__p_wxToolBarBase
,
47713 &_swigt__p_wxToolBarToolBase
,
47714 &_swigt__p_wxToolbook
,
47715 &_swigt__p_wxToolbookEvent
,
47716 &_swigt__p_wxTreeEvent
,
47717 &_swigt__p_wxTreeItemId
,
47718 &_swigt__p_wxTreebook
,
47719 &_swigt__p_wxTreebookEvent
,
47720 &_swigt__p_wxUpdateUIEvent
,
47721 &_swigt__p_wxValidator
,
47722 &_swigt__p_wxVisualAttributes
,
47723 &_swigt__p_wxWindow
,
47724 &_swigt__p_wxWindowBase
,
47725 &_swigt__p_wxWindowCreateEvent
,
47726 &_swigt__p_wxWindowDestroyEvent
,
47727 &_swigt__p_wxXPMHandler
,
47730 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47737 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47739 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47740 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47741 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47742 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}};
47743 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}};
47744 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}};
47745 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}};
47746 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47747 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47766 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47767 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
47769 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47770 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47771 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47772 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47773 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47775 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47779 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47780 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47781 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47782 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
47783 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47784 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47785 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47786 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47787 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47788 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47789 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47790 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47791 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47792 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47793 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47794 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47795 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47796 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47797 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47798 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47799 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47800 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47801 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
47802 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47803 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47804 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47805 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47806 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
47807 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47808 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47809 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47810 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47811 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47812 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47813 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47814 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47815 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47816 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}};
47817 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47818 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47819 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47820 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47821 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}};
47822 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47823 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}};
47824 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47825 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47826 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47827 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47828 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47829 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47830 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47831 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47832 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47833 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47834 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}};
47835 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47836 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47837 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47838 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47839 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47840 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47841 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47842 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47843 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47844 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47845 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47846 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47847 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47848 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47849 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47850 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47851 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47852 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47853 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47854 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47855 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47856 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47857 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47858 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47859 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47860 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47861 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47862 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47863 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47864 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47865 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47866 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47867 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}};
47868 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47869 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47870 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}};
47871 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47872 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47873 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47874 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47875 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47876 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47877 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47878 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47879 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47880 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47881 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47882 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47883 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47884 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47885 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47886 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47887 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47888 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47889 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47890 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47891 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47892 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47893 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}};
47894 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47895 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47896 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47897 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47898 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47899 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47900 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47901 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}};
47902 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47903 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
47904 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47906 static swig_cast_info
*swig_cast_initial
[] = {
47909 _swigc__p_form_ops_t
,
47912 _swigc__p_unsigned_char
,
47913 _swigc__p_unsigned_int
,
47914 _swigc__p_unsigned_long
,
47916 _swigc__p_wxANIHandler
,
47917 _swigc__p_wxAcceleratorTable
,
47918 _swigc__p_wxActivateEvent
,
47919 _swigc__p_wxArrayInt
,
47920 _swigc__p_wxArrayString
,
47921 _swigc__p_wxBMPHandler
,
47922 _swigc__p_wxBitmap
,
47923 _swigc__p_wxBitmapButton
,
47924 _swigc__p_wxBookCtrlBase
,
47925 _swigc__p_wxBookCtrlBaseEvent
,
47926 _swigc__p_wxBoxSizer
,
47927 _swigc__p_wxButton
,
47928 _swigc__p_wxCURHandler
,
47929 _swigc__p_wxCheckBox
,
47930 _swigc__p_wxCheckListBox
,
47931 _swigc__p_wxChildFocusEvent
,
47932 _swigc__p_wxChoice
,
47933 _swigc__p_wxChoicebook
,
47934 _swigc__p_wxChoicebookEvent
,
47935 _swigc__p_wxClipboardTextEvent
,
47936 _swigc__p_wxCloseEvent
,
47937 _swigc__p_wxColour
,
47938 _swigc__p_wxColourPickerCtrl
,
47939 _swigc__p_wxColourPickerEvent
,
47940 _swigc__p_wxComboBox
,
47941 _swigc__p_wxCommandEvent
,
47942 _swigc__p_wxContextHelp
,
47943 _swigc__p_wxContextHelpButton
,
47944 _swigc__p_wxContextMenuEvent
,
47945 _swigc__p_wxControl
,
47946 _swigc__p_wxControlWithItems
,
47947 _swigc__p_wxCursor
,
47949 _swigc__p_wxDateEvent
,
47950 _swigc__p_wxDatePickerCtrl
,
47951 _swigc__p_wxDateTime
,
47952 _swigc__p_wxDirFilterListCtrl
,
47953 _swigc__p_wxDirPickerCtrl
,
47954 _swigc__p_wxDisplayChangedEvent
,
47955 _swigc__p_wxDropFilesEvent
,
47956 _swigc__p_wxDuplexMode
,
47957 _swigc__p_wxEraseEvent
,
47959 _swigc__p_wxEvtHandler
,
47960 _swigc__p_wxFSFile
,
47961 _swigc__p_wxFileDirPickerEvent
,
47962 _swigc__p_wxFilePickerCtrl
,
47963 _swigc__p_wxFileSystem
,
47964 _swigc__p_wxFlexGridSizer
,
47965 _swigc__p_wxFocusEvent
,
47967 _swigc__p_wxFontPickerCtrl
,
47968 _swigc__p_wxFontPickerEvent
,
47969 _swigc__p_wxGBSizerItem
,
47970 _swigc__p_wxGIFHandler
,
47972 _swigc__p_wxGenericDirCtrl
,
47973 _swigc__p_wxGenericDragImage
,
47974 _swigc__p_wxGridBagSizer
,
47975 _swigc__p_wxGridSizer
,
47976 _swigc__p_wxHelpEvent
,
47977 _swigc__p_wxHelpProvider
,
47978 _swigc__p_wxHyperlinkCtrl
,
47979 _swigc__p_wxHyperlinkEvent
,
47980 _swigc__p_wxICOHandler
,
47982 _swigc__p_wxIconizeEvent
,
47983 _swigc__p_wxIdleEvent
,
47985 _swigc__p_wxImageHandler
,
47986 _swigc__p_wxImageList
,
47987 _swigc__p_wxIndividualLayoutConstraint
,
47988 _swigc__p_wxInitDialogEvent
,
47989 _swigc__p_wxItemContainer
,
47990 _swigc__p_wxJPEGHandler
,
47991 _swigc__p_wxKeyEvent
,
47992 _swigc__p_wxLayoutConstraints
,
47993 _swigc__p_wxListBox
,
47994 _swigc__p_wxListEvent
,
47995 _swigc__p_wxListItem
,
47996 _swigc__p_wxListItemAttr
,
47997 _swigc__p_wxListView
,
47998 _swigc__p_wxListbook
,
47999 _swigc__p_wxListbookEvent
,
48000 _swigc__p_wxMaximizeEvent
,
48001 _swigc__p_wxMemoryDC
,
48003 _swigc__p_wxMenuBar
,
48004 _swigc__p_wxMenuEvent
,
48005 _swigc__p_wxMenuItem
,
48006 _swigc__p_wxMouseCaptureChangedEvent
,
48007 _swigc__p_wxMouseCaptureLostEvent
,
48008 _swigc__p_wxMouseEvent
,
48009 _swigc__p_wxMoveEvent
,
48010 _swigc__p_wxNavigationKeyEvent
,
48011 _swigc__p_wxNcPaintEvent
,
48012 _swigc__p_wxNotebook
,
48013 _swigc__p_wxNotebookEvent
,
48014 _swigc__p_wxNotifyEvent
,
48015 _swigc__p_wxObject
,
48016 _swigc__p_wxPCXHandler
,
48017 _swigc__p_wxPNGHandler
,
48018 _swigc__p_wxPNMHandler
,
48019 _swigc__p_wxPaintEvent
,
48020 _swigc__p_wxPaletteChangedEvent
,
48021 _swigc__p_wxPaperSize
,
48022 _swigc__p_wxPickerBase
,
48025 _swigc__p_wxPyCommandEvent
,
48026 _swigc__p_wxPyControl
,
48027 _swigc__p_wxPyEvent
,
48028 _swigc__p_wxPyImageHandler
,
48029 _swigc__p_wxPyListCtrl
,
48030 _swigc__p_wxPySizer
,
48031 _swigc__p_wxPyTreeCtrl
,
48032 _swigc__p_wxPyTreeItemData
,
48033 _swigc__p_wxPyValidator
,
48034 _swigc__p_wxQueryNewPaletteEvent
,
48035 _swigc__p_wxRadioBox
,
48036 _swigc__p_wxRadioButton
,
48038 _swigc__p_wxScrollBar
,
48039 _swigc__p_wxScrollEvent
,
48040 _swigc__p_wxScrollWinEvent
,
48041 _swigc__p_wxSetCursorEvent
,
48042 _swigc__p_wxShowEvent
,
48043 _swigc__p_wxSimpleHelpProvider
,
48045 _swigc__p_wxSizeEvent
,
48047 _swigc__p_wxSizerItem
,
48048 _swigc__p_wxSlider
,
48049 _swigc__p_wxSpinButton
,
48050 _swigc__p_wxSpinCtrl
,
48051 _swigc__p_wxSpinEvent
,
48052 _swigc__p_wxStaticBitmap
,
48053 _swigc__p_wxStaticBox
,
48054 _swigc__p_wxStaticBoxSizer
,
48055 _swigc__p_wxStaticLine
,
48056 _swigc__p_wxStaticText
,
48057 _swigc__p_wxStdDialogButtonSizer
,
48058 _swigc__p_wxString
,
48059 _swigc__p_wxSysColourChangedEvent
,
48060 _swigc__p_wxTIFFHandler
,
48061 _swigc__p_wxTextAttr
,
48062 _swigc__p_wxTextCtrl
,
48063 _swigc__p_wxTextUrlEvent
,
48064 _swigc__p_wxToggleButton
,
48065 _swigc__p_wxToolBar
,
48066 _swigc__p_wxToolBarBase
,
48067 _swigc__p_wxToolBarToolBase
,
48068 _swigc__p_wxToolbook
,
48069 _swigc__p_wxToolbookEvent
,
48070 _swigc__p_wxTreeEvent
,
48071 _swigc__p_wxTreeItemId
,
48072 _swigc__p_wxTreebook
,
48073 _swigc__p_wxTreebookEvent
,
48074 _swigc__p_wxUpdateUIEvent
,
48075 _swigc__p_wxValidator
,
48076 _swigc__p_wxVisualAttributes
,
48077 _swigc__p_wxWindow
,
48078 _swigc__p_wxWindowBase
,
48079 _swigc__p_wxWindowCreateEvent
,
48080 _swigc__p_wxWindowDestroyEvent
,
48081 _swigc__p_wxXPMHandler
,
48085 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48087 static swig_const_info swig_const_table
[] = {
48088 {0, 0, 0, 0.0, 0, 0}};
48093 /* -----------------------------------------------------------------------------
48094 * Type initialization:
48095 * This problem is tough by the requirement that no dynamic
48096 * memory is used. Also, since swig_type_info structures store pointers to
48097 * swig_cast_info structures and swig_cast_info structures store pointers back
48098 * to swig_type_info structures, we need some lookup code at initialization.
48099 * The idea is that swig generates all the structures that are needed.
48100 * The runtime then collects these partially filled structures.
48101 * The SWIG_InitializeModule function takes these initial arrays out of
48102 * swig_module, and does all the lookup, filling in the swig_module.types
48103 * array with the correct data and linking the correct swig_cast_info
48104 * structures together.
48106 * The generated swig_type_info structures are assigned staticly to an initial
48107 * array. We just loop though that array, and handle each type individually.
48108 * First we lookup if this type has been already loaded, and if so, use the
48109 * loaded structure instead of the generated one. Then we have to fill in the
48110 * cast linked list. The cast data is initially stored in something like a
48111 * two-dimensional array. Each row corresponds to a type (there are the same
48112 * number of rows as there are in the swig_type_initial array). Each entry in
48113 * a column is one of the swig_cast_info structures for that type.
48114 * The cast_initial array is actually an array of arrays, because each row has
48115 * a variable number of columns. So to actually build the cast linked list,
48116 * we find the array of casts associated with the type, and loop through it
48117 * adding the casts to the list. The one last trick we need to do is making
48118 * sure the type pointer in the swig_cast_info struct is correct.
48120 * First off, we lookup the cast->type name to see if it is already loaded.
48121 * There are three cases to handle:
48122 * 1) If the cast->type has already been loaded AND the type we are adding
48123 * casting info to has not been loaded (it is in this module), THEN we
48124 * replace the cast->type pointer with the type pointer that has already
48126 * 2) If BOTH types (the one we are adding casting info to, and the
48127 * cast->type) are loaded, THEN the cast info has already been loaded by
48128 * the previous module so we just ignore it.
48129 * 3) Finally, if cast->type has not already been loaded, then we add that
48130 * swig_cast_info to the linked list (because the cast->type) pointer will
48132 * ----------------------------------------------------------------------------- */
48142 #define SWIGRUNTIME_DEBUG
48146 SWIG_InitializeModule(void *clientdata
) {
48148 swig_module_info
*module_head
;
48149 static int init_run
= 0;
48151 clientdata
= clientdata
;
48153 if (init_run
) return;
48156 /* Initialize the swig_module */
48157 swig_module
.type_initial
= swig_type_initial
;
48158 swig_module
.cast_initial
= swig_cast_initial
;
48160 /* Try and load any already created modules */
48161 module_head
= SWIG_GetModule(clientdata
);
48163 swig_module
.next
= module_head
->next
;
48164 module_head
->next
= &swig_module
;
48166 /* This is the first module loaded */
48167 swig_module
.next
= &swig_module
;
48168 SWIG_SetModule(clientdata
, &swig_module
);
48171 /* Now work on filling in swig_module.types */
48172 #ifdef SWIGRUNTIME_DEBUG
48173 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48175 for (i
= 0; i
< swig_module
.size
; ++i
) {
48176 swig_type_info
*type
= 0;
48177 swig_type_info
*ret
;
48178 swig_cast_info
*cast
;
48180 #ifdef SWIGRUNTIME_DEBUG
48181 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48184 /* if there is another module already loaded */
48185 if (swig_module
.next
!= &swig_module
) {
48186 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48189 /* Overwrite clientdata field */
48190 #ifdef SWIGRUNTIME_DEBUG
48191 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48193 if (swig_module
.type_initial
[i
]->clientdata
) {
48194 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48195 #ifdef SWIGRUNTIME_DEBUG
48196 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48200 type
= swig_module
.type_initial
[i
];
48203 /* Insert casting types */
48204 cast
= swig_module
.cast_initial
[i
];
48205 while (cast
->type
) {
48206 /* Don't need to add information already in the list */
48208 #ifdef SWIGRUNTIME_DEBUG
48209 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48211 if (swig_module
.next
!= &swig_module
) {
48212 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48213 #ifdef SWIGRUNTIME_DEBUG
48214 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48218 if (type
== swig_module
.type_initial
[i
]) {
48219 #ifdef SWIGRUNTIME_DEBUG
48220 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48225 /* Check for casting already in the list */
48226 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48227 #ifdef SWIGRUNTIME_DEBUG
48228 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48230 if (!ocast
) ret
= 0;
48235 #ifdef SWIGRUNTIME_DEBUG
48236 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48239 type
->cast
->prev
= cast
;
48240 cast
->next
= type
->cast
;
48246 /* Set entry in modules->types array equal to the type */
48247 swig_module
.types
[i
] = type
;
48249 swig_module
.types
[i
] = 0;
48251 #ifdef SWIGRUNTIME_DEBUG
48252 printf("**** SWIG_InitializeModule: Cast List ******\n");
48253 for (i
= 0; i
< swig_module
.size
; ++i
) {
48255 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48256 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48257 while (cast
->type
) {
48258 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48262 printf("---- Total casts: %d\n",j
);
48264 printf("**** SWIG_InitializeModule: Cast List ******\n");
48268 /* This function will propagate the clientdata field of type to
48269 * any new swig_type_info structures that have been added into the list
48270 * of equivalent types. It is like calling
48271 * SWIG_TypeClientData(type, clientdata) a second time.
48274 SWIG_PropagateClientData(void) {
48276 swig_cast_info
*equiv
;
48277 static int init_run
= 0;
48279 if (init_run
) return;
48282 for (i
= 0; i
< swig_module
.size
; i
++) {
48283 if (swig_module
.types
[i
]->clientdata
) {
48284 equiv
= swig_module
.types
[i
]->cast
;
48286 if (!equiv
->converter
) {
48287 if (equiv
->type
&& !equiv
->type
->clientdata
)
48288 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48290 equiv
= equiv
->next
;
48310 /* Python-specific SWIG API */
48311 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48312 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48313 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48315 /* -----------------------------------------------------------------------------
48316 * global variable support code.
48317 * ----------------------------------------------------------------------------- */
48319 typedef struct swig_globalvar
{
48320 char *name
; /* Name of global variable */
48321 PyObject
*(*get_attr
)(void); /* Return the current value */
48322 int (*set_attr
)(PyObject
*); /* Set the value */
48323 struct swig_globalvar
*next
;
48326 typedef struct swig_varlinkobject
{
48328 swig_globalvar
*vars
;
48329 } swig_varlinkobject
;
48331 SWIGINTERN PyObject
*
48332 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48333 return PyString_FromString("<Swig global variables>");
48336 SWIGINTERN PyObject
*
48337 swig_varlink_str(swig_varlinkobject
*v
) {
48338 PyObject
*str
= PyString_FromString("(");
48339 swig_globalvar
*var
;
48340 for (var
= v
->vars
; var
; var
=var
->next
) {
48341 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48342 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48344 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48349 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48350 PyObject
*str
= swig_varlink_str(v
);
48351 fprintf(fp
,"Swig global variables ");
48352 fprintf(fp
,"%s\n", PyString_AsString(str
));
48358 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48359 swig_globalvar
*var
= v
->vars
;
48361 swig_globalvar
*n
= var
->next
;
48368 SWIGINTERN PyObject
*
48369 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48370 PyObject
*res
= NULL
;
48371 swig_globalvar
*var
= v
->vars
;
48373 if (strcmp(var
->name
,n
) == 0) {
48374 res
= (*var
->get_attr
)();
48379 if (res
== NULL
&& !PyErr_Occurred()) {
48380 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48386 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48388 swig_globalvar
*var
= v
->vars
;
48390 if (strcmp(var
->name
,n
) == 0) {
48391 res
= (*var
->set_attr
)(p
);
48396 if (res
== 1 && !PyErr_Occurred()) {
48397 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48402 SWIGINTERN PyTypeObject
*
48403 swig_varlink_type(void) {
48404 static char varlink__doc__
[] = "Swig var link object";
48405 static PyTypeObject varlink_type
;
48406 static int type_init
= 0;
48408 const PyTypeObject tmp
48410 PyObject_HEAD_INIT(NULL
)
48411 0, /* Number of items in variable part (ob_size) */
48412 (char *)"swigvarlink", /* Type name (tp_name) */
48413 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48414 0, /* Itemsize (tp_itemsize) */
48415 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48416 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48417 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48418 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48419 0, /* tp_compare */
48420 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48421 0, /* tp_as_number */
48422 0, /* tp_as_sequence */
48423 0, /* tp_as_mapping */
48426 (reprfunc
)swig_varlink_str
, /* tp_str */
48427 0, /* tp_getattro */
48428 0, /* tp_setattro */
48429 0, /* tp_as_buffer */
48431 varlink__doc__
, /* tp_doc */
48432 0, /* tp_traverse */
48434 0, /* tp_richcompare */
48435 0, /* tp_weaklistoffset */
48436 #if PY_VERSION_HEX >= 0x02020000
48437 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48439 #if PY_VERSION_HEX >= 0x02030000
48442 #ifdef COUNT_ALLOCS
48443 0,0,0,0 /* tp_alloc -> tp_next */
48446 varlink_type
= tmp
;
48447 varlink_type
.ob_type
= &PyType_Type
;
48450 return &varlink_type
;
48453 /* Create a variable linking object for use later */
48454 SWIGINTERN PyObject
*
48455 SWIG_Python_newvarlink(void) {
48456 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48460 return ((PyObject
*) result
);
48464 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48465 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48466 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48468 size_t size
= strlen(name
)+1;
48469 gv
->name
= (char *)malloc(size
);
48471 strncpy(gv
->name
,name
,size
);
48472 gv
->get_attr
= get_attr
;
48473 gv
->set_attr
= set_attr
;
48474 gv
->next
= v
->vars
;
48480 SWIGINTERN PyObject
*
48482 static PyObject
*_SWIG_globals
= 0;
48483 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48484 return _SWIG_globals
;
48487 /* -----------------------------------------------------------------------------
48488 * constants/methods manipulation
48489 * ----------------------------------------------------------------------------- */
48491 /* Install Constants */
48493 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48496 for (i
= 0; constants
[i
].type
; ++i
) {
48497 switch(constants
[i
].type
) {
48498 case SWIG_PY_POINTER
:
48499 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48501 case SWIG_PY_BINARY
:
48502 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48509 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48515 /* -----------------------------------------------------------------------------*/
48516 /* Fix SwigMethods to carry the callback ptrs when needed */
48517 /* -----------------------------------------------------------------------------*/
48520 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48521 swig_const_info
*const_table
,
48522 swig_type_info
**types
,
48523 swig_type_info
**types_initial
) {
48525 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48526 const char *c
= methods
[i
].ml_doc
;
48527 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48529 swig_const_info
*ci
= 0;
48530 const char *name
= c
+ 10;
48531 for (j
= 0; const_table
[j
].type
; ++j
) {
48532 if (strncmp(const_table
[j
].name
, name
,
48533 strlen(const_table
[j
].name
)) == 0) {
48534 ci
= &(const_table
[j
]);
48539 size_t shift
= (ci
->ptype
) - types
;
48540 swig_type_info
*ty
= types_initial
[shift
];
48541 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48542 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48543 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48546 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48548 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48550 strncpy(buff
, "swig_ptr: ", 10);
48552 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48553 methods
[i
].ml_doc
= ndoc
;
48565 /* -----------------------------------------------------------------------------*
48566 * Partial Init method
48567 * -----------------------------------------------------------------------------*/
48572 SWIGEXPORT
void SWIG_init(void) {
48575 /* Fix SwigMethods to carry the callback ptrs when needed */
48576 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48578 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48579 d
= PyModule_GetDict(m
);
48581 SWIG_InitializeModule(0);
48582 SWIG_InstallConstants(d
,swig_const_table
);
48585 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48586 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48587 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48588 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48589 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48590 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48591 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48592 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48593 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48594 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48595 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48596 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48597 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48598 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48599 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48600 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48601 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48602 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48603 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48604 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48605 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48606 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48607 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48608 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48609 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48610 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48611 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48612 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48613 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48614 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48615 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48616 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48617 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48618 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48619 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48620 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48621 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48622 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48623 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48624 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48625 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48626 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48627 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48628 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48629 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48630 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48631 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48632 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48633 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48634 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48635 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48636 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48637 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48638 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48639 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48640 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48641 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48642 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48643 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48644 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48645 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48646 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48647 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48648 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48649 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48650 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48651 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48652 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48653 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48654 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48655 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48656 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48657 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
48658 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48659 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48661 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48662 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48663 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48664 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48665 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48666 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48667 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48668 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48669 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48670 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48671 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48672 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48673 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48674 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48675 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48676 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48677 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48678 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48679 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48680 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48681 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48682 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48683 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48684 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48685 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48687 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48688 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48689 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48690 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48691 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48692 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48693 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48694 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48695 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48696 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48697 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48698 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48699 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48700 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48701 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48702 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48703 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48704 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48705 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48706 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48707 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48708 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48709 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48710 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48711 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48712 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48713 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48714 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48715 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48716 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48717 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48718 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48719 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48720 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48721 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48722 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48723 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48724 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48725 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48726 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48727 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48728 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48729 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48730 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48731 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48734 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48735 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48736 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48737 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48738 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48739 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48740 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48741 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48742 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48743 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48744 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48745 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48746 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48747 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48748 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48749 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48750 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48751 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
48752 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48753 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48754 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48755 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48756 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48757 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48758 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48759 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48760 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48761 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48762 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48763 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48764 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48765 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48766 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48767 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48768 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48769 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48770 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48771 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48772 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48773 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48774 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48775 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48776 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48777 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48778 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48779 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48780 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48781 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48782 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48783 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48784 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48785 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48786 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48787 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48788 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48789 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48790 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48791 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48792 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48793 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48794 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48795 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48796 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48797 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48798 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48799 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48800 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48801 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48802 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48803 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48804 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48805 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48806 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48807 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48808 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48809 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48810 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48811 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48812 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48813 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48814 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48815 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48816 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48817 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48818 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48819 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48820 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48821 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48826 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48829 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48830 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48832 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48835 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48836 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48837 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48838 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48839 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48840 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48841 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48843 // Map renamed classes back to their common name for OOR
48844 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48846 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48847 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48848 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48849 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48850 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48851 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48852 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48853 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48854 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48855 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48856 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48857 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48858 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48859 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48860 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48861 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48862 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48863 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48864 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48865 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48866 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48867 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48868 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48869 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48870 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48871 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48872 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48873 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48874 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48875 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48876 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48877 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48878 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48879 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48880 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48881 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48882 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48883 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48884 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48885 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48886 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48887 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48888 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48889 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48890 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48891 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48892 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48893 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48894 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48895 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48896 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48897 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48898 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48899 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48900 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48901 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48903 // Map renamed classes back to their common name for OOR
48904 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48905 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48907 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48908 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48909 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48910 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48911 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48912 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48913 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48914 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48915 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48916 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48917 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48919 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48921 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48922 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48923 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48924 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48925 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48926 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48927 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48928 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48929 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
48930 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
48931 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
48932 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48933 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48934 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48935 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48936 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48937 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48938 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48939 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48940 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48941 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48942 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48943 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48944 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48945 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48946 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48947 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48948 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48949 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48950 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48951 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48952 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48953 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48954 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48955 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48956 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48957 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48958 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48959 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48960 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48961 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48962 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48963 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));