1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2671 #define SWIG_name "_controls_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 const wxArrayString wxPyEmptyStringArray
;
2752 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2754 #define SWIG_From_long PyInt_FromLong
2757 SWIGINTERNINLINE PyObject
*
2758 SWIG_From_int (int value
)
2760 return SWIG_From_long (value
);
2766 # define LLONG_MIN LONG_LONG_MIN
2769 # define LLONG_MAX LONG_LONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2777 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2779 if (PyNumber_Check(obj
)) {
2780 if (val
) *val
= PyInt_AsLong(obj
);
2783 return SWIG_TypeError
;
2788 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2791 int res
= SWIG_AsVal_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< int >(v
);
2802 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2822 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 #include <wx/checklst.h>
2830 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2831 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2834 wxPyClientData
* data
= new wxPyClientData(clientData
);
2835 self
->Insert(item
, pos
, data
);
2838 self
->Insert(item
, pos
);
2842 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2845 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2846 return SWIG_TypeError
;
2849 *val
= (unsigned long)v
;
2855 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2858 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
> UINT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< unsigned int >(v
);
2869 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 self
->GetSelections(lst
);
2873 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2874 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2876 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2878 wxPyEndBlockThreads(blocked
);
2881 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2883 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2884 self
->GetItem(item
)->SetTextColour(c
);
2887 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2889 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2890 self
->GetItem(item
)->SetBackgroundColour(c
);
2893 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2895 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2896 self
->GetItem(item
)->SetFont(f
);
2899 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2900 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2901 self
->AppendText(text
);
2903 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2904 return self
->GetValue().Mid(from
, to
- from
);
2906 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2907 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2908 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2910 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2912 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_unsigned_SS_long (unsigned long value
)
2915 return (value
> LONG_MAX
) ?
2916 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_size_t (size_t value
)
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_unsigned_SS_int (unsigned int value
)
2930 return SWIG_From_unsigned_SS_long (value
);
2934 #include <wx/slider.h>
2937 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2938 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2940 #if !wxUSE_TOGGLEBTN
2941 // implement dummy items for platforms that don't have this class
2943 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2945 class wxToggleButton
: public wxControl
2948 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2949 const wxPoint
&, const wxSize
&, long,
2950 const wxValidator
&, const wxString
&)
2951 { wxPyRaiseNotImplemented(); }
2954 { wxPyRaiseNotImplemented(); }
2958 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2970 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2971 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2973 Py_INCREF(udata
->m_obj
);
2974 return udata
->m_obj
;
2980 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2981 self
->SetClientData(new wxPyUserData(clientData
));
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 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
){
2991 wxPyUserData
* udata
= NULL
;
2992 if (clientData
&& clientData
!= Py_None
)
2993 udata
= new wxPyUserData(clientData
);
2994 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2995 shortHelp
, longHelp
, udata
);
2997 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2998 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3000 Py_INCREF(udata
->m_obj
);
3001 return udata
->m_obj
;
3007 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3008 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3011 #include <wx/listctrl.h>
3013 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3014 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3018 PyObject
* func
= (PyObject
*)funcPtr
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3022 PyObject
* result
= PyEval_CallObject(func
, args
);
3025 retval
= PyInt_AsLong(result
);
3029 wxPyEndBlockThreads(blocked
);
3033 // C++ Version of a Python aware class
3034 class wxPyListCtrl
: public wxListCtrl
{
3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3042 const wxValidator
& validator
,
3043 const wxString
& name
) :
3044 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3046 bool Create(wxWindow
* parent
, wxWindowID id
,
3050 const wxValidator
& validator
,
3051 const wxString
& name
) {
3052 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3065 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3067 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3068 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3069 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3070 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3073 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3075 item
.SetMask( wxLIST_MASK_STATE
|
3083 if (self
->GetColumn(col
, item
))
3084 return new wxListItem(item
);
3088 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3089 wxListItem
* info
= new wxListItem
;
3090 info
->m_itemId
= itemId
;
3092 info
->m_mask
= 0xFFFF;
3093 self
->GetItem(*info
);
3096 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3098 self
->GetItemPosition(item
, pos
);
3101 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3103 self
->GetItemRect(item
, rect
, code
);
3106 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3107 if (!PyCallable_Check(func
))
3109 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3111 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3115 return (wxWindow
*)self
->m_mainWin
;
3119 #include <wx/treectrl.h>
3120 #include "wx/wxPython/pytree.h"
3122 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3123 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3124 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3125 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3127 static wxTreeItemId wxNullTreeItemId
;
3129 // C++ version of Python aware wxTreeCtrl
3130 class wxPyTreeCtrl
: public wxTreeCtrl
{
3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3138 const wxValidator
& validator
,
3139 const wxString
& name
) :
3140 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3142 bool Create(wxWindow
*parent
, wxWindowID id
,
3146 const wxValidator
& validator
,
3147 const wxString
& name
) {
3148 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3152 int OnCompareItems(const wxTreeItemId
& item1
,
3153 const wxTreeItemId
& item2
) {
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3158 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3159 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3160 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3164 wxPyEndBlockThreads(blocked
);
3166 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3172 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3175 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData();
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3185 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3187 data
= new wxPyTreeItemData();
3188 data
->SetId(item
); // set the id
3189 self
->SetItemData(item
, data
);
3191 return data
->GetData();
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3198 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3200 data
= new wxPyTreeItemData(obj
);
3201 data
->SetId(item
); // set the id
3202 self
->SetItemData(item
, data
);
3206 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* rval
= PyList_New(0);
3209 wxArrayTreeItemIds array
;
3211 num
= self
->GetSelections(array
);
3212 for (x
=0; x
< num
; x
++) {
3213 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3214 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3215 PyList_Append(rval
, item
);
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3223 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyObject
* tup
= PyTuple_New(2);
3226 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3227 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3228 wxPyEndBlockThreads(blocked
);
3231 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3232 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 PyObject
* tup
= PyTuple_New(2);
3235 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3236 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3237 wxPyEndBlockThreads(blocked
);
3240 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3242 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3243 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3244 wxRect
* r
= new wxRect(rect
);
3245 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3246 wxPyEndBlockThreads(blocked
);
3252 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3260 // C++ version of Python aware wxControl
3261 class wxPyControl
: public wxControl
3263 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3267 const wxPoint
& pos
= wxDefaultPosition
,
3268 const wxSize
& size
= wxDefaultSize
,
3270 const wxValidator
& validator
=wxDefaultValidator
,
3271 const wxString
& name
= wxPyControlNameStr
)
3272 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3275 bool DoEraseBackground(wxDC
* dc
) {
3277 return wxWindow::DoEraseBackground(dc
->GetHDC());
3279 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3297 DEC_PYCALLBACK__(InitDialog
);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3300 DEC_PYCALLBACK_BOOL_(Validate
);
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3319 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3321 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3322 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3323 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3330 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3333 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3340 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3342 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3346 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3348 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3350 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3354 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3356 #include <wx/generic/dragimgg.h>
3358 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3359 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3361 self
->GetRange(&rv
, NULL
);
3364 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3366 self
->GetRange(NULL
, &rv
);
3369 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3370 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3371 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3372 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3373 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3374 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3375 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3376 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3382 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3387 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3388 PyObject
*pyobj
= 0;
3392 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3401 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
= 0;
3403 wxWindow
*arg1
= (wxWindow
*) 0 ;
3404 int arg2
= (int) -1 ;
3405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3411 long arg6
= (long) 0 ;
3412 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3413 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3414 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3415 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3416 wxButton
*result
= 0 ;
3421 bool temp3
= false ;
3428 bool temp8
= false ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3431 PyObject
* obj2
= 0 ;
3432 PyObject
* obj3
= 0 ;
3433 PyObject
* obj4
= 0 ;
3434 PyObject
* obj5
= 0 ;
3435 PyObject
* obj6
= 0 ;
3436 PyObject
* obj7
= 0 ;
3437 char * kwnames
[] = {
3438 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3443 if (!SWIG_IsOK(res1
)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3449 if (!SWIG_IsOK(ecode2
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3452 arg2
= static_cast< int >(val2
);
3456 arg3
= wxString_in_helper(obj2
);
3457 if (arg3
== NULL
) SWIG_fail
;
3464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3475 if (!SWIG_IsOK(ecode6
)) {
3476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3478 arg6
= static_cast< long >(val6
);
3481 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3482 if (!SWIG_IsOK(res7
)) {
3483 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3488 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3492 arg8
= wxString_in_helper(obj7
);
3493 if (arg8
== NULL
) SWIG_fail
;
3498 if (!wxPyCheckForApp()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3527 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3528 PyObject
*resultobj
= 0;
3529 wxButton
*result
= 0 ;
3531 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3533 if (!wxPyCheckForApp()) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (wxButton
*)new wxButton();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3546 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
= 0;
3548 wxButton
*arg1
= (wxButton
*) 0 ;
3549 wxWindow
*arg2
= (wxWindow
*) 0 ;
3550 int arg3
= (int) -1 ;
3551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3555 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3556 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3557 long arg7
= (long) 0 ;
3558 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3559 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3560 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3561 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3569 bool temp4
= false ;
3576 bool temp9
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 PyObject
* obj2
= 0 ;
3580 PyObject
* obj3
= 0 ;
3581 PyObject
* obj4
= 0 ;
3582 PyObject
* obj5
= 0 ;
3583 PyObject
* obj6
= 0 ;
3584 PyObject
* obj7
= 0 ;
3585 PyObject
* obj8
= 0 ;
3586 char * kwnames
[] = {
3587 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3592 if (!SWIG_IsOK(res1
)) {
3593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3595 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3597 if (!SWIG_IsOK(res2
)) {
3598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3603 if (!SWIG_IsOK(ecode3
)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3606 arg3
= static_cast< int >(val3
);
3610 arg4
= wxString_in_helper(obj3
);
3611 if (arg4
== NULL
) SWIG_fail
;
3618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3624 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3628 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3629 if (!SWIG_IsOK(ecode7
)) {
3630 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3632 arg7
= static_cast< long >(val7
);
3635 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3636 if (!SWIG_IsOK(res8
)) {
3637 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3642 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3646 arg9
= wxString_in_helper(obj8
);
3647 if (arg9
== NULL
) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3683 PyObject
*resultobj
= 0;
3684 wxButton
*arg1
= (wxButton
*) 0 ;
3687 PyObject
*swig_obj
[1] ;
3689 if (!args
) SWIG_fail
;
3691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3692 if (!SWIG_IsOK(res1
)) {
3693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3695 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetDefault();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= SWIG_Py_Void();
3709 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3710 PyObject
*resultobj
= 0;
3713 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= wxButton::GetDefaultSize();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3727 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
= 0;
3729 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3730 SwigValueWrapper
<wxVisualAttributes
> result
;
3733 PyObject
* obj0
= 0 ;
3734 char * kwnames
[] = {
3735 (char *) "variant", NULL
3738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3741 if (!SWIG_IsOK(ecode1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3744 arg1
= static_cast< wxWindowVariant
>(val1
);
3747 if (!wxPyCheckForApp()) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= wxButton::GetClassDefaultAttributes(arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3760 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3763 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3764 return SWIG_Py_Void();
3767 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3768 return SWIG_Python_InitShadowInstance(args
);
3771 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
= 0;
3773 wxWindow
*arg1
= (wxWindow
*) 0 ;
3774 int arg2
= (int) -1 ;
3775 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3776 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3781 long arg6
= (long) wxBU_AUTODRAW
;
3782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3784 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3786 wxBitmapButton
*result
= 0 ;
3799 bool temp8
= false ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3804 PyObject
* obj4
= 0 ;
3805 PyObject
* obj5
= 0 ;
3806 PyObject
* obj6
= 0 ;
3807 PyObject
* obj7
= 0 ;
3808 char * kwnames
[] = {
3809 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3820 if (!SWIG_IsOK(ecode2
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3823 arg2
= static_cast< int >(val2
);
3826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3827 if (!SWIG_IsOK(res3
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3848 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3849 if (!SWIG_IsOK(ecode6
)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3852 arg6
= static_cast< long >(val6
);
3855 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3856 if (!SWIG_IsOK(res7
)) {
3857 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3862 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3893 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3894 PyObject
*resultobj
= 0;
3895 wxBitmapButton
*result
= 0 ;
3897 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxBitmapButton
*)new wxBitmapButton();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3912 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
= 0;
3914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3916 int arg3
= (int) -1 ;
3917 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3918 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3923 long arg7
= (long) wxBU_AUTODRAW
;
3924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3926 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3953 char * kwnames
[] = {
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3962 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3964 if (!SWIG_IsOK(res2
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3970 if (!SWIG_IsOK(ecode3
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3973 arg3
= static_cast< int >(val3
);
3976 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3977 if (!SWIG_IsOK(res4
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3983 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3999 if (!SWIG_IsOK(ecode7
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4002 arg7
= static_cast< long >(val7
);
4005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4006 if (!SWIG_IsOK(res8
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4016 arg9
= wxString_in_helper(obj8
);
4017 if (arg9
== NULL
) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4044 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4050 PyObject
*swig_obj
[1] ;
4052 if (!args
) SWIG_fail
;
4054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4055 if (!SWIG_IsOK(res1
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4058 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (arg1
)->GetBitmapLabel();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4072 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4073 PyObject
*resultobj
= 0;
4074 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4078 PyObject
*swig_obj
[1] ;
4080 if (!args
) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4086 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (arg1
)->GetBitmapDisabled();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4100 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 PyObject
*resultobj
= 0;
4102 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4106 PyObject
*swig_obj
[1] ;
4108 if (!args
) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4114 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (arg1
)->GetBitmapFocus();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4128 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4134 PyObject
*swig_obj
[1] ;
4136 if (!args
) SWIG_fail
;
4138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4139 if (!SWIG_IsOK(res1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4142 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (arg1
)->GetBitmapSelected();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4156 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4157 PyObject
*resultobj
= 0;
4158 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4162 PyObject
*swig_obj
[1] ;
4164 if (!args
) SWIG_fail
;
4166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4167 if (!SWIG_IsOK(res1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4170 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (arg1
)->GetBitmapHover();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4184 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
= 0;
4186 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 wxBitmap
*arg2
= 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "self",(char *) "bitmap", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4203 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4205 if (!SWIG_IsOK(res2
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4228 wxBitmap
*arg2
= 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4235 char * kwnames
[] = {
4236 (char *) "self",(char *) "bitmap", NULL
4239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4241 if (!SWIG_IsOK(res1
)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4244 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4246 if (!SWIG_IsOK(res2
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
= 0;
4268 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4269 wxBitmap
*arg2
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "bitmap", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4285 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4287 if (!SWIG_IsOK(res2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_Py_Void();
4307 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= 0;
4309 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4310 wxBitmap
*arg2
= 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 char * kwnames
[] = {
4318 (char *) "self",(char *) "bitmap", NULL
4321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4326 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4328 if (!SWIG_IsOK(res2
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_Py_Void();
4348 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= 0;
4350 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4351 wxBitmap
*arg2
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "hover", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4367 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4369 if (!SWIG_IsOK(res2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_Py_Void();
4389 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 PyObject
* obj2
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "x",(char *) "y", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4412 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4419 if (!SWIG_IsOK(ecode3
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4422 arg3
= static_cast< int >(val3
);
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->SetMargins(arg2
,arg3
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4437 PyObject
*resultobj
= 0;
4438 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4442 PyObject
*swig_obj
[1] ;
4444 if (!args
) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4450 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_From_int(static_cast< int >(result
));
4464 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 PyObject
*resultobj
= 0;
4466 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4470 PyObject
*swig_obj
[1] ;
4472 if (!args
) SWIG_fail
;
4474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4475 if (!SWIG_IsOK(res1
)) {
4476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4478 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_From_int(static_cast< int >(result
));
4492 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4495 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4496 return SWIG_Py_Void();
4499 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4500 return SWIG_Python_InitShadowInstance(args
);
4503 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4504 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4509 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4510 PyObject
*pyobj
= 0;
4514 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4523 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
= 0;
4525 wxWindow
*arg1
= (wxWindow
*) 0 ;
4526 int arg2
= (int) -1 ;
4527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4533 long arg6
= (long) 0 ;
4534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4536 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4538 wxCheckBox
*result
= 0 ;
4543 bool temp3
= false ;
4550 bool temp8
= false ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4553 PyObject
* obj2
= 0 ;
4554 PyObject
* obj3
= 0 ;
4555 PyObject
* obj4
= 0 ;
4556 PyObject
* obj5
= 0 ;
4557 PyObject
* obj6
= 0 ;
4558 PyObject
* obj7
= 0 ;
4559 char * kwnames
[] = {
4560 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4571 if (!SWIG_IsOK(ecode2
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4574 arg2
= static_cast< int >(val2
);
4578 arg3
= wxString_in_helper(obj2
);
4579 if (arg3
== NULL
) SWIG_fail
;
4586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4597 if (!SWIG_IsOK(ecode6
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4600 arg6
= static_cast< long >(val6
);
4603 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4604 if (!SWIG_IsOK(res7
)) {
4605 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4610 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4614 arg8
= wxString_in_helper(obj7
);
4615 if (arg8
== NULL
) SWIG_fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4649 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4650 PyObject
*resultobj
= 0;
4651 wxCheckBox
*result
= 0 ;
4653 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4655 if (!wxPyCheckForApp()) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (wxCheckBox
*)new wxCheckBox();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4668 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4671 wxWindow
*arg2
= (wxWindow
*) 0 ;
4672 int arg3
= (int) -1 ;
4673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4675 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4676 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4677 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4678 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4679 long arg7
= (long) 0 ;
4680 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4681 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4682 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4683 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4691 bool temp4
= false ;
4698 bool temp9
= false ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4702 PyObject
* obj3
= 0 ;
4703 PyObject
* obj4
= 0 ;
4704 PyObject
* obj5
= 0 ;
4705 PyObject
* obj6
= 0 ;
4706 PyObject
* obj7
= 0 ;
4707 PyObject
* obj8
= 0 ;
4708 char * kwnames
[] = {
4709 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4717 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4719 if (!SWIG_IsOK(res2
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4725 if (!SWIG_IsOK(ecode3
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4728 arg3
= static_cast< int >(val3
);
4732 arg4
= wxString_in_helper(obj3
);
4733 if (arg4
== NULL
) SWIG_fail
;
4740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4750 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4751 if (!SWIG_IsOK(ecode7
)) {
4752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4754 arg7
= static_cast< long >(val7
);
4757 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4758 if (!SWIG_IsOK(res8
)) {
4759 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4764 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4768 arg9
= wxString_in_helper(obj8
);
4769 if (arg9
== NULL
) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->GetValue();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4840 PyObject
*swig_obj
[1] ;
4842 if (!args
) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4848 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (bool)(arg1
)->IsChecked();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= 0;
4866 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 char * kwnames
[] = {
4875 (char *) "self",(char *) "state", NULL
4878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4880 if (!SWIG_IsOK(res1
)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4883 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4885 if (!SWIG_IsOK(ecode2
)) {
4886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4888 arg2
= static_cast< bool >(val2
);
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->SetValue(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_Py_Void();
4902 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4903 PyObject
*resultobj
= 0;
4904 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4905 wxCheckBoxState result
;
4908 PyObject
*swig_obj
[1] ;
4910 if (!args
) SWIG_fail
;
4912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4913 if (!SWIG_IsOK(res1
)) {
4914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4916 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_From_int(static_cast< int >(result
));
4930 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
= 0;
4932 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4933 wxCheckBoxState arg2
;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "state", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4949 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4954 arg2
= static_cast< wxCheckBoxState
>(val2
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->Set3StateValue(arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_Py_Void();
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5000 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5004 PyObject
*swig_obj
[1] ;
5006 if (!args
) SWIG_fail
;
5008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5009 if (!SWIG_IsOK(res1
)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5012 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5031 SwigValueWrapper
<wxVisualAttributes
> result
;
5034 PyObject
* obj0
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "variant", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5042 if (!SWIG_IsOK(ecode1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5045 arg1
= static_cast< wxWindowVariant
>(val1
);
5048 if (!wxPyCheckForApp()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5061 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5064 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5065 return SWIG_Py_Void();
5068 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 return SWIG_Python_InitShadowInstance(args
);
5072 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5073 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5078 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5079 PyObject
*pyobj
= 0;
5083 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5092 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxWindow
*arg1
= (wxWindow
*) 0 ;
5095 int arg2
= (int) -1 ;
5096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5100 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5101 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5102 long arg6
= (long) 0 ;
5103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5105 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5107 wxChoice
*result
= 0 ;
5114 bool temp5
= false ;
5119 bool temp8
= false ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5125 PyObject
* obj5
= 0 ;
5126 PyObject
* obj6
= 0 ;
5127 PyObject
* obj7
= 0 ;
5128 char * kwnames
[] = {
5129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5140 if (!SWIG_IsOK(ecode2
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5143 arg2
= static_cast< int >(val2
);
5148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5159 if (! PySequence_Check(obj4
)) {
5160 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5163 arg5
= new wxArrayString
;
5165 int i
, len
=PySequence_Length(obj4
);
5166 for (i
=0; i
<len
; i
++) {
5167 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5168 wxString
* s
= wxString_in_helper(item
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5178 if (!SWIG_IsOK(ecode6
)) {
5179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5181 arg6
= static_cast< long >(val6
);
5184 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5185 if (!SWIG_IsOK(res7
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5191 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5195 arg8
= wxString_in_helper(obj7
);
5196 if (arg8
== NULL
) SWIG_fail
;
5201 if (!wxPyCheckForApp()) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5209 if (temp5
) delete arg5
;
5218 if (temp5
) delete arg5
;
5228 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxChoice
*result
= 0 ;
5232 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5234 if (!wxPyCheckForApp()) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (wxChoice
*)new wxChoice();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5247 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 wxChoice
*arg1
= (wxChoice
*) 0 ;
5250 wxWindow
*arg2
= (wxWindow
*) 0 ;
5251 int arg3
= (int) -1 ;
5252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5256 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5257 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5258 long arg7
= (long) 0 ;
5259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5261 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5272 bool temp6
= false ;
5277 bool temp9
= false ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5281 PyObject
* obj3
= 0 ;
5282 PyObject
* obj4
= 0 ;
5283 PyObject
* obj5
= 0 ;
5284 PyObject
* obj6
= 0 ;
5285 PyObject
* obj7
= 0 ;
5286 PyObject
* obj8
= 0 ;
5287 char * kwnames
[] = {
5288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5296 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5298 if (!SWIG_IsOK(res2
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5304 if (!SWIG_IsOK(ecode3
)) {
5305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5307 arg3
= static_cast< int >(val3
);
5312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5323 if (! PySequence_Check(obj5
)) {
5324 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5327 arg6
= new wxArrayString
;
5329 int i
, len
=PySequence_Length(obj5
);
5330 for (i
=0; i
<len
; i
++) {
5331 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5332 wxString
* s
= wxString_in_helper(item
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5342 if (!SWIG_IsOK(ecode7
)) {
5343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5345 arg7
= static_cast< long >(val7
);
5348 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5349 if (!SWIG_IsOK(res8
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5355 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5359 arg9
= wxString_in_helper(obj8
);
5360 if (arg9
== NULL
) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5374 if (temp6
) delete arg6
;
5383 if (temp6
) delete arg6
;
5393 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxChoice
*arg1
= (wxChoice
*) 0 ;
5399 PyObject
*swig_obj
[1] ;
5401 if (!args
) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5407 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_From_int(static_cast< int >(result
));
5421 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5423 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5424 SwigValueWrapper
<wxVisualAttributes
> result
;
5427 PyObject
* obj0
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "variant", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5435 if (!SWIG_IsOK(ecode1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5438 arg1
= static_cast< wxWindowVariant
>(val1
);
5441 if (!wxPyCheckForApp()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5454 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5457 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5458 return SWIG_Py_Void();
5461 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 return SWIG_Python_InitShadowInstance(args
);
5465 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5466 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5471 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5472 PyObject
*pyobj
= 0;
5476 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5485 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
= 0;
5487 wxWindow
*arg1
= (wxWindow
*) 0 ;
5488 int arg2
= (int) -1 ;
5489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5495 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5496 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5497 long arg7
= (long) 0 ;
5498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5500 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5502 wxComboBox
*result
= 0 ;
5507 bool temp3
= false ;
5510 bool temp6
= false ;
5515 bool temp9
= false ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5518 PyObject
* obj2
= 0 ;
5519 PyObject
* obj3
= 0 ;
5520 PyObject
* obj4
= 0 ;
5521 PyObject
* obj5
= 0 ;
5522 PyObject
* obj6
= 0 ;
5523 PyObject
* obj7
= 0 ;
5524 PyObject
* obj8
= 0 ;
5525 char * kwnames
[] = {
5526 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5537 if (!SWIG_IsOK(ecode2
)) {
5538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5540 arg2
= static_cast< int >(val2
);
5544 arg3
= wxString_in_helper(obj2
);
5545 if (arg3
== NULL
) SWIG_fail
;
5552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5563 if (! PySequence_Check(obj5
)) {
5564 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5567 arg6
= new wxArrayString
;
5569 int i
, len
=PySequence_Length(obj5
);
5570 for (i
=0; i
<len
; i
++) {
5571 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5572 wxString
* s
= wxString_in_helper(item
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5581 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5582 if (!SWIG_IsOK(ecode7
)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5585 arg7
= static_cast< long >(val7
);
5588 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5589 if (!SWIG_IsOK(res8
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5599 arg9
= wxString_in_helper(obj8
);
5600 if (arg9
== NULL
) SWIG_fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 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
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5617 if (temp6
) delete arg6
;
5630 if (temp6
) delete arg6
;
5640 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5641 PyObject
*resultobj
= 0;
5642 wxComboBox
*result
= 0 ;
5644 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxComboBox
*)new wxComboBox();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5659 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5662 wxWindow
*arg2
= (wxWindow
*) 0 ;
5663 int arg3
= (int) -1 ;
5664 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5665 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5666 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5667 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5668 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5669 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5670 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5671 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5672 long arg8
= (long) 0 ;
5673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5675 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5684 bool temp4
= false ;
5687 bool temp7
= false ;
5692 bool temp10
= false ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 PyObject
* obj4
= 0 ;
5698 PyObject
* obj5
= 0 ;
5699 PyObject
* obj6
= 0 ;
5700 PyObject
* obj7
= 0 ;
5701 PyObject
* obj8
= 0 ;
5702 PyObject
* obj9
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5712 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5714 if (!SWIG_IsOK(res2
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5720 if (!SWIG_IsOK(ecode3
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5723 arg3
= static_cast< int >(val3
);
5727 arg4
= wxString_in_helper(obj3
);
5728 if (arg4
== NULL
) SWIG_fail
;
5735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5746 if (! PySequence_Check(obj6
)) {
5747 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5750 arg7
= new wxArrayString
;
5752 int i
, len
=PySequence_Length(obj6
);
5753 for (i
=0; i
<len
; i
++) {
5754 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5755 wxString
* s
= wxString_in_helper(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5764 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5765 if (!SWIG_IsOK(ecode8
)) {
5766 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5768 arg8
= static_cast< long >(val8
);
5771 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5772 if (!SWIG_IsOK(res9
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5778 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5782 arg10
= wxString_in_helper(obj9
);
5783 if (arg10
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 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
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 if (temp7
) delete arg7
;
5814 if (temp7
) delete arg7
;
5824 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5830 PyObject
*swig_obj
[1] ;
5832 if (!args
) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5838 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= ((wxComboBox
const *)arg1
)->GetValue();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5858 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5861 wxString
*arg2
= 0 ;
5864 bool temp2
= false ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "value", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5876 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5878 arg2
= wxString_in_helper(obj1
);
5879 if (arg2
== NULL
) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetValue((wxString
const &)*arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5903 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5904 PyObject
*resultobj
= 0;
5905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5916 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_Py_Void();
5930 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5931 PyObject
*resultobj
= 0;
5932 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5935 PyObject
*swig_obj
[1] ;
5937 if (!args
) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5943 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "pos", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6003 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6005 if (!SWIG_IsOK(ecode2
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6008 arg2
= static_cast< long >(val2
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->SetInsertionPoint(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_Py_Void();
6022 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6036 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_long(static_cast< long >(result
));
6050 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6064 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_From_long(static_cast< long >(result
));
6078 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
= 0;
6080 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6083 wxString
*arg4
= 0 ;
6090 bool temp4
= false ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 PyObject
* obj2
= 0 ;
6094 PyObject
* obj3
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6104 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6109 arg2
= static_cast< long >(val2
);
6110 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6111 if (!SWIG_IsOK(ecode3
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6114 arg3
= static_cast< long >(val3
);
6116 arg4
= wxString_in_helper(obj3
);
6117 if (arg4
== NULL
) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_Py_Void();
6141 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "self",(char *) "from",(char *) "to", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6164 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6169 arg2
= static_cast< long >(val2
);
6170 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6171 if (!SWIG_IsOK(ecode3
)) {
6172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6174 arg3
= static_cast< long >(val3
);
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetSelection(arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 long *arg2
= (long *) 0 ;
6192 long *arg3
= (long *) 0 ;
6196 int res2
= SWIG_TMPOBJ
;
6198 int res3
= SWIG_TMPOBJ
;
6199 PyObject
*swig_obj
[1] ;
6203 if (!args
) SWIG_fail
;
6205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6206 if (!SWIG_IsOK(res1
)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6209 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 (arg1
)->GetSelection(arg2
,arg3
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_Py_Void();
6217 if (SWIG_IsTmpObj(res2
)) {
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6223 if (SWIG_IsTmpObj(res3
)) {
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6235 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6236 PyObject
*resultobj
= 0;
6237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6241 PyObject
*swig_obj
[1] ;
6243 if (!args
) SWIG_fail
;
6245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6246 if (!SWIG_IsOK(res1
)) {
6247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6249 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= SWIG_From_int(static_cast< int >(result
));
6263 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
= 0;
6265 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6266 wxString
*arg2
= 0 ;
6270 bool temp2
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 char * kwnames
[] = {
6274 (char *) "self",(char *) "string", NULL
6277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6279 if (!SWIG_IsOK(res1
)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6282 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 arg2
= wxString_in_helper(obj1
);
6285 if (arg2
== NULL
) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6311 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6315 wxString
*arg3
= 0 ;
6320 bool temp3
= false ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "n",(char *) "string", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6335 if (!SWIG_IsOK(ecode2
)) {
6336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6338 arg2
= static_cast< int >(val2
);
6340 arg3
= wxString_in_helper(obj2
);
6341 if (arg3
== NULL
) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_Py_Void();
6365 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 char * kwnames
[] = {
6376 (char *) "self",(char *) "editable", NULL
6379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6381 if (!SWIG_IsOK(res1
)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6384 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6385 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6386 if (!SWIG_IsOK(ecode2
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6389 arg2
= static_cast< bool >(val2
);
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetEditable(arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_Py_Void();
6403 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6404 PyObject
*resultobj
= 0;
6405 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6408 PyObject
*swig_obj
[1] ;
6410 if (!args
) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6416 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->SetInsertionPointEnd();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 PyObject
* obj2
= 0 ;
6444 char * kwnames
[] = {
6445 (char *) "self",(char *) "from",(char *) "to", NULL
6448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6450 if (!SWIG_IsOK(res1
)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6453 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6455 if (!SWIG_IsOK(ecode2
)) {
6456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6458 arg2
= static_cast< long >(val2
);
6459 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6460 if (!SWIG_IsOK(ecode3
)) {
6461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6463 arg3
= static_cast< long >(val3
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->Remove(arg2
,arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_Py_Void();
6477 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6491 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6539 PyObject
*swig_obj
[1] ;
6541 if (!args
) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6547 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 PyObject
*resultobj
= 0;
6563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6574 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->SelectAll();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_Py_Void();
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6722 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6738 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= 0;
6740 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6741 SwigValueWrapper
<wxVisualAttributes
> result
;
6744 PyObject
* obj0
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "variant", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6752 if (!SWIG_IsOK(ecode1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6755 arg1
= static_cast< wxWindowVariant
>(val1
);
6758 if (!wxPyCheckForApp()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6771 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6774 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6775 return SWIG_Py_Void();
6778 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 return SWIG_Python_InitShadowInstance(args
);
6782 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6783 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6788 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6789 PyObject
*pyobj
= 0;
6793 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6802 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxWindow
*arg1
= (wxWindow
*) 0 ;
6805 int arg2
= (int) -1 ;
6806 int arg3
= (int) 100 ;
6807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6811 long arg6
= (long) wxGA_HORIZONTAL
;
6812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6814 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6816 wxGauge
*result
= 0 ;
6829 bool temp8
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6834 PyObject
* obj4
= 0 ;
6835 PyObject
* obj5
= 0 ;
6836 PyObject
* obj6
= 0 ;
6837 PyObject
* obj7
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6850 if (!SWIG_IsOK(ecode2
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6853 arg2
= static_cast< int >(val2
);
6856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6857 if (!SWIG_IsOK(ecode3
)) {
6858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6860 arg3
= static_cast< int >(val3
);
6865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6875 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6876 if (!SWIG_IsOK(ecode6
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6879 arg6
= static_cast< long >(val6
);
6882 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6883 if (!SWIG_IsOK(res7
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6889 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6893 arg8
= wxString_in_helper(obj7
);
6894 if (arg8
== NULL
) SWIG_fail
;
6899 if (!wxPyCheckForApp()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6920 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6922 wxGauge
*result
= 0 ;
6924 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6926 if (!wxPyCheckForApp()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (wxGauge
*)new wxGauge();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxGauge
*arg1
= (wxGauge
*) 0 ;
6942 wxWindow
*arg2
= (wxWindow
*) 0 ;
6943 int arg3
= (int) -1 ;
6944 int arg4
= (int) 100 ;
6945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6949 long arg7
= (long) wxGA_HORIZONTAL
;
6950 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6951 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6952 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6953 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6969 bool temp9
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6973 PyObject
* obj3
= 0 ;
6974 PyObject
* obj4
= 0 ;
6975 PyObject
* obj5
= 0 ;
6976 PyObject
* obj6
= 0 ;
6977 PyObject
* obj7
= 0 ;
6978 PyObject
* obj8
= 0 ;
6979 char * kwnames
[] = {
6980 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6988 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6990 if (!SWIG_IsOK(res2
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6996 if (!SWIG_IsOK(ecode3
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6999 arg3
= static_cast< int >(val3
);
7002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7003 if (!SWIG_IsOK(ecode4
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7006 arg4
= static_cast< int >(val4
);
7011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7021 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7022 if (!SWIG_IsOK(ecode7
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7025 arg7
= static_cast< long >(val7
);
7028 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7029 if (!SWIG_IsOK(res8
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7035 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7039 arg9
= wxString_in_helper(obj8
);
7040 if (arg9
== NULL
) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7067 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7069 wxGauge
*arg1
= (wxGauge
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "range", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7086 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7088 if (!SWIG_IsOK(ecode2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7091 arg2
= static_cast< int >(val2
);
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->SetRange(arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_Py_Void();
7105 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7107 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7119 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_From_int(static_cast< int >(result
));
7133 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
= 0;
7135 wxGauge
*arg1
= (wxGauge
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "self",(char *) "pos", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7152 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7154 if (!SWIG_IsOK(ecode2
)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7157 arg2
= static_cast< int >(val2
);
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetValue(arg2
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_Py_Void();
7171 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7172 PyObject
*resultobj
= 0;
7173 wxGauge
*arg1
= (wxGauge
*) 0 ;
7177 PyObject
*swig_obj
[1] ;
7179 if (!args
) SWIG_fail
;
7181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7182 if (!SWIG_IsOK(res1
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7185 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_From_int(static_cast< int >(result
));
7199 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7204 PyObject
*swig_obj
[1] ;
7206 if (!args
) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7212 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_Py_Void();
7226 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxGauge
*arg1
= (wxGauge
*) 0 ;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7240 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7256 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxGauge
*arg1
= (wxGauge
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "self",(char *) "w", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7275 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->SetShadowWidth(arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_Py_Void();
7294 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxGauge
*arg1
= (wxGauge
*) 0 ;
7300 PyObject
*swig_obj
[1] ;
7302 if (!args
) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7308 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_From_int(static_cast< int >(result
));
7322 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxGauge
*arg1
= (wxGauge
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "w", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7341 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7343 if (!SWIG_IsOK(ecode2
)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7346 arg2
= static_cast< int >(val2
);
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetBezelFace(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_Py_Void();
7360 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 PyObject
*resultobj
= 0;
7362 wxGauge
*arg1
= (wxGauge
*) 0 ;
7366 PyObject
*swig_obj
[1] ;
7368 if (!args
) SWIG_fail
;
7370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7371 if (!SWIG_IsOK(res1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7374 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int(static_cast< int >(result
));
7388 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= 0;
7390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7391 SwigValueWrapper
<wxVisualAttributes
> result
;
7394 PyObject
* obj0
= 0 ;
7395 char * kwnames
[] = {
7396 (char *) "variant", NULL
7399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7402 if (!SWIG_IsOK(ecode1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7405 arg1
= static_cast< wxWindowVariant
>(val1
);
7408 if (!wxPyCheckForApp()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7421 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7424 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7425 return SWIG_Py_Void();
7428 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 return SWIG_Python_InitShadowInstance(args
);
7432 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7433 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7438 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7439 PyObject
*pyobj
= 0;
7443 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7445 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7452 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7453 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7458 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7459 PyObject
*pyobj
= 0;
7463 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7465 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7472 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7473 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7478 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7479 PyObject
*pyobj
= 0;
7483 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7485 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7492 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
= 0;
7494 wxWindow
*arg1
= (wxWindow
*) 0 ;
7495 int arg2
= (int) -1 ;
7496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7502 long arg6
= (long) 0 ;
7503 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7505 wxStaticBox
*result
= 0 ;
7510 bool temp3
= false ;
7515 bool temp7
= false ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7518 PyObject
* obj2
= 0 ;
7519 PyObject
* obj3
= 0 ;
7520 PyObject
* obj4
= 0 ;
7521 PyObject
* obj5
= 0 ;
7522 PyObject
* obj6
= 0 ;
7523 char * kwnames
[] = {
7524 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7529 if (!SWIG_IsOK(res1
)) {
7530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7535 if (!SWIG_IsOK(ecode2
)) {
7536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7538 arg2
= static_cast< int >(val2
);
7542 arg3
= wxString_in_helper(obj2
);
7543 if (arg3
== NULL
) SWIG_fail
;
7550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7560 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7561 if (!SWIG_IsOK(ecode6
)) {
7562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7564 arg6
= static_cast< long >(val6
);
7568 arg7
= wxString_in_helper(obj6
);
7569 if (arg7
== NULL
) SWIG_fail
;
7574 if (!wxPyCheckForApp()) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7603 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7604 PyObject
*resultobj
= 0;
7605 wxStaticBox
*result
= 0 ;
7607 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7609 if (!wxPyCheckForApp()) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (wxStaticBox
*)new wxStaticBox();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7622 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
= 0;
7624 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7625 wxWindow
*arg2
= (wxWindow
*) 0 ;
7626 int arg3
= (int) -1 ;
7627 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7629 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7630 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7631 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7632 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7633 long arg7
= (long) 0 ;
7634 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7643 bool temp4
= false ;
7648 bool temp8
= false ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 PyObject
* obj2
= 0 ;
7652 PyObject
* obj3
= 0 ;
7653 PyObject
* obj4
= 0 ;
7654 PyObject
* obj5
= 0 ;
7655 PyObject
* obj6
= 0 ;
7656 PyObject
* obj7
= 0 ;
7657 char * kwnames
[] = {
7658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7666 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7668 if (!SWIG_IsOK(res2
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7674 if (!SWIG_IsOK(ecode3
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7677 arg3
= static_cast< int >(val3
);
7681 arg4
= wxString_in_helper(obj3
);
7682 if (arg4
== NULL
) SWIG_fail
;
7689 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7695 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7699 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7700 if (!SWIG_IsOK(ecode7
)) {
7701 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7703 arg7
= static_cast< long >(val7
);
7707 arg8
= wxString_in_helper(obj7
);
7708 if (arg8
== NULL
) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7746 SwigValueWrapper
<wxVisualAttributes
> result
;
7749 PyObject
* obj0
= 0 ;
7750 char * kwnames
[] = {
7751 (char *) "variant", NULL
7754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7757 if (!SWIG_IsOK(ecode1
)) {
7758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7760 arg1
= static_cast< wxWindowVariant
>(val1
);
7763 if (!wxPyCheckForApp()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7776 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7779 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7780 return SWIG_Py_Void();
7783 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7784 return SWIG_Python_InitShadowInstance(args
);
7787 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
= 0;
7789 wxWindow
*arg1
= (wxWindow
*) 0 ;
7790 int arg2
= (int) -1 ;
7791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7793 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7794 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7795 long arg5
= (long) wxLI_HORIZONTAL
;
7796 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7797 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7798 wxStaticLine
*result
= 0 ;
7807 bool temp6
= false ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7810 PyObject
* obj2
= 0 ;
7811 PyObject
* obj3
= 0 ;
7812 PyObject
* obj4
= 0 ;
7813 PyObject
* obj5
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7826 if (!SWIG_IsOK(ecode2
)) {
7827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7829 arg2
= static_cast< int >(val2
);
7834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7840 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7844 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7845 if (!SWIG_IsOK(ecode5
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7848 arg5
= static_cast< long >(val5
);
7852 arg6
= wxString_in_helper(obj5
);
7853 if (arg6
== NULL
) SWIG_fail
;
7858 if (!wxPyCheckForApp()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7879 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7880 PyObject
*resultobj
= 0;
7881 wxStaticLine
*result
= 0 ;
7883 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7885 if (!wxPyCheckForApp()) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (wxStaticLine
*)new wxStaticLine();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7898 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7901 wxWindow
*arg2
= (wxWindow
*) 0 ;
7902 int arg3
= (int) -1 ;
7903 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7904 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7905 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7906 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7907 long arg6
= (long) wxLI_HORIZONTAL
;
7908 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7909 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7921 bool temp7
= false ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7924 PyObject
* obj2
= 0 ;
7925 PyObject
* obj3
= 0 ;
7926 PyObject
* obj4
= 0 ;
7927 PyObject
* obj5
= 0 ;
7928 PyObject
* obj6
= 0 ;
7929 char * kwnames
[] = {
7930 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7935 if (!SWIG_IsOK(res1
)) {
7936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7938 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7940 if (!SWIG_IsOK(res2
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7946 if (!SWIG_IsOK(ecode3
)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7949 arg3
= static_cast< int >(val3
);
7954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7964 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7965 if (!SWIG_IsOK(ecode6
)) {
7966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7968 arg6
= static_cast< long >(val6
);
7972 arg7
= wxString_in_helper(obj6
);
7973 if (arg7
== NULL
) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8002 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8006 PyObject
*swig_obj
[1] ;
8008 if (!args
) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8014 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8030 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8034 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (int)wxStaticLine::GetDefaultSize();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_From_int(static_cast< int >(result
));
8048 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8051 SwigValueWrapper
<wxVisualAttributes
> result
;
8054 PyObject
* obj0
= 0 ;
8055 char * kwnames
[] = {
8056 (char *) "variant", NULL
8059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8062 if (!SWIG_IsOK(ecode1
)) {
8063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8065 arg1
= static_cast< wxWindowVariant
>(val1
);
8068 if (!wxPyCheckForApp()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8081 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8084 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8085 return SWIG_Py_Void();
8088 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8089 return SWIG_Python_InitShadowInstance(args
);
8092 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
= 0;
8094 wxWindow
*arg1
= (wxWindow
*) 0 ;
8095 int arg2
= (int) -1 ;
8096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8102 long arg6
= (long) 0 ;
8103 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8105 wxStaticText
*result
= 0 ;
8110 bool temp3
= false ;
8115 bool temp7
= false ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 PyObject
* obj3
= 0 ;
8120 PyObject
* obj4
= 0 ;
8121 PyObject
* obj5
= 0 ;
8122 PyObject
* obj6
= 0 ;
8123 char * kwnames
[] = {
8124 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8135 if (!SWIG_IsOK(ecode2
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8138 arg2
= static_cast< int >(val2
);
8142 arg3
= wxString_in_helper(obj2
);
8143 if (arg3
== NULL
) SWIG_fail
;
8150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8160 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8161 if (!SWIG_IsOK(ecode6
)) {
8162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8164 arg6
= static_cast< long >(val6
);
8168 arg7
= wxString_in_helper(obj6
);
8169 if (arg7
== NULL
) SWIG_fail
;
8174 if (!wxPyCheckForApp()) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8203 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8204 PyObject
*resultobj
= 0;
8205 wxStaticText
*result
= 0 ;
8207 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8209 if (!wxPyCheckForApp()) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (wxStaticText
*)new wxStaticText();
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8222 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= 0;
8224 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8225 wxWindow
*arg2
= (wxWindow
*) 0 ;
8226 int arg3
= (int) -1 ;
8227 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8228 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8229 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8230 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8231 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8232 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8233 long arg7
= (long) 0 ;
8234 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8243 bool temp4
= false ;
8248 bool temp8
= false ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 PyObject
* obj2
= 0 ;
8252 PyObject
* obj3
= 0 ;
8253 PyObject
* obj4
= 0 ;
8254 PyObject
* obj5
= 0 ;
8255 PyObject
* obj6
= 0 ;
8256 PyObject
* obj7
= 0 ;
8257 char * kwnames
[] = {
8258 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8263 if (!SWIG_IsOK(res1
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8266 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8268 if (!SWIG_IsOK(res2
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8274 if (!SWIG_IsOK(ecode3
)) {
8275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8277 arg3
= static_cast< int >(val3
);
8281 arg4
= wxString_in_helper(obj3
);
8282 if (arg4
== NULL
) SWIG_fail
;
8289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8299 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8300 if (!SWIG_IsOK(ecode7
)) {
8301 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8303 arg7
= static_cast< long >(val7
);
8307 arg8
= wxString_in_helper(obj7
);
8308 if (arg8
== NULL
) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8343 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 char * kwnames
[] = {
8354 (char *) "self",(char *) "width", NULL
8357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8359 if (!SWIG_IsOK(res1
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8362 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8364 if (!SWIG_IsOK(ecode2
)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8367 arg2
= static_cast< int >(val2
);
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_Py_Void();
8381 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
= 0;
8383 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8384 SwigValueWrapper
<wxVisualAttributes
> result
;
8387 PyObject
* obj0
= 0 ;
8388 char * kwnames
[] = {
8389 (char *) "variant", NULL
8392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8395 if (!SWIG_IsOK(ecode1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8398 arg1
= static_cast< wxWindowVariant
>(val1
);
8401 if (!wxPyCheckForApp()) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8414 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8417 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8418 return SWIG_Py_Void();
8421 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8422 return SWIG_Python_InitShadowInstance(args
);
8425 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
= 0;
8427 wxWindow
*arg1
= (wxWindow
*) 0 ;
8428 int arg2
= (int) -1 ;
8429 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8430 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8435 long arg6
= (long) 0 ;
8436 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8438 wxStaticBitmap
*result
= 0 ;
8449 bool temp7
= false ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8452 PyObject
* obj2
= 0 ;
8453 PyObject
* obj3
= 0 ;
8454 PyObject
* obj4
= 0 ;
8455 PyObject
* obj5
= 0 ;
8456 PyObject
* obj6
= 0 ;
8457 char * kwnames
[] = {
8458 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8469 if (!SWIG_IsOK(ecode2
)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8472 arg2
= static_cast< int >(val2
);
8475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8476 if (!SWIG_IsOK(res3
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8482 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8493 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8497 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8498 if (!SWIG_IsOK(ecode6
)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8501 arg6
= static_cast< long >(val6
);
8505 arg7
= wxString_in_helper(obj6
);
8506 if (arg7
== NULL
) SWIG_fail
;
8511 if (!wxPyCheckForApp()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8532 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8533 PyObject
*resultobj
= 0;
8534 wxStaticBitmap
*result
= 0 ;
8536 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8538 if (!wxPyCheckForApp()) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8551 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
= 0;
8553 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8554 wxWindow
*arg2
= (wxWindow
*) 0 ;
8555 int arg3
= (int) -1 ;
8556 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8557 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8558 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8559 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8560 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8561 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8562 long arg7
= (long) 0 ;
8563 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8564 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8578 bool temp8
= false ;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8581 PyObject
* obj2
= 0 ;
8582 PyObject
* obj3
= 0 ;
8583 PyObject
* obj4
= 0 ;
8584 PyObject
* obj5
= 0 ;
8585 PyObject
* obj6
= 0 ;
8586 PyObject
* obj7
= 0 ;
8587 char * kwnames
[] = {
8588 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8593 if (!SWIG_IsOK(res1
)) {
8594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8596 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8598 if (!SWIG_IsOK(res2
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8601 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8604 if (!SWIG_IsOK(ecode3
)) {
8605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8607 arg3
= static_cast< int >(val3
);
8610 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8611 if (!SWIG_IsOK(res4
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8617 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8622 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8628 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8633 if (!SWIG_IsOK(ecode7
)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8636 arg7
= static_cast< long >(val7
);
8640 arg8
= wxString_in_helper(obj7
);
8641 if (arg8
== NULL
) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8668 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8674 PyObject
*swig_obj
[1] ;
8676 if (!args
) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8682 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (arg1
)->GetBitmap();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8696 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
= 0;
8698 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8699 wxBitmap
*arg2
= 0 ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "self",(char *) "bitmap", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8715 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8717 if (!SWIG_IsOK(res2
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8723 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_Py_Void();
8737 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
= 0;
8739 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "self",(char *) "icon", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8753 if (!SWIG_IsOK(res1
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8756 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8758 if (!SWIG_IsOK(res2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8764 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_Py_Void();
8778 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
= 0;
8780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8781 SwigValueWrapper
<wxVisualAttributes
> result
;
8784 PyObject
* obj0
= 0 ;
8785 char * kwnames
[] = {
8786 (char *) "variant", NULL
8789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8792 if (!SWIG_IsOK(ecode1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8795 arg1
= static_cast< wxWindowVariant
>(val1
);
8798 if (!wxPyCheckForApp()) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8811 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8814 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8815 return SWIG_Py_Void();
8818 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8819 return SWIG_Python_InitShadowInstance(args
);
8822 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8823 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8828 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8829 PyObject
*pyobj
= 0;
8833 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8835 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8842 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
= 0;
8844 wxWindow
*arg1
= (wxWindow
*) 0 ;
8845 int arg2
= (int) -1 ;
8846 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8847 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8848 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8849 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8850 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8851 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8852 long arg6
= (long) 0 ;
8853 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8854 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8855 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8856 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8857 wxListBox
*result
= 0 ;
8864 bool temp5
= false ;
8869 bool temp8
= false ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8873 PyObject
* obj3
= 0 ;
8874 PyObject
* obj4
= 0 ;
8875 PyObject
* obj5
= 0 ;
8876 PyObject
* obj6
= 0 ;
8877 PyObject
* obj7
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8887 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8890 if (!SWIG_IsOK(ecode2
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8893 arg2
= static_cast< int >(val2
);
8898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8904 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8909 if (! PySequence_Check(obj4
)) {
8910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8913 arg5
= new wxArrayString
;
8915 int i
, len
=PySequence_Length(obj4
);
8916 for (i
=0; i
<len
; i
++) {
8917 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8918 wxString
* s
= wxString_in_helper(item
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8928 if (!SWIG_IsOK(ecode6
)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8931 arg6
= static_cast< long >(val6
);
8934 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8935 if (!SWIG_IsOK(res7
)) {
8936 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8941 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8945 arg8
= wxString_in_helper(obj7
);
8946 if (arg8
== NULL
) SWIG_fail
;
8951 if (!wxPyCheckForApp()) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8959 if (temp5
) delete arg5
;
8968 if (temp5
) delete arg5
;
8978 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8979 PyObject
*resultobj
= 0;
8980 wxListBox
*result
= 0 ;
8982 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8984 if (!wxPyCheckForApp()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (wxListBox
*)new wxListBox();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8997 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxListBox
*arg1
= (wxListBox
*) 0 ;
9000 wxWindow
*arg2
= (wxWindow
*) 0 ;
9001 int arg3
= (int) -1 ;
9002 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9003 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9004 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9005 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9006 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9007 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9008 long arg7
= (long) 0 ;
9009 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9010 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9011 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9012 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9022 bool temp6
= false ;
9027 bool temp9
= false ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 PyObject
* obj2
= 0 ;
9031 PyObject
* obj3
= 0 ;
9032 PyObject
* obj4
= 0 ;
9033 PyObject
* obj5
= 0 ;
9034 PyObject
* obj6
= 0 ;
9035 PyObject
* obj7
= 0 ;
9036 PyObject
* obj8
= 0 ;
9037 char * kwnames
[] = {
9038 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9043 if (!SWIG_IsOK(res1
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9046 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9048 if (!SWIG_IsOK(res2
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9051 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9054 if (!SWIG_IsOK(ecode3
)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9057 arg3
= static_cast< int >(val3
);
9062 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9068 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9073 if (! PySequence_Check(obj5
)) {
9074 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9077 arg6
= new wxArrayString
;
9079 int i
, len
=PySequence_Length(obj5
);
9080 for (i
=0; i
<len
; i
++) {
9081 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9082 wxString
* s
= wxString_in_helper(item
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9091 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9092 if (!SWIG_IsOK(ecode7
)) {
9093 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9095 arg7
= static_cast< long >(val7
);
9098 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9099 if (!SWIG_IsOK(res8
)) {
9100 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9105 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9109 arg9
= wxString_in_helper(obj8
);
9110 if (arg9
== NULL
) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9124 if (temp6
) delete arg6
;
9133 if (temp6
) delete arg6
;
9143 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxListBox
*arg1
= (wxListBox
*) 0 ;
9146 wxString
*arg2
= 0 ;
9148 PyObject
*arg4
= (PyObject
*) NULL
;
9151 bool temp2
= false ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9157 PyObject
* obj3
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9167 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9174 if (!SWIG_IsOK(ecode3
)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9177 arg3
= static_cast< int >(val3
);
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_Py_Void();
9202 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
= 0;
9204 wxListBox
*arg1
= (wxListBox
*) 0 ;
9205 wxArrayString
*arg2
= 0 ;
9209 bool temp2
= false ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9215 char * kwnames
[] = {
9216 (char *) "self",(char *) "items",(char *) "pos", NULL
9219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9221 if (!SWIG_IsOK(res1
)) {
9222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9224 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9226 if (! PySequence_Check(obj1
)) {
9227 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9230 arg2
= new wxArrayString
;
9232 int i
, len
=PySequence_Length(obj1
);
9233 for (i
=0; i
<len
; i
++) {
9234 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9235 wxString
* s
= wxString_in_helper(item
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9242 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9243 if (!SWIG_IsOK(ecode3
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9246 arg3
= static_cast< unsigned int >(val3
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_Py_Void();
9255 if (temp2
) delete arg2
;
9260 if (temp2
) delete arg2
;
9266 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
= 0;
9268 wxListBox
*arg1
= (wxListBox
*) 0 ;
9269 wxArrayString
*arg2
= 0 ;
9272 bool temp2
= false ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "items", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9284 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9286 if (! PySequence_Check(obj1
)) {
9287 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9290 arg2
= new wxArrayString
;
9292 int i
, len
=PySequence_Length(obj1
);
9293 for (i
=0; i
<len
; i
++) {
9294 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9295 wxString
* s
= wxString_in_helper(item
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->Set((wxArrayString
const &)*arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9310 if (temp2
) delete arg2
;
9315 if (temp2
) delete arg2
;
9321 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= 0;
9323 wxListBox
*arg1
= (wxListBox
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "self",(char *) "n", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9341 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9343 if (!SWIG_IsOK(ecode2
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9346 arg2
= static_cast< int >(val2
);
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9362 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxListBox
*arg1
= (wxListBox
*) 0 ;
9366 bool arg3
= (bool) true ;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 PyObject
* obj2
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "self",(char *) "n",(char *) "select", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9385 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9387 if (!SWIG_IsOK(ecode2
)) {
9388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9390 arg2
= static_cast< int >(val2
);
9392 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9393 if (!SWIG_IsOK(ecode3
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9396 arg3
= static_cast< bool >(val3
);
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 (arg1
)->SetSelection(arg2
,arg3
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_Py_Void();
9411 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= 0;
9413 wxListBox
*arg1
= (wxListBox
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9421 char * kwnames
[] = {
9422 (char *) "self",(char *) "n", NULL
9425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9427 if (!SWIG_IsOK(res1
)) {
9428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9430 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9432 if (!SWIG_IsOK(ecode2
)) {
9433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9435 arg2
= static_cast< int >(val2
);
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->Select(arg2
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_Py_Void();
9449 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
= 0;
9451 wxListBox
*arg1
= (wxListBox
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9458 PyObject
* obj1
= 0 ;
9459 char * kwnames
[] = {
9460 (char *) "self",(char *) "n", NULL
9463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9465 if (!SWIG_IsOK(res1
)) {
9466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9468 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9470 if (!SWIG_IsOK(ecode2
)) {
9471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9473 arg2
= static_cast< int >(val2
);
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 (arg1
)->Deselect(arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_Py_Void();
9487 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
= 0;
9489 wxListBox
*arg1
= (wxListBox
*) 0 ;
9490 int arg2
= (int) -1 ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 char * kwnames
[] = {
9498 (char *) "self",(char *) "itemToLeaveSelected", NULL
9501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9503 if (!SWIG_IsOK(res1
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9506 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9509 if (!SWIG_IsOK(ecode2
)) {
9510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9512 arg2
= static_cast< int >(val2
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->DeselectAll(arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_Py_Void();
9527 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
= 0;
9529 wxListBox
*arg1
= (wxListBox
*) 0 ;
9530 wxString
*arg2
= 0 ;
9531 bool arg3
= (bool) true ;
9535 bool temp2
= false ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9541 char * kwnames
[] = {
9542 (char *) "self",(char *) "s",(char *) "select", NULL
9545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 arg2
= wxString_in_helper(obj1
);
9553 if (arg2
== NULL
) SWIG_fail
;
9557 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9558 if (!SWIG_IsOK(ecode3
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9561 arg3
= static_cast< bool >(val3
);
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9586 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9587 PyObject
*resultobj
= 0;
9588 wxListBox
*arg1
= (wxListBox
*) 0 ;
9589 PyObject
*result
= 0 ;
9592 PyObject
*swig_obj
[1] ;
9594 if (!args
) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9600 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9614 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
= 0;
9616 wxListBox
*arg1
= (wxListBox
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9624 char * kwnames
[] = {
9625 (char *) "self",(char *) "n", NULL
9628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9630 if (!SWIG_IsOK(res1
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9633 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9635 if (!SWIG_IsOK(ecode2
)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9638 arg2
= static_cast< int >(val2
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->SetFirstItem(arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_Py_Void();
9652 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
= 0;
9654 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 wxString
*arg2
= 0 ;
9658 bool temp2
= false ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 char * kwnames
[] = {
9662 (char *) "self",(char *) "s", NULL
9665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9670 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9672 arg2
= wxString_in_helper(obj1
);
9673 if (arg2
== NULL
) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_Py_Void();
9697 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
= 0;
9699 wxListBox
*arg1
= (wxListBox
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "n", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9716 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9718 if (!SWIG_IsOK(ecode2
)) {
9719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9721 arg2
= static_cast< int >(val2
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->EnsureVisible(arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_Py_Void();
9735 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= 0;
9737 wxListBox
*arg1
= (wxListBox
*) 0 ;
9738 wxString
*arg2
= 0 ;
9741 bool temp2
= false ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 char * kwnames
[] = {
9745 (char *) "self",(char *) "s", NULL
9748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9750 if (!SWIG_IsOK(res1
)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9753 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9755 arg2
= wxString_in_helper(obj1
);
9756 if (arg2
== NULL
) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_Py_Void();
9780 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9786 PyObject
*swig_obj
[1] ;
9788 if (!args
) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9794 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxListBox
*arg1
= (wxListBox
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "pt", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9829 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_From_int(static_cast< int >(result
));
9847 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
= 0;
9849 wxListBox
*arg1
= (wxListBox
*) 0 ;
9851 wxColour
*arg3
= 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9859 PyObject
* obj2
= 0 ;
9860 char * kwnames
[] = {
9861 (char *) "self",(char *) "item",(char *) "c", NULL
9864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9866 if (!SWIG_IsOK(res1
)) {
9867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9869 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9871 if (!SWIG_IsOK(ecode2
)) {
9872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9874 arg2
= static_cast< int >(val2
);
9877 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_Py_Void();
9892 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
= 0;
9894 wxListBox
*arg1
= (wxListBox
*) 0 ;
9896 wxColour
*arg3
= 0 ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 PyObject
* obj2
= 0 ;
9905 char * kwnames
[] = {
9906 (char *) "self",(char *) "item",(char *) "c", NULL
9909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9911 if (!SWIG_IsOK(res1
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9914 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9916 if (!SWIG_IsOK(ecode2
)) {
9917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9919 arg2
= static_cast< int >(val2
);
9922 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxListBox
*arg1
= (wxListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "item",(char *) "f", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9960 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9962 if (!SWIG_IsOK(ecode2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9965 arg2
= static_cast< int >(val2
);
9966 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9967 if (!SWIG_IsOK(res3
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9973 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_Py_Void();
9987 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
= 0;
9989 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9990 SwigValueWrapper
<wxVisualAttributes
> result
;
9993 PyObject
* obj0
= 0 ;
9994 char * kwnames
[] = {
9995 (char *) "variant", NULL
9998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10001 if (!SWIG_IsOK(ecode1
)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10004 arg1
= static_cast< wxWindowVariant
>(val1
);
10007 if (!wxPyCheckForApp()) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10020 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10023 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10024 return SWIG_Py_Void();
10027 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 return SWIG_Python_InitShadowInstance(args
);
10031 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
= 0;
10033 wxWindow
*arg1
= (wxWindow
*) 0 ;
10034 int arg2
= (int) -1 ;
10035 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10036 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10037 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10038 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10039 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10040 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10041 long arg6
= (long) 0 ;
10042 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10043 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10044 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10046 wxCheckListBox
*result
= 0 ;
10053 bool temp5
= false ;
10058 bool temp8
= false ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 PyObject
* obj2
= 0 ;
10062 PyObject
* obj3
= 0 ;
10063 PyObject
* obj4
= 0 ;
10064 PyObject
* obj5
= 0 ;
10065 PyObject
* obj6
= 0 ;
10066 PyObject
* obj7
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10079 if (!SWIG_IsOK(ecode2
)) {
10080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10082 arg2
= static_cast< int >(val2
);
10087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10098 if (! PySequence_Check(obj4
)) {
10099 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10102 arg5
= new wxArrayString
;
10104 int i
, len
=PySequence_Length(obj4
);
10105 for (i
=0; i
<len
; i
++) {
10106 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10107 wxString
* s
= wxString_in_helper(item
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10116 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10117 if (!SWIG_IsOK(ecode6
)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10120 arg6
= static_cast< long >(val6
);
10123 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10124 if (!SWIG_IsOK(res7
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10130 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10134 arg8
= wxString_in_helper(obj7
);
10135 if (arg8
== NULL
) SWIG_fail
;
10140 if (!wxPyCheckForApp()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10148 if (temp5
) delete arg5
;
10157 if (temp5
) delete arg5
;
10167 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10168 PyObject
*resultobj
= 0;
10169 wxCheckListBox
*result
= 0 ;
10171 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10173 if (!wxPyCheckForApp()) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (wxCheckListBox
*)new wxCheckListBox();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10186 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
= 0;
10188 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10189 wxWindow
*arg2
= (wxWindow
*) 0 ;
10190 int arg3
= (int) -1 ;
10191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10195 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10196 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10197 long arg7
= (long) 0 ;
10198 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10199 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10200 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10201 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10211 bool temp6
= false ;
10216 bool temp9
= false ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 PyObject
* obj2
= 0 ;
10220 PyObject
* obj3
= 0 ;
10221 PyObject
* obj4
= 0 ;
10222 PyObject
* obj5
= 0 ;
10223 PyObject
* obj6
= 0 ;
10224 PyObject
* obj7
= 0 ;
10225 PyObject
* obj8
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10235 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10237 if (!SWIG_IsOK(res2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10243 if (!SWIG_IsOK(ecode3
)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10246 arg3
= static_cast< int >(val3
);
10251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10262 if (! PySequence_Check(obj5
)) {
10263 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10266 arg6
= new wxArrayString
;
10268 int i
, len
=PySequence_Length(obj5
);
10269 for (i
=0; i
<len
; i
++) {
10270 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10271 wxString
* s
= wxString_in_helper(item
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10280 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10281 if (!SWIG_IsOK(ecode7
)) {
10282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10284 arg7
= static_cast< long >(val7
);
10287 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10288 if (!SWIG_IsOK(res8
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10294 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10298 arg9
= wxString_in_helper(obj8
);
10299 if (arg9
== NULL
) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10313 if (temp6
) delete arg6
;
10322 if (temp6
) delete arg6
;
10332 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10335 unsigned int arg2
;
10339 unsigned int val2
;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char * kwnames
[] = {
10344 (char *) "self",(char *) "index", NULL
10347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10349 if (!SWIG_IsOK(res1
)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10352 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10353 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10354 if (!SWIG_IsOK(ecode2
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10357 arg2
= static_cast< unsigned int >(val2
);
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)(arg1
)->IsChecked(arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10373 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= 0;
10375 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10376 unsigned int arg2
;
10377 int arg3
= (int) true ;
10380 unsigned int val2
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 char * kwnames
[] = {
10388 (char *) "self",(char *) "index",(char *) "check", NULL
10391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10393 if (!SWIG_IsOK(res1
)) {
10394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10396 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10397 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10398 if (!SWIG_IsOK(ecode2
)) {
10399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10401 arg2
= static_cast< unsigned int >(val2
);
10403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10404 if (!SWIG_IsOK(ecode3
)) {
10405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10407 arg3
= static_cast< int >(val3
);
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->Check(arg2
,arg3
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_Py_Void();
10422 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10423 PyObject
*resultobj
= 0;
10424 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10428 PyObject
*swig_obj
[1] ;
10430 if (!args
) SWIG_fail
;
10431 swig_obj
[0] = args
;
10432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10433 if (!SWIG_IsOK(res1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10436 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (int)(arg1
)->GetItemHeight();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_From_int(static_cast< int >(result
));
10450 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10453 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10454 return SWIG_Py_Void();
10457 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10458 return SWIG_Python_InitShadowInstance(args
);
10461 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10462 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10467 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10468 PyObject
*pyobj
= 0;
10472 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10474 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10481 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
= 0;
10483 wxColour
const &arg1_defvalue
= wxNullColour
;
10484 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10485 wxColour
const &arg2_defvalue
= wxNullColour
;
10486 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10487 wxFont
const &arg3_defvalue
= wxNullFont
;
10488 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10489 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10490 wxTextAttr
*result
= 0 ;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 PyObject
* obj2
= 0 ;
10500 PyObject
* obj3
= 0 ;
10501 char * kwnames
[] = {
10502 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10509 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10519 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10520 if (!SWIG_IsOK(res3
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10526 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10530 if (!SWIG_IsOK(ecode4
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10533 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10548 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 PyObject
*resultobj
= 0;
10550 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10553 PyObject
*swig_obj
[1] ;
10555 if (!args
) SWIG_fail
;
10556 swig_obj
[0] = args
;
10557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10561 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_Py_Void();
10576 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10577 PyObject
*resultobj
= 0;
10578 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10581 PyObject
*swig_obj
[1] ;
10583 if (!args
) SWIG_fail
;
10584 swig_obj
[0] = args
;
10585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10589 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_Py_Void();
10603 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= 0;
10605 wxTextAttr
*arg1
= 0 ;
10606 wxTextAttr
*arg2
= 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "base",(char *) "overlay", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10619 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10626 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10628 if (!SWIG_IsOK(res2
)) {
10629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10634 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10648 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
= 0;
10650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10651 wxColour
*arg2
= 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char * kwnames
[] = {
10658 (char *) "self",(char *) "colText", NULL
10661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10666 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_Py_Void();
10684 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= 0;
10686 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10687 wxColour
*arg2
= 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "self",(char *) "colBack", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10702 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_Py_Void();
10720 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10724 long arg3
= (long) wxTEXT_ATTR_FONT
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 char * kwnames
[] = {
10735 (char *) "self",(char *) "font",(char *) "flags", NULL
10738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10743 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10745 if (!SWIG_IsOK(res2
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10753 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10754 if (!SWIG_IsOK(ecode3
)) {
10755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10757 arg3
= static_cast< long >(val3
);
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_Py_Void();
10772 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
= 0;
10774 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10775 wxTextAttrAlignment arg2
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "alignment", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10791 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10793 if (!SWIG_IsOK(ecode2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10796 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 (arg1
)->SetAlignment(arg2
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_Py_Void();
10810 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= 0;
10812 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10813 wxArrayInt
*arg2
= 0 ;
10816 bool temp2
= false ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char * kwnames
[] = {
10820 (char *) "self",(char *) "tabs", NULL
10823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10828 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10830 if (! PySequence_Check(obj1
)) {
10831 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10834 arg2
= new wxArrayInt
;
10836 int i
, len
=PySequence_Length(obj1
);
10837 for (i
=0; i
<len
; i
++) {
10838 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10839 PyObject
* number
= PyNumber_Int(item
);
10841 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10844 arg2
->Add(PyInt_AS_LONG(number
));
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= SWIG_Py_Void();
10857 if (temp2
) delete arg2
;
10862 if (temp2
) delete arg2
;
10868 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
= 0;
10870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10872 int arg3
= (int) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 char * kwnames
[] = {
10883 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10891 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10893 if (!SWIG_IsOK(ecode2
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10896 arg2
= static_cast< int >(val2
);
10898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10899 if (!SWIG_IsOK(ecode3
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10902 arg3
= static_cast< int >(val3
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetLeftIndent(arg2
,arg3
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "indent", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10936 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10941 arg2
= static_cast< int >(val2
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetRightIndent(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= 0;
10957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char * kwnames
[] = {
10966 (char *) "self",(char *) "flags", NULL
10969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10971 if (!SWIG_IsOK(res1
)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10974 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10976 if (!SWIG_IsOK(ecode2
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10979 arg2
= static_cast< long >(val2
);
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 (arg1
)->SetFlags(arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_Py_Void();
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11149 PyObject
*swig_obj
[1] ;
11151 if (!args
) SWIG_fail
;
11152 swig_obj
[0] = args
;
11153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11154 if (!SWIG_IsOK(res1
)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11157 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11174 PyObject
*resultobj
= 0;
11175 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11179 PyObject
*swig_obj
[1] ;
11181 if (!args
) SWIG_fail
;
11182 swig_obj
[0] = args
;
11183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11187 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
= 0;
11205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 char * kwnames
[] = {
11215 (char *) "self",(char *) "flag", NULL
11218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11220 if (!SWIG_IsOK(res1
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11223 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11224 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11225 if (!SWIG_IsOK(ecode2
)) {
11226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11228 arg2
= static_cast< long >(val2
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11244 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11245 PyObject
*resultobj
= 0;
11246 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11247 wxColour
*result
= 0 ;
11250 PyObject
*swig_obj
[1] ;
11252 if (!args
) SWIG_fail
;
11253 swig_obj
[0] = args
;
11254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11258 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11263 result
= (wxColour
*) &_result_ref
;
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11275 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11276 PyObject
*resultobj
= 0;
11277 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11278 wxColour
*result
= 0 ;
11281 PyObject
*swig_obj
[1] ;
11283 if (!args
) SWIG_fail
;
11284 swig_obj
[0] = args
;
11285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11286 if (!SWIG_IsOK(res1
)) {
11287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11289 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11294 result
= (wxColour
*) &_result_ref
;
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11306 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11309 wxFont
*result
= 0 ;
11312 PyObject
*swig_obj
[1] ;
11314 if (!args
) SWIG_fail
;
11315 swig_obj
[0] = args
;
11316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11325 result
= (wxFont
*) &_result_ref
;
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 wxFont
* resultptr
= new wxFont(*result
);
11332 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11340 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11341 PyObject
*resultobj
= 0;
11342 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11343 wxTextAttrAlignment result
;
11346 PyObject
*swig_obj
[1] ;
11348 if (!args
) SWIG_fail
;
11349 swig_obj
[0] = args
;
11350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11351 if (!SWIG_IsOK(res1
)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11354 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_From_int(static_cast< int >(result
));
11368 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11369 PyObject
*resultobj
= 0;
11370 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11371 wxArrayInt
*result
= 0 ;
11374 PyObject
*swig_obj
[1] ;
11376 if (!args
) SWIG_fail
;
11377 swig_obj
[0] = args
;
11378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11382 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11387 result
= (wxArrayInt
*) &_result_ref
;
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= wxArrayInt2PyList_helper(*result
);
11401 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long(static_cast< long >(result
));
11429 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long(static_cast< long >(result
));
11457 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_long(static_cast< long >(result
));
11485 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11486 PyObject
*resultobj
= 0;
11487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11491 PyObject
*swig_obj
[1] ;
11493 if (!args
) SWIG_fail
;
11494 swig_obj
[0] = args
;
11495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11496 if (!SWIG_IsOK(res1
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11499 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_From_long(static_cast< long >(result
));
11513 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11514 PyObject
*resultobj
= 0;
11515 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11519 PyObject
*swig_obj
[1] ;
11521 if (!args
) SWIG_fail
;
11522 swig_obj
[0] = args
;
11523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11527 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11543 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
= 0;
11545 wxTextAttr
*arg1
= 0 ;
11546 wxTextAttr
*arg2
= 0 ;
11547 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 PyObject
* obj2
= 0 ;
11558 char * kwnames
[] = {
11559 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11570 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11572 if (!SWIG_IsOK(res2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11578 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11579 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11580 if (!SWIG_IsOK(res3
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11583 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11597 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11600 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11601 return SWIG_Py_Void();
11604 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11605 return SWIG_Python_InitShadowInstance(args
);
11608 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
= 0;
11610 wxWindow
*arg1
= (wxWindow
*) 0 ;
11611 int arg2
= (int) -1 ;
11612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11618 long arg6
= (long) 0 ;
11619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11621 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11623 wxTextCtrl
*result
= 0 ;
11628 bool temp3
= false ;
11635 bool temp8
= false ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 PyObject
* obj3
= 0 ;
11640 PyObject
* obj4
= 0 ;
11641 PyObject
* obj5
= 0 ;
11642 PyObject
* obj6
= 0 ;
11643 PyObject
* obj7
= 0 ;
11644 char * kwnames
[] = {
11645 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11656 if (!SWIG_IsOK(ecode2
)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11659 arg2
= static_cast< int >(val2
);
11663 arg3
= wxString_in_helper(obj2
);
11664 if (arg3
== NULL
) SWIG_fail
;
11671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11681 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11682 if (!SWIG_IsOK(ecode6
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11685 arg6
= static_cast< long >(val6
);
11688 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11689 if (!SWIG_IsOK(res7
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11695 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11699 arg8
= wxString_in_helper(obj7
);
11700 if (arg8
== NULL
) SWIG_fail
;
11705 if (!wxPyCheckForApp()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11734 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 PyObject
*resultobj
= 0;
11736 wxTextCtrl
*result
= 0 ;
11738 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11740 if (!wxPyCheckForApp()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxTextCtrl
*)new wxTextCtrl();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11753 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= 0;
11755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11756 wxWindow
*arg2
= (wxWindow
*) 0 ;
11757 int arg3
= (int) -1 ;
11758 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11759 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11760 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11761 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11762 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11763 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11764 long arg7
= (long) 0 ;
11765 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11766 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11767 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11768 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11776 bool temp4
= false ;
11783 bool temp9
= false ;
11784 PyObject
* obj0
= 0 ;
11785 PyObject
* obj1
= 0 ;
11786 PyObject
* obj2
= 0 ;
11787 PyObject
* obj3
= 0 ;
11788 PyObject
* obj4
= 0 ;
11789 PyObject
* obj5
= 0 ;
11790 PyObject
* obj6
= 0 ;
11791 PyObject
* obj7
= 0 ;
11792 PyObject
* obj8
= 0 ;
11793 char * kwnames
[] = {
11794 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11799 if (!SWIG_IsOK(res1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11802 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11804 if (!SWIG_IsOK(res2
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11810 if (!SWIG_IsOK(ecode3
)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11813 arg3
= static_cast< int >(val3
);
11817 arg4
= wxString_in_helper(obj3
);
11818 if (arg4
== NULL
) SWIG_fail
;
11825 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11831 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11835 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11836 if (!SWIG_IsOK(ecode7
)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11839 arg7
= static_cast< long >(val7
);
11842 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11843 if (!SWIG_IsOK(res8
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11849 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11853 arg9
= wxString_in_helper(obj8
);
11854 if (arg9
== NULL
) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11889 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11895 PyObject
*swig_obj
[1] ;
11897 if (!args
) SWIG_fail
;
11898 swig_obj
[0] = args
;
11899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11900 if (!SWIG_IsOK(res1
)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11903 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11923 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11926 wxString
*arg2
= 0 ;
11929 bool temp2
= false ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "value", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11943 arg2
= wxString_in_helper(obj1
);
11944 if (arg2
== NULL
) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->SetValue((wxString
const &)*arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11974 PyObject
*swig_obj
[1] ;
11976 if (!args
) SWIG_fail
;
11977 swig_obj
[0] = args
;
11978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11982 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
= 0;
12000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12001 wxString
*arg2
= 0 ;
12004 bool temp2
= false ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char * kwnames
[] = {
12008 (char *) "self",(char *) "value", NULL
12011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12016 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_Py_Void();
12043 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 char * kwnames
[] = {
12059 (char *) "self",(char *) "from",(char *) "to", NULL
12062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12064 if (!SWIG_IsOK(res1
)) {
12065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12067 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12069 if (!SWIG_IsOK(ecode2
)) {
12070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12072 arg2
= static_cast< long >(val2
);
12073 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12074 if (!SWIG_IsOK(ecode3
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12077 arg3
= static_cast< long >(val3
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12097 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "self",(char *) "lineNo", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12117 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12119 if (!SWIG_IsOK(ecode2
)) {
12120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12122 arg2
= static_cast< long >(val2
);
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_From_int(static_cast< int >(result
));
12136 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
= 0;
12138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 char * kwnames
[] = {
12148 (char *) "self",(char *) "lineNo", NULL
12151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12153 if (!SWIG_IsOK(res1
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12156 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12158 if (!SWIG_IsOK(ecode2
)) {
12159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12161 arg2
= static_cast< long >(val2
);
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12181 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12182 PyObject
*resultobj
= 0;
12183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12187 PyObject
*swig_obj
[1] ;
12189 if (!args
) SWIG_fail
;
12190 swig_obj
[0] = args
;
12191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12192 if (!SWIG_IsOK(res1
)) {
12193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12195 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_From_int(static_cast< int >(result
));
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 PyObject
*resultobj
= 0;
12301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12305 PyObject
*swig_obj
[1] ;
12307 if (!args
) SWIG_fail
;
12308 swig_obj
[0] = args
;
12309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12310 if (!SWIG_IsOK(res1
)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12313 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12329 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12332 long *arg2
= (long *) 0 ;
12333 long *arg3
= (long *) 0 ;
12337 int res2
= SWIG_TMPOBJ
;
12339 int res3
= SWIG_TMPOBJ
;
12340 PyObject
*swig_obj
[1] ;
12344 if (!args
) SWIG_fail
;
12345 swig_obj
[0] = args
;
12346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12350 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_Py_Void();
12358 if (SWIG_IsTmpObj(res2
)) {
12359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12361 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12364 if (SWIG_IsTmpObj(res3
)) {
12365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12376 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12377 PyObject
*resultobj
= 0;
12378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 PyObject
*swig_obj
[1] ;
12384 if (!args
) SWIG_fail
;
12385 swig_obj
[0] = args
;
12386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12387 if (!SWIG_IsOK(res1
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12390 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12410 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12415 PyObject
*swig_obj
[1] ;
12417 if (!args
) SWIG_fail
;
12418 swig_obj
[0] = args
;
12419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12423 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12442 wxString
*arg4
= 0 ;
12449 bool temp4
= false ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 PyObject
* obj2
= 0 ;
12453 PyObject
* obj3
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12463 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12465 if (!SWIG_IsOK(ecode2
)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12468 arg2
= static_cast< long >(val2
);
12469 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12470 if (!SWIG_IsOK(ecode3
)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12473 arg3
= static_cast< long >(val3
);
12475 arg4
= wxString_in_helper(obj3
);
12476 if (arg4
== NULL
) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12500 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
= 0;
12502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 PyObject
* obj2
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "from",(char *) "to", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12525 if (!SWIG_IsOK(ecode2
)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12528 arg2
= static_cast< long >(val2
);
12529 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12530 if (!SWIG_IsOK(ecode3
)) {
12531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12533 arg3
= static_cast< long >(val3
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->Remove(arg2
,arg3
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
= 0;
12549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12550 wxString
*arg2
= 0 ;
12551 int arg3
= (int) wxTEXT_TYPE_ANY
;
12555 bool temp2
= false ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "self",(char *) "file",(char *) "fileType", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12572 arg2
= wxString_in_helper(obj1
);
12573 if (arg2
== NULL
) SWIG_fail
;
12577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12578 if (!SWIG_IsOK(ecode3
)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12581 arg3
= static_cast< int >(val3
);
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12606 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
= 0;
12608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12609 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12610 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12611 int arg3
= (int) wxTEXT_TYPE_ANY
;
12615 bool temp2
= false ;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 PyObject
* obj2
= 0 ;
12621 char * kwnames
[] = {
12622 (char *) "self",(char *) "file",(char *) "fileType", NULL
12625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12633 arg2
= wxString_in_helper(obj1
);
12634 if (arg2
== NULL
) SWIG_fail
;
12639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12640 if (!SWIG_IsOK(ecode3
)) {
12641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12643 arg3
= static_cast< int >(val3
);
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12668 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12673 PyObject
*swig_obj
[1] ;
12675 if (!args
) SWIG_fail
;
12676 swig_obj
[0] = args
;
12677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->MarkDirty();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12695 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12700 PyObject
*swig_obj
[1] ;
12702 if (!args
) SWIG_fail
;
12703 swig_obj
[0] = args
;
12704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->DiscardEdits();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_Py_Void();
12722 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= 0;
12724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char * kwnames
[] = {
12733 (char *) "self",(char *) "modified", NULL
12736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12741 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12743 if (!SWIG_IsOK(ecode2
)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12746 arg2
= static_cast< bool >(val2
);
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->SetModified(arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_Py_Void();
12760 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
= 0;
12762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12763 unsigned long arg2
;
12766 unsigned long val2
;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "len", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12781 if (!SWIG_IsOK(ecode2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12784 arg2
= static_cast< unsigned long >(val2
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->SetMaxLength(arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_Py_Void();
12798 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
= 0;
12800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12801 wxString
*arg2
= 0 ;
12804 bool temp2
= false ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char * kwnames
[] = {
12808 (char *) "self",(char *) "text", NULL
12811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->WriteText((wxString
const &)*arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_Py_Void();
12843 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12846 wxString
*arg2
= 0 ;
12849 bool temp2
= false ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 char * kwnames
[] = {
12853 (char *) "self",(char *) "text", NULL
12856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12858 if (!SWIG_IsOK(res1
)) {
12859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12861 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12863 arg2
= wxString_in_helper(obj1
);
12864 if (arg2
== NULL
) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->AppendText((wxString
const &)*arg2
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_Py_Void();
12888 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
= 0;
12890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12891 wxKeyEvent
*arg2
= 0 ;
12897 PyObject
* obj0
= 0 ;
12898 PyObject
* obj1
= 0 ;
12899 char * kwnames
[] = {
12900 (char *) "self",(char *) "event", NULL
12903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12905 if (!SWIG_IsOK(res1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12908 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12910 if (!SWIG_IsOK(res2
)) {
12911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12916 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12932 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
= 0;
12934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12937 wxTextAttr
*arg4
= 0 ;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 PyObject
* obj2
= 0 ;
12950 PyObject
* obj3
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12962 if (!SWIG_IsOK(ecode2
)) {
12963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12965 arg2
= static_cast< long >(val2
);
12966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12967 if (!SWIG_IsOK(ecode3
)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12970 arg3
= static_cast< long >(val3
);
12971 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12972 if (!SWIG_IsOK(res4
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12978 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= 0;
12996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12998 wxTextAttr
*arg3
= 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 char * kwnames
[] = {
13010 (char *) "self",(char *) "position",(char *) "style", NULL
13013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13015 if (!SWIG_IsOK(res1
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13018 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13019 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13020 if (!SWIG_IsOK(ecode2
)) {
13021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13023 arg2
= static_cast< long >(val2
);
13024 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13025 if (!SWIG_IsOK(res3
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13031 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
= 0;
13049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13050 wxTextAttr
*arg2
= 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char * kwnames
[] = {
13059 (char *) "self",(char *) "style", NULL
13062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13064 if (!SWIG_IsOK(res1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13067 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13069 if (!SWIG_IsOK(res2
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13075 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13091 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13092 PyObject
*resultobj
= 0;
13093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13094 wxTextAttr
*result
= 0 ;
13097 PyObject
*swig_obj
[1] ;
13099 if (!args
) SWIG_fail
;
13100 swig_obj
[0] = args
;
13101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13102 if (!SWIG_IsOK(res1
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13105 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13110 result
= (wxTextAttr
*) &_result_ref
;
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13122 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "x",(char *) "y", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13148 if (!SWIG_IsOK(ecode2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13151 arg2
= static_cast< long >(val2
);
13152 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13153 if (!SWIG_IsOK(ecode3
)) {
13154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13156 arg3
= static_cast< long >(val3
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_From_long(static_cast< long >(result
));
13170 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
= 0;
13172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13174 long *arg3
= (long *) 0 ;
13175 long *arg4
= (long *) 0 ;
13181 int res3
= SWIG_TMPOBJ
;
13183 int res4
= SWIG_TMPOBJ
;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 char * kwnames
[] = {
13187 (char *) "self",(char *) "pos", NULL
13192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13194 if (!SWIG_IsOK(res1
)) {
13195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13197 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13198 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13199 if (!SWIG_IsOK(ecode2
)) {
13200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13202 arg2
= static_cast< long >(val2
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_Py_Void();
13210 if (SWIG_IsTmpObj(res3
)) {
13211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13213 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13216 if (SWIG_IsTmpObj(res4
)) {
13217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13219 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13228 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
= 0;
13230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char * kwnames
[] = {
13239 (char *) "self",(char *) "pos", NULL
13242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13249 if (!SWIG_IsOK(ecode2
)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13252 arg2
= static_cast< long >(val2
);
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->ShowPosition(arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_Py_Void();
13266 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13269 wxPoint
*arg2
= 0 ;
13270 long *arg3
= (long *) 0 ;
13271 long *arg4
= (long *) 0 ;
13272 wxTextCtrlHitTestResult result
;
13277 int res3
= SWIG_TMPOBJ
;
13279 int res4
= SWIG_TMPOBJ
;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "pt", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_From_int(static_cast< int >(result
));
13305 if (SWIG_IsTmpObj(res3
)) {
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13308 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13311 if (SWIG_IsTmpObj(res4
)) {
13312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13314 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13323 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
= 0;
13325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13326 wxPoint
*arg2
= 0 ;
13327 long *arg3
= (long *) 0 ;
13328 wxTextCtrlHitTestResult result
;
13333 int res3
= SWIG_TMPOBJ
;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char * kwnames
[] = {
13337 (char *) "self",(char *) "pt", NULL
13341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13343 if (!SWIG_IsOK(res1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13346 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_From_int(static_cast< int >(result
));
13358 if (SWIG_IsTmpObj(res3
)) {
13359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13361 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13370 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13371 PyObject
*resultobj
= 0;
13372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13375 PyObject
*swig_obj
[1] ;
13377 if (!args
) SWIG_fail
;
13378 swig_obj
[0] = args
;
13379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_Py_Void();
13397 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 PyObject
*resultobj
= 0;
13399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13402 PyObject
*swig_obj
[1] ;
13404 if (!args
) SWIG_fail
;
13405 swig_obj
[0] = args
;
13406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13407 if (!SWIG_IsOK(res1
)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_Py_Void();
13424 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13425 PyObject
*resultobj
= 0;
13426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13429 PyObject
*swig_obj
[1] ;
13431 if (!args
) SWIG_fail
;
13432 swig_obj
[0] = args
;
13433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13437 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_Py_Void();
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13457 PyObject
*swig_obj
[1] ;
13459 if (!args
) SWIG_fail
;
13460 swig_obj
[0] = args
;
13461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13465 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13525 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13546 PyObject
*swig_obj
[1] ;
13548 if (!args
) SWIG_fail
;
13549 swig_obj
[0] = args
;
13550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13554 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13568 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 PyObject
*resultobj
= 0;
13570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13573 PyObject
*swig_obj
[1] ;
13575 if (!args
) SWIG_fail
;
13576 swig_obj
[0] = args
;
13577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
*swig_obj
[1] ;
13603 if (!args
) SWIG_fail
;
13604 swig_obj
[0] = args
;
13605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13625 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13626 PyObject
*resultobj
= 0;
13627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13631 PyObject
*swig_obj
[1] ;
13633 if (!args
) SWIG_fail
;
13634 swig_obj
[0] = args
;
13635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13636 if (!SWIG_IsOK(res1
)) {
13637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13639 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13655 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
= 0;
13657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 char * kwnames
[] = {
13666 (char *) "self",(char *) "pos", NULL
13669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13676 if (!SWIG_IsOK(ecode2
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13679 arg2
= static_cast< long >(val2
);
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->SetInsertionPoint(arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_Py_Void();
13693 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13694 PyObject
*resultobj
= 0;
13695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13698 PyObject
*swig_obj
[1] ;
13700 if (!args
) SWIG_fail
;
13701 swig_obj
[0] = args
;
13702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 (arg1
)->SetInsertionPointEnd();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13721 PyObject
*resultobj
= 0;
13722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13726 PyObject
*swig_obj
[1] ;
13728 if (!args
) SWIG_fail
;
13729 swig_obj
[0] = args
;
13730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13734 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_From_long(static_cast< long >(result
));
13748 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13754 PyObject
*swig_obj
[1] ;
13756 if (!args
) SWIG_fail
;
13757 swig_obj
[0] = args
;
13758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13762 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_From_long(static_cast< long >(result
));
13776 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 PyObject
* obj1
= 0 ;
13789 PyObject
* obj2
= 0 ;
13790 char * kwnames
[] = {
13791 (char *) "self",(char *) "from",(char *) "to", NULL
13794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13796 if (!SWIG_IsOK(res1
)) {
13797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13800 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13801 if (!SWIG_IsOK(ecode2
)) {
13802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13804 arg2
= static_cast< long >(val2
);
13805 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13806 if (!SWIG_IsOK(ecode3
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13809 arg3
= static_cast< long >(val3
);
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->SetSelection(arg2
,arg3
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13824 PyObject
*resultobj
= 0;
13825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13828 PyObject
*swig_obj
[1] ;
13830 if (!args
) SWIG_fail
;
13831 swig_obj
[0] = args
;
13832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13833 if (!SWIG_IsOK(res1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13836 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SelectAll();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_Py_Void();
13850 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char * kwnames
[] = {
13861 (char *) "self",(char *) "editable", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13869 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13871 if (!SWIG_IsOK(ecode2
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13874 arg2
= static_cast< bool >(val2
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetEditable(arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13889 PyObject
*resultobj
= 0;
13890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13893 PyObject
*swig_obj
[1] ;
13895 if (!args
) SWIG_fail
;
13896 swig_obj
[0] = args
;
13897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13901 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SendTextUpdatedEvent();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_Py_Void();
13915 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
= 0;
13917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13918 wxString
*arg2
= 0 ;
13921 bool temp2
= false ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 char * kwnames
[] = {
13925 (char *) "self",(char *) "text", NULL
13928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13930 if (!SWIG_IsOK(res1
)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13933 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13935 arg2
= wxString_in_helper(obj1
);
13936 if (arg2
== NULL
) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_Py_Void();
13960 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
= 0;
13962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 PyObject
* obj2
= 0 ;
13975 char * kwnames
[] = {
13976 (char *) "self",(char *) "from",(char *) "to", NULL
13979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13984 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13985 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13986 if (!SWIG_IsOK(ecode2
)) {
13987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13989 arg2
= static_cast< long >(val2
);
13990 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13991 if (!SWIG_IsOK(ecode3
)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13994 arg3
= static_cast< long >(val3
);
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14014 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14017 SwigValueWrapper
<wxVisualAttributes
> result
;
14020 PyObject
* obj0
= 0 ;
14021 char * kwnames
[] = {
14022 (char *) "variant", NULL
14025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14028 if (!SWIG_IsOK(ecode1
)) {
14029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14031 arg1
= static_cast< wxWindowVariant
>(val1
);
14034 if (!wxPyCheckForApp()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14047 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14050 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14051 return SWIG_Py_Void();
14054 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14055 return SWIG_Python_InitShadowInstance(args
);
14058 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= 0;
14061 wxMouseEvent
*arg2
= 0 ;
14064 wxTextUrlEvent
*result
= 0 ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 PyObject
* obj2
= 0 ;
14076 PyObject
* obj3
= 0 ;
14077 char * kwnames
[] = {
14078 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14083 if (!SWIG_IsOK(ecode1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14086 arg1
= static_cast< int >(val1
);
14087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14088 if (!SWIG_IsOK(res2
)) {
14089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14094 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14095 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14096 if (!SWIG_IsOK(ecode3
)) {
14097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14099 arg3
= static_cast< long >(val3
);
14100 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14101 if (!SWIG_IsOK(ecode4
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14104 arg4
= static_cast< long >(val4
);
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14118 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14119 PyObject
*resultobj
= 0;
14120 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14121 wxMouseEvent
*result
= 0 ;
14124 PyObject
*swig_obj
[1] ;
14126 if (!args
) SWIG_fail
;
14127 swig_obj
[0] = args
;
14128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14129 if (!SWIG_IsOK(res1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14132 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14137 result
= (wxMouseEvent
*) &_result_ref
;
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14149 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14150 PyObject
*resultobj
= 0;
14151 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14155 PyObject
*swig_obj
[1] ;
14157 if (!args
) SWIG_fail
;
14158 swig_obj
[0] = args
;
14159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14163 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= SWIG_From_long(static_cast< long >(result
));
14177 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14178 PyObject
*resultobj
= 0;
14179 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14183 PyObject
*swig_obj
[1] ;
14185 if (!args
) SWIG_fail
;
14186 swig_obj
[0] = args
;
14187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14191 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_From_long(static_cast< long >(result
));
14205 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14208 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14209 return SWIG_Py_Void();
14212 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14213 return SWIG_Python_InitShadowInstance(args
);
14216 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14217 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14222 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14223 PyObject
*pyobj
= 0;
14227 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14229 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14236 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14238 wxWindow
*arg1
= (wxWindow
*) 0 ;
14239 int arg2
= (int) -1 ;
14240 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14241 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14242 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14243 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14244 long arg5
= (long) wxSB_HORIZONTAL
;
14245 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14246 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14247 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14248 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14249 wxScrollBar
*result
= 0 ;
14260 bool temp7
= false ;
14261 PyObject
* obj0
= 0 ;
14262 PyObject
* obj1
= 0 ;
14263 PyObject
* obj2
= 0 ;
14264 PyObject
* obj3
= 0 ;
14265 PyObject
* obj4
= 0 ;
14266 PyObject
* obj5
= 0 ;
14267 PyObject
* obj6
= 0 ;
14268 char * kwnames
[] = {
14269 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14274 if (!SWIG_IsOK(res1
)) {
14275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14280 if (!SWIG_IsOK(ecode2
)) {
14281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14283 arg2
= static_cast< int >(val2
);
14288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14294 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14298 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14299 if (!SWIG_IsOK(ecode5
)) {
14300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14302 arg5
= static_cast< long >(val5
);
14305 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14306 if (!SWIG_IsOK(res6
)) {
14307 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14312 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14316 arg7
= wxString_in_helper(obj6
);
14317 if (arg7
== NULL
) SWIG_fail
;
14322 if (!wxPyCheckForApp()) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14343 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14344 PyObject
*resultobj
= 0;
14345 wxScrollBar
*result
= 0 ;
14347 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14349 if (!wxPyCheckForApp()) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxScrollBar
*)new wxScrollBar();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14362 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
= 0;
14364 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14365 wxWindow
*arg2
= (wxWindow
*) 0 ;
14366 int arg3
= (int) -1 ;
14367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14371 long arg6
= (long) wxSB_HORIZONTAL
;
14372 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14373 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14374 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14375 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14389 bool temp8
= false ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 PyObject
* obj3
= 0 ;
14394 PyObject
* obj4
= 0 ;
14395 PyObject
* obj5
= 0 ;
14396 PyObject
* obj6
= 0 ;
14397 PyObject
* obj7
= 0 ;
14398 char * kwnames
[] = {
14399 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14404 if (!SWIG_IsOK(res1
)) {
14405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14407 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14409 if (!SWIG_IsOK(res2
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14412 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14415 if (!SWIG_IsOK(ecode3
)) {
14416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14418 arg3
= static_cast< int >(val3
);
14423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14433 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14434 if (!SWIG_IsOK(ecode6
)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14437 arg6
= static_cast< long >(val6
);
14440 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14441 if (!SWIG_IsOK(res7
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14447 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14451 arg8
= wxString_in_helper(obj7
);
14452 if (arg8
== NULL
) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14479 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14480 PyObject
*resultobj
= 0;
14481 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14485 PyObject
*swig_obj
[1] ;
14487 if (!args
) SWIG_fail
;
14488 swig_obj
[0] = args
;
14489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14493 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_From_int(static_cast< int >(result
));
14507 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14508 PyObject
*resultobj
= 0;
14509 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14513 PyObject
*swig_obj
[1] ;
14515 if (!args
) SWIG_fail
;
14516 swig_obj
[0] = args
;
14517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14518 if (!SWIG_IsOK(res1
)) {
14519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14521 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_From_int(static_cast< int >(result
));
14535 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14536 PyObject
*resultobj
= 0;
14537 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14541 PyObject
*swig_obj
[1] ;
14543 if (!args
) SWIG_fail
;
14544 swig_obj
[0] = args
;
14545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14549 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_From_int(static_cast< int >(result
));
14563 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14564 PyObject
*resultobj
= 0;
14565 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14569 PyObject
*swig_obj
[1] ;
14571 if (!args
) SWIG_fail
;
14572 swig_obj
[0] = args
;
14573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14574 if (!SWIG_IsOK(res1
)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14577 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_From_int(static_cast< int >(result
));
14591 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14592 PyObject
*resultobj
= 0;
14593 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14597 PyObject
*swig_obj
[1] ;
14599 if (!args
) SWIG_fail
;
14600 swig_obj
[0] = args
;
14601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14602 if (!SWIG_IsOK(res1
)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14605 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14621 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
= 0;
14623 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 PyObject
* obj1
= 0 ;
14631 char * kwnames
[] = {
14632 (char *) "self",(char *) "viewStart", NULL
14635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14637 if (!SWIG_IsOK(res1
)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14640 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14642 if (!SWIG_IsOK(ecode2
)) {
14643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14645 arg2
= static_cast< int >(val2
);
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 (arg1
)->SetThumbPosition(arg2
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= SWIG_Py_Void();
14659 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
= 0;
14661 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14662 SwigValueWrapper
<wxVisualAttributes
> result
;
14665 PyObject
* obj0
= 0 ;
14666 char * kwnames
[] = {
14667 (char *) "variant", NULL
14670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14672 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14673 if (!SWIG_IsOK(ecode1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14676 arg1
= static_cast< wxWindowVariant
>(val1
);
14679 if (!wxPyCheckForApp()) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14692 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14695 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14696 return SWIG_Py_Void();
14699 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 return SWIG_Python_InitShadowInstance(args
);
14703 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14704 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14709 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14710 PyObject
*pyobj
= 0;
14714 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14716 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14723 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14724 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14729 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14730 PyObject
*pyobj
= 0;
14734 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14736 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14743 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
= 0;
14745 wxWindow
*arg1
= (wxWindow
*) 0 ;
14746 int arg2
= (int) -1 ;
14747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14751 long arg5
= (long) wxSP_HORIZONTAL
;
14752 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14753 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14754 wxSpinButton
*result
= 0 ;
14763 bool temp6
= false ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 PyObject
* obj2
= 0 ;
14767 PyObject
* obj3
= 0 ;
14768 PyObject
* obj4
= 0 ;
14769 PyObject
* obj5
= 0 ;
14770 char * kwnames
[] = {
14771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14779 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14782 if (!SWIG_IsOK(ecode2
)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14785 arg2
= static_cast< int >(val2
);
14790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14800 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14801 if (!SWIG_IsOK(ecode5
)) {
14802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14804 arg5
= static_cast< long >(val5
);
14808 arg6
= wxString_in_helper(obj5
);
14809 if (arg6
== NULL
) SWIG_fail
;
14814 if (!wxPyCheckForApp()) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14835 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14836 PyObject
*resultobj
= 0;
14837 wxSpinButton
*result
= 0 ;
14839 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14841 if (!wxPyCheckForApp()) SWIG_fail
;
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 result
= (wxSpinButton
*)new wxSpinButton();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14854 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
= 0;
14856 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14857 wxWindow
*arg2
= (wxWindow
*) 0 ;
14858 int arg3
= (int) -1 ;
14859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14863 long arg6
= (long) wxSP_HORIZONTAL
;
14864 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14877 bool temp7
= false ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 PyObject
* obj2
= 0 ;
14881 PyObject
* obj3
= 0 ;
14882 PyObject
* obj4
= 0 ;
14883 PyObject
* obj5
= 0 ;
14884 PyObject
* obj6
= 0 ;
14885 char * kwnames
[] = {
14886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14894 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14896 if (!SWIG_IsOK(res2
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14899 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14902 if (!SWIG_IsOK(ecode3
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14905 arg3
= static_cast< int >(val3
);
14910 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14916 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14920 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14921 if (!SWIG_IsOK(ecode6
)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14924 arg6
= static_cast< long >(val6
);
14928 arg7
= wxString_in_helper(obj6
);
14929 if (arg7
== NULL
) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14956 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14957 PyObject
*resultobj
= 0;
14958 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14962 PyObject
*swig_obj
[1] ;
14964 if (!args
) SWIG_fail
;
14965 swig_obj
[0] = args
;
14966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14970 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_From_int(static_cast< int >(result
));
14984 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14998 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int(static_cast< int >(result
));
15012 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15026 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int(static_cast< int >(result
));
15040 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
= 0;
15042 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char * kwnames
[] = {
15051 (char *) "self",(char *) "val", NULL
15054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15059 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15061 if (!SWIG_IsOK(ecode2
)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15064 arg2
= static_cast< int >(val2
);
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->SetValue(arg2
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_Py_Void();
15078 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
= 0;
15080 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "minVal", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15097 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15099 if (!SWIG_IsOK(ecode2
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15102 arg2
= static_cast< int >(val2
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetMin(arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_Py_Void();
15116 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= 0;
15118 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 char * kwnames
[] = {
15127 (char *) "self",(char *) "maxVal", NULL
15130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15132 if (!SWIG_IsOK(res1
)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15135 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15137 if (!SWIG_IsOK(ecode2
)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15140 arg2
= static_cast< int >(val2
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 (arg1
)->SetMax(arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_Py_Void();
15154 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
= 0;
15156 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 char * kwnames
[] = {
15169 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15174 if (!SWIG_IsOK(res1
)) {
15175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15177 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15179 if (!SWIG_IsOK(ecode2
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15182 arg2
= static_cast< int >(val2
);
15183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15184 if (!SWIG_IsOK(ecode3
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15187 arg3
= static_cast< int >(val3
);
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetRange(arg2
,arg3
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= SWIG_Py_Void();
15201 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15202 PyObject
*resultobj
= 0;
15203 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15207 PyObject
*swig_obj
[1] ;
15209 if (!args
) SWIG_fail
;
15210 swig_obj
[0] = args
;
15211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15215 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15231 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
= 0;
15233 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15234 SwigValueWrapper
<wxVisualAttributes
> result
;
15237 PyObject
* obj0
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "variant", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15245 if (!SWIG_IsOK(ecode1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15248 arg1
= static_cast< wxWindowVariant
>(val1
);
15251 if (!wxPyCheckForApp()) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15264 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15267 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15268 return SWIG_Py_Void();
15271 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 return SWIG_Python_InitShadowInstance(args
);
15275 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxWindow
*arg1
= (wxWindow
*) 0 ;
15278 int arg2
= (int) -1 ;
15279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15285 long arg6
= (long) wxSP_ARROW_KEYS
;
15286 int arg7
= (int) 0 ;
15287 int arg8
= (int) 100 ;
15288 int arg9
= (int) 0 ;
15289 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15290 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15291 wxSpinCtrl
*result
= 0 ;
15296 bool temp3
= false ;
15307 bool temp10
= false ;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 PyObject
* obj2
= 0 ;
15311 PyObject
* obj3
= 0 ;
15312 PyObject
* obj4
= 0 ;
15313 PyObject
* obj5
= 0 ;
15314 PyObject
* obj6
= 0 ;
15315 PyObject
* obj7
= 0 ;
15316 PyObject
* obj8
= 0 ;
15317 PyObject
* obj9
= 0 ;
15318 char * kwnames
[] = {
15319 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15330 if (!SWIG_IsOK(ecode2
)) {
15331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15333 arg2
= static_cast< int >(val2
);
15337 arg3
= wxString_in_helper(obj2
);
15338 if (arg3
== NULL
) SWIG_fail
;
15345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15355 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15356 if (!SWIG_IsOK(ecode6
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15359 arg6
= static_cast< long >(val6
);
15362 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15363 if (!SWIG_IsOK(ecode7
)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15366 arg7
= static_cast< int >(val7
);
15369 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15370 if (!SWIG_IsOK(ecode8
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15373 arg8
= static_cast< int >(val8
);
15376 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15377 if (!SWIG_IsOK(ecode9
)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15380 arg9
= static_cast< int >(val9
);
15384 arg10
= wxString_in_helper(obj9
);
15385 if (arg10
== NULL
) SWIG_fail
;
15390 if (!wxPyCheckForApp()) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15419 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15420 PyObject
*resultobj
= 0;
15421 wxSpinCtrl
*result
= 0 ;
15423 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15425 if (!wxPyCheckForApp()) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15438 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
= 0;
15440 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15441 wxWindow
*arg2
= (wxWindow
*) 0 ;
15442 int arg3
= (int) -1 ;
15443 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15444 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15445 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15446 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15447 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15448 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15449 long arg7
= (long) wxSP_ARROW_KEYS
;
15450 int arg8
= (int) 0 ;
15451 int arg9
= (int) 100 ;
15452 int arg10
= (int) 0 ;
15453 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15454 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15462 bool temp4
= false ;
15473 bool temp11
= false ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 PyObject
* obj2
= 0 ;
15477 PyObject
* obj3
= 0 ;
15478 PyObject
* obj4
= 0 ;
15479 PyObject
* obj5
= 0 ;
15480 PyObject
* obj6
= 0 ;
15481 PyObject
* obj7
= 0 ;
15482 PyObject
* obj8
= 0 ;
15483 PyObject
* obj9
= 0 ;
15484 PyObject
* obj10
= 0 ;
15485 char * kwnames
[] = {
15486 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15491 if (!SWIG_IsOK(res1
)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15494 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15496 if (!SWIG_IsOK(res2
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15499 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15502 if (!SWIG_IsOK(ecode3
)) {
15503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15505 arg3
= static_cast< int >(val3
);
15509 arg4
= wxString_in_helper(obj3
);
15510 if (arg4
== NULL
) SWIG_fail
;
15517 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15523 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15527 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15528 if (!SWIG_IsOK(ecode7
)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15531 arg7
= static_cast< long >(val7
);
15534 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15535 if (!SWIG_IsOK(ecode8
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15538 arg8
= static_cast< int >(val8
);
15541 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15542 if (!SWIG_IsOK(ecode9
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15545 arg9
= static_cast< int >(val9
);
15548 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15549 if (!SWIG_IsOK(ecode10
)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15552 arg10
= static_cast< int >(val10
);
15556 arg11
= wxString_in_helper(obj10
);
15557 if (arg11
== NULL
) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15592 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15593 PyObject
*resultobj
= 0;
15594 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15598 PyObject
*swig_obj
[1] ;
15600 if (!args
) SWIG_fail
;
15601 swig_obj
[0] = args
;
15602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15603 if (!SWIG_IsOK(res1
)) {
15604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15606 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_From_int(static_cast< int >(result
));
15620 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
= 0;
15622 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 char * kwnames
[] = {
15631 (char *) "self",(char *) "value", NULL
15634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15636 if (!SWIG_IsOK(res1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15639 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15641 if (!SWIG_IsOK(ecode2
)) {
15642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15644 arg2
= static_cast< int >(val2
);
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 (arg1
)->SetValue(arg2
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_Py_Void();
15658 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
= 0;
15660 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15661 wxString
*arg2
= 0 ;
15664 bool temp2
= false ;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 char * kwnames
[] = {
15668 (char *) "self",(char *) "text", NULL
15671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15676 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15678 arg2
= wxString_in_helper(obj1
);
15679 if (arg2
== NULL
) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 (arg1
)->SetValue((wxString
const &)*arg2
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= 0;
15705 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 PyObject
* obj2
= 0 ;
15717 char * kwnames
[] = {
15718 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15726 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15728 if (!SWIG_IsOK(ecode2
)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15731 arg2
= static_cast< int >(val2
);
15732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15733 if (!SWIG_IsOK(ecode3
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15736 arg3
= static_cast< int >(val3
);
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetRange(arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= SWIG_Py_Void();
15750 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15751 PyObject
*resultobj
= 0;
15752 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15756 PyObject
*swig_obj
[1] ;
15758 if (!args
) SWIG_fail
;
15759 swig_obj
[0] = args
;
15760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15764 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_From_int(static_cast< int >(result
));
15778 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15779 PyObject
*resultobj
= 0;
15780 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15784 PyObject
*swig_obj
[1] ;
15786 if (!args
) SWIG_fail
;
15787 swig_obj
[0] = args
;
15788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15789 if (!SWIG_IsOK(res1
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15792 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_From_int(static_cast< int >(result
));
15806 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
= 0;
15808 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 char * kwnames
[] = {
15821 (char *) "self",(char *) "from",(char *) "to", NULL
15824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15829 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15831 if (!SWIG_IsOK(ecode2
)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15834 arg2
= static_cast< long >(val2
);
15835 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15836 if (!SWIG_IsOK(ecode3
)) {
15837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15839 arg3
= static_cast< long >(val3
);
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->SetSelection(arg2
,arg3
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_Py_Void();
15853 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
= 0;
15855 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15856 SwigValueWrapper
<wxVisualAttributes
> result
;
15859 PyObject
* obj0
= 0 ;
15860 char * kwnames
[] = {
15861 (char *) "variant", NULL
15864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15867 if (!SWIG_IsOK(ecode1
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15870 arg1
= static_cast< wxWindowVariant
>(val1
);
15873 if (!wxPyCheckForApp()) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15886 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15889 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15890 return SWIG_Py_Void();
15893 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15894 return SWIG_Python_InitShadowInstance(args
);
15897 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
= 0;
15899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15900 int arg2
= (int) 0 ;
15901 wxSpinEvent
*result
= 0 ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char * kwnames
[] = {
15909 (char *) "commandType",(char *) "winid", NULL
15912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15915 if (!SWIG_IsOK(ecode1
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15918 arg1
= static_cast< wxEventType
>(val1
);
15921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15922 if (!SWIG_IsOK(ecode2
)) {
15923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15925 arg2
= static_cast< int >(val2
);
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15940 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15941 PyObject
*resultobj
= 0;
15942 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15946 PyObject
*swig_obj
[1] ;
15948 if (!args
) SWIG_fail
;
15949 swig_obj
[0] = args
;
15950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15954 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= SWIG_From_int(static_cast< int >(result
));
15968 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= 0;
15970 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 char * kwnames
[] = {
15979 (char *) "self",(char *) "pos", NULL
15982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15984 if (!SWIG_IsOK(res1
)) {
15985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15987 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15989 if (!SWIG_IsOK(ecode2
)) {
15990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15992 arg2
= static_cast< int >(val2
);
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 (arg1
)->SetPosition(arg2
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_Py_Void();
16006 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16010 return SWIG_Py_Void();
16013 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 return SWIG_Python_InitShadowInstance(args
);
16017 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16018 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16023 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16024 PyObject
*pyobj
= 0;
16028 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16030 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16037 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16038 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16043 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16044 PyObject
*pyobj
= 0;
16048 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16050 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16057 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
= 0;
16059 wxWindow
*arg1
= (wxWindow
*) 0 ;
16060 int arg2
= (int) -1 ;
16061 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16063 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16064 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16065 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16066 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16067 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16068 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16069 int arg7
= (int) 0 ;
16070 long arg8
= (long) wxRA_HORIZONTAL
;
16071 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16072 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16073 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16074 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16075 wxRadioBox
*result
= 0 ;
16080 bool temp3
= false ;
16083 bool temp6
= false ;
16090 bool temp10
= false ;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 PyObject
* obj2
= 0 ;
16094 PyObject
* obj3
= 0 ;
16095 PyObject
* obj4
= 0 ;
16096 PyObject
* obj5
= 0 ;
16097 PyObject
* obj6
= 0 ;
16098 PyObject
* obj7
= 0 ;
16099 PyObject
* obj8
= 0 ;
16100 PyObject
* obj9
= 0 ;
16101 char * kwnames
[] = {
16102 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16107 if (!SWIG_IsOK(res1
)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16113 if (!SWIG_IsOK(ecode2
)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16116 arg2
= static_cast< int >(val2
);
16120 arg3
= wxString_in_helper(obj2
);
16121 if (arg3
== NULL
) SWIG_fail
;
16128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16139 if (! PySequence_Check(obj5
)) {
16140 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16143 arg6
= new wxArrayString
;
16145 int i
, len
=PySequence_Length(obj5
);
16146 for (i
=0; i
<len
; i
++) {
16147 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16148 wxString
* s
= wxString_in_helper(item
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16157 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16158 if (!SWIG_IsOK(ecode7
)) {
16159 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16161 arg7
= static_cast< int >(val7
);
16164 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16165 if (!SWIG_IsOK(ecode8
)) {
16166 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16168 arg8
= static_cast< long >(val8
);
16171 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16172 if (!SWIG_IsOK(res9
)) {
16173 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16178 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16182 arg10
= wxString_in_helper(obj9
);
16183 if (arg10
== NULL
) SWIG_fail
;
16188 if (!wxPyCheckForApp()) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 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
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16200 if (temp6
) delete arg6
;
16213 if (temp6
) delete arg6
;
16223 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16224 PyObject
*resultobj
= 0;
16225 wxRadioBox
*result
= 0 ;
16227 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16229 if (!wxPyCheckForApp()) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (wxRadioBox
*)new wxRadioBox();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16242 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
= 0;
16244 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16245 wxWindow
*arg2
= (wxWindow
*) 0 ;
16246 int arg3
= (int) -1 ;
16247 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16248 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16249 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16250 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16251 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16252 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16253 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16254 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16255 int arg8
= (int) 0 ;
16256 long arg9
= (long) wxRA_HORIZONTAL
;
16257 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16258 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16259 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16260 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16268 bool temp4
= false ;
16271 bool temp7
= false ;
16278 bool temp11
= false ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 PyObject
* obj2
= 0 ;
16282 PyObject
* obj3
= 0 ;
16283 PyObject
* obj4
= 0 ;
16284 PyObject
* obj5
= 0 ;
16285 PyObject
* obj6
= 0 ;
16286 PyObject
* obj7
= 0 ;
16287 PyObject
* obj8
= 0 ;
16288 PyObject
* obj9
= 0 ;
16289 PyObject
* obj10
= 0 ;
16290 char * kwnames
[] = {
16291 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16296 if (!SWIG_IsOK(res1
)) {
16297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16299 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16301 if (!SWIG_IsOK(res2
)) {
16302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16307 if (!SWIG_IsOK(ecode3
)) {
16308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16310 arg3
= static_cast< int >(val3
);
16314 arg4
= wxString_in_helper(obj3
);
16315 if (arg4
== NULL
) SWIG_fail
;
16322 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16328 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16333 if (! PySequence_Check(obj6
)) {
16334 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16337 arg7
= new wxArrayString
;
16339 int i
, len
=PySequence_Length(obj6
);
16340 for (i
=0; i
<len
; i
++) {
16341 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16342 wxString
* s
= wxString_in_helper(item
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16351 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16352 if (!SWIG_IsOK(ecode8
)) {
16353 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16355 arg8
= static_cast< int >(val8
);
16358 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16359 if (!SWIG_IsOK(ecode9
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16362 arg9
= static_cast< long >(val9
);
16365 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16366 if (!SWIG_IsOK(res10
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16372 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16376 arg11
= wxString_in_helper(obj10
);
16377 if (arg11
== NULL
) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 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
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 if (temp7
) delete arg7
;
16408 if (temp7
) delete arg7
;
16418 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
= 0;
16420 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char * kwnames
[] = {
16429 (char *) "self",(char *) "n", NULL
16432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16434 if (!SWIG_IsOK(res1
)) {
16435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16437 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16439 if (!SWIG_IsOK(ecode2
)) {
16440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16442 arg2
= static_cast< int >(val2
);
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetSelection(arg2
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_Py_Void();
16456 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16457 PyObject
*resultobj
= 0;
16458 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16462 PyObject
*swig_obj
[1] ;
16464 if (!args
) SWIG_fail
;
16465 swig_obj
[0] = args
;
16466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16470 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_From_int(static_cast< int >(result
));
16484 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 PyObject
*resultobj
= 0;
16486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16490 PyObject
*swig_obj
[1] ;
16492 if (!args
) SWIG_fail
;
16493 swig_obj
[0] = args
;
16494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16498 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16518 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
= 0;
16520 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16521 wxString
*arg2
= 0 ;
16525 bool temp2
= false ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char * kwnames
[] = {
16529 (char *) "self",(char *) "s", NULL
16532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16534 if (!SWIG_IsOK(res1
)) {
16535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16537 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16539 arg2
= wxString_in_helper(obj1
);
16540 if (arg2
== NULL
) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16566 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16567 PyObject
*resultobj
= 0;
16568 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16572 PyObject
*swig_obj
[1] ;
16574 if (!args
) SWIG_fail
;
16575 swig_obj
[0] = args
;
16576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16580 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16594 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
= 0;
16596 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16597 wxString
*arg2
= 0 ;
16601 bool temp2
= false ;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 char * kwnames
[] = {
16605 (char *) "self",(char *) "s", NULL
16608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16610 if (!SWIG_IsOK(res1
)) {
16611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16613 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16615 arg2
= wxString_in_helper(obj1
);
16616 if (arg2
== NULL
) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_From_int(static_cast< int >(result
));
16640 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
= 0;
16642 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char * kwnames
[] = {
16652 (char *) "self",(char *) "n", NULL
16655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16660 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16662 if (!SWIG_IsOK(ecode2
)) {
16663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16665 arg2
= static_cast< int >(val2
);
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16685 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
= 0;
16687 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16689 wxString
*arg3
= 0 ;
16694 bool temp3
= false ;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 PyObject
* obj2
= 0 ;
16698 char * kwnames
[] = {
16699 (char *) "self",(char *) "n",(char *) "label", NULL
16702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16707 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16709 if (!SWIG_IsOK(ecode2
)) {
16710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16712 arg2
= static_cast< int >(val2
);
16714 arg3
= wxString_in_helper(obj2
);
16715 if (arg3
== NULL
) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_Py_Void();
16739 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
= 0;
16741 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16742 unsigned int arg2
;
16743 bool arg3
= (bool) true ;
16746 unsigned int val2
;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 char * kwnames
[] = {
16754 (char *) "self",(char *) "n",(char *) "enable", NULL
16757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16759 if (!SWIG_IsOK(res1
)) {
16760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16762 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16763 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16764 if (!SWIG_IsOK(ecode2
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16767 arg2
= static_cast< unsigned int >(val2
);
16769 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16770 if (!SWIG_IsOK(ecode3
)) {
16771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16773 arg3
= static_cast< bool >(val3
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 (arg1
)->Enable(arg2
,arg3
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_Py_Void();
16788 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
= 0;
16790 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16791 unsigned int arg2
;
16792 bool arg3
= (bool) true ;
16795 unsigned int val2
;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 char * kwnames
[] = {
16803 (char *) "self",(char *) "n",(char *) "show", NULL
16806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16808 if (!SWIG_IsOK(res1
)) {
16809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16811 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16812 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16813 if (!SWIG_IsOK(ecode2
)) {
16814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16816 arg2
= static_cast< unsigned int >(val2
);
16818 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16819 if (!SWIG_IsOK(ecode3
)) {
16820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16822 arg3
= static_cast< bool >(val3
);
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 (arg1
)->Show(arg2
,arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_Py_Void();
16837 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
= 0;
16839 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16840 unsigned int arg2
;
16844 unsigned int val2
;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 char * kwnames
[] = {
16849 (char *) "self",(char *) "n", NULL
16852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16854 if (!SWIG_IsOK(res1
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16857 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16858 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16859 if (!SWIG_IsOK(ecode2
)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16862 arg2
= static_cast< unsigned int >(val2
);
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16878 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
= 0;
16880 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16881 unsigned int arg2
;
16885 unsigned int val2
;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char * kwnames
[] = {
16890 (char *) "self",(char *) "n", NULL
16893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16898 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16899 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16900 if (!SWIG_IsOK(ecode2
)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16903 arg2
= static_cast< unsigned int >(val2
);
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16919 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16920 PyObject
*resultobj
= 0;
16921 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16922 unsigned int result
;
16925 PyObject
*swig_obj
[1] ;
16927 if (!args
) SWIG_fail
;
16928 swig_obj
[0] = args
;
16929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16933 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16947 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16948 PyObject
*resultobj
= 0;
16949 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16950 unsigned int result
;
16953 PyObject
*swig_obj
[1] ;
16955 if (!args
) SWIG_fail
;
16956 swig_obj
[0] = args
;
16957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16958 if (!SWIG_IsOK(res1
)) {
16959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16961 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16975 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
= 0;
16977 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 PyObject
* obj3
= 0 ;
16994 char * kwnames
[] = {
16995 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17000 if (!SWIG_IsOK(res1
)) {
17001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17003 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17005 if (!SWIG_IsOK(ecode2
)) {
17006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17008 arg2
= static_cast< int >(val2
);
17009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17010 if (!SWIG_IsOK(ecode3
)) {
17011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17013 arg3
= static_cast< wxDirection
>(val3
);
17014 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17015 if (!SWIG_IsOK(ecode4
)) {
17016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17018 arg4
= static_cast< long >(val4
);
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_From_int(static_cast< int >(result
));
17032 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17035 unsigned int arg2
;
17036 wxString
*arg3
= 0 ;
17039 unsigned int val2
;
17041 bool temp3
= false ;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 PyObject
* obj2
= 0 ;
17045 char * kwnames
[] = {
17046 (char *) "self",(char *) "item",(char *) "text", NULL
17049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17051 if (!SWIG_IsOK(res1
)) {
17052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17054 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17055 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17056 if (!SWIG_IsOK(ecode2
)) {
17057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17059 arg2
= static_cast< unsigned int >(val2
);
17061 arg3
= wxString_in_helper(obj2
);
17062 if (arg3
== NULL
) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_Py_Void();
17086 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= 0;
17088 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17089 unsigned int arg2
;
17090 wxToolTip
*result
= 0 ;
17093 unsigned int val2
;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 char * kwnames
[] = {
17098 (char *) "self",(char *) "item", NULL
17101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17103 if (!SWIG_IsOK(res1
)) {
17104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17106 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17107 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17108 if (!SWIG_IsOK(ecode2
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17111 arg2
= static_cast< unsigned int >(val2
);
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17127 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= 0;
17129 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17130 unsigned int arg2
;
17131 wxString
*arg3
= 0 ;
17134 unsigned int val2
;
17136 bool temp3
= false ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 char * kwnames
[] = {
17141 (char *) "self",(char *) "n",(char *) "helpText", NULL
17144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17146 if (!SWIG_IsOK(res1
)) {
17147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17149 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17150 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17151 if (!SWIG_IsOK(ecode2
)) {
17152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17154 arg2
= static_cast< unsigned int >(val2
);
17156 arg3
= wxString_in_helper(obj2
);
17157 if (arg3
== NULL
) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= SWIG_Py_Void();
17181 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
= 0;
17183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17184 unsigned int arg2
;
17188 unsigned int val2
;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char * kwnames
[] = {
17193 (char *) "self",(char *) "n", NULL
17196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17198 if (!SWIG_IsOK(res1
)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17201 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17202 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17203 if (!SWIG_IsOK(ecode2
)) {
17204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17206 arg2
= static_cast< unsigned int >(val2
);
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17226 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
= 0;
17228 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17229 SwigValueWrapper
<wxVisualAttributes
> result
;
17232 PyObject
* obj0
= 0 ;
17233 char * kwnames
[] = {
17234 (char *) "variant", NULL
17237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17240 if (!SWIG_IsOK(ecode1
)) {
17241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17243 arg1
= static_cast< wxWindowVariant
>(val1
);
17246 if (!wxPyCheckForApp()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17259 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17262 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17263 return SWIG_Py_Void();
17266 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17267 return SWIG_Python_InitShadowInstance(args
);
17270 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
= 0;
17272 wxWindow
*arg1
= (wxWindow
*) 0 ;
17273 int arg2
= (int) -1 ;
17274 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17280 long arg6
= (long) 0 ;
17281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17283 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17285 wxRadioButton
*result
= 0 ;
17290 bool temp3
= false ;
17297 bool temp8
= false ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 PyObject
* obj3
= 0 ;
17302 PyObject
* obj4
= 0 ;
17303 PyObject
* obj5
= 0 ;
17304 PyObject
* obj6
= 0 ;
17305 PyObject
* obj7
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17312 if (!SWIG_IsOK(res1
)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17315 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17318 if (!SWIG_IsOK(ecode2
)) {
17319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17321 arg2
= static_cast< int >(val2
);
17325 arg3
= wxString_in_helper(obj2
);
17326 if (arg3
== NULL
) SWIG_fail
;
17333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17343 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17344 if (!SWIG_IsOK(ecode6
)) {
17345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17347 arg6
= static_cast< long >(val6
);
17350 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17351 if (!SWIG_IsOK(res7
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17357 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17361 arg8
= wxString_in_helper(obj7
);
17362 if (arg8
== NULL
) SWIG_fail
;
17367 if (!wxPyCheckForApp()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17396 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17397 PyObject
*resultobj
= 0;
17398 wxRadioButton
*result
= 0 ;
17400 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17402 if (!wxPyCheckForApp()) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (wxRadioButton
*)new wxRadioButton();
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17415 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= 0;
17417 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17418 wxWindow
*arg2
= (wxWindow
*) 0 ;
17419 int arg3
= (int) -1 ;
17420 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17421 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17422 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17423 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17424 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17425 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17426 long arg7
= (long) 0 ;
17427 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17428 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17429 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17430 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17438 bool temp4
= false ;
17445 bool temp9
= false ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 PyObject
* obj3
= 0 ;
17450 PyObject
* obj4
= 0 ;
17451 PyObject
* obj5
= 0 ;
17452 PyObject
* obj6
= 0 ;
17453 PyObject
* obj7
= 0 ;
17454 PyObject
* obj8
= 0 ;
17455 char * kwnames
[] = {
17456 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17461 if (!SWIG_IsOK(res1
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17464 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17466 if (!SWIG_IsOK(res2
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17472 if (!SWIG_IsOK(ecode3
)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17475 arg3
= static_cast< int >(val3
);
17479 arg4
= wxString_in_helper(obj3
);
17480 if (arg4
== NULL
) SWIG_fail
;
17487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17497 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17498 if (!SWIG_IsOK(ecode7
)) {
17499 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17501 arg7
= static_cast< long >(val7
);
17504 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17505 if (!SWIG_IsOK(res8
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17511 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17515 arg9
= wxString_in_helper(obj8
);
17516 if (arg9
== NULL
) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17551 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17552 PyObject
*resultobj
= 0;
17553 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17557 PyObject
*swig_obj
[1] ;
17559 if (!args
) SWIG_fail
;
17560 swig_obj
[0] = args
;
17561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17565 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (bool)(arg1
)->GetValue();
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17581 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
= 0;
17583 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 char * kwnames
[] = {
17592 (char *) "self",(char *) "value", NULL
17595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17597 if (!SWIG_IsOK(res1
)) {
17598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17600 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17601 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17602 if (!SWIG_IsOK(ecode2
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17605 arg2
= static_cast< bool >(val2
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 (arg1
)->SetValue(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_Py_Void();
17619 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
= 0;
17621 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17622 SwigValueWrapper
<wxVisualAttributes
> result
;
17625 PyObject
* obj0
= 0 ;
17626 char * kwnames
[] = {
17627 (char *) "variant", NULL
17630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17632 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17633 if (!SWIG_IsOK(ecode1
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17636 arg1
= static_cast< wxWindowVariant
>(val1
);
17639 if (!wxPyCheckForApp()) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17652 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17655 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17656 return SWIG_Py_Void();
17659 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17660 return SWIG_Python_InitShadowInstance(args
);
17663 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17664 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17669 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17670 PyObject
*pyobj
= 0;
17674 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17676 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17683 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
= 0;
17685 wxWindow
*arg1
= (wxWindow
*) 0 ;
17686 int arg2
= (int) -1 ;
17687 int arg3
= (int) 0 ;
17688 int arg4
= (int) 0 ;
17689 int arg5
= (int) 100 ;
17690 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17691 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17692 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17693 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17694 long arg8
= (long) wxSL_HORIZONTAL
;
17695 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17696 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17697 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17698 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17699 wxSlider
*result
= 0 ;
17716 bool temp10
= false ;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 PyObject
* obj3
= 0 ;
17721 PyObject
* obj4
= 0 ;
17722 PyObject
* obj5
= 0 ;
17723 PyObject
* obj6
= 0 ;
17724 PyObject
* obj7
= 0 ;
17725 PyObject
* obj8
= 0 ;
17726 PyObject
* obj9
= 0 ;
17727 char * kwnames
[] = {
17728 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17739 if (!SWIG_IsOK(ecode2
)) {
17740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17742 arg2
= static_cast< int >(val2
);
17745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17746 if (!SWIG_IsOK(ecode3
)) {
17747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17749 arg3
= static_cast< int >(val3
);
17752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17753 if (!SWIG_IsOK(ecode4
)) {
17754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17756 arg4
= static_cast< int >(val4
);
17759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17760 if (!SWIG_IsOK(ecode5
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17763 arg5
= static_cast< int >(val5
);
17768 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17774 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17778 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17779 if (!SWIG_IsOK(ecode8
)) {
17780 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17782 arg8
= static_cast< long >(val8
);
17785 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17786 if (!SWIG_IsOK(res9
)) {
17787 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17792 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17796 arg10
= wxString_in_helper(obj9
);
17797 if (arg10
== NULL
) SWIG_fail
;
17802 if (!wxPyCheckForApp()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17823 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17824 PyObject
*resultobj
= 0;
17825 wxSlider
*result
= 0 ;
17827 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17829 if (!wxPyCheckForApp()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (wxSlider
*)new wxSlider();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17842 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
= 0;
17844 wxSlider
*arg1
= (wxSlider
*) 0 ;
17845 wxWindow
*arg2
= (wxWindow
*) 0 ;
17846 int arg3
= (int) -1 ;
17847 int arg4
= (int) 0 ;
17848 int arg5
= (int) 0 ;
17849 int arg6
= (int) 100 ;
17850 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17851 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17852 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17853 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17854 long arg9
= (long) wxSL_HORIZONTAL
;
17855 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17856 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17857 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17858 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17878 bool temp11
= false ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 PyObject
* obj2
= 0 ;
17882 PyObject
* obj3
= 0 ;
17883 PyObject
* obj4
= 0 ;
17884 PyObject
* obj5
= 0 ;
17885 PyObject
* obj6
= 0 ;
17886 PyObject
* obj7
= 0 ;
17887 PyObject
* obj8
= 0 ;
17888 PyObject
* obj9
= 0 ;
17889 PyObject
* obj10
= 0 ;
17890 char * kwnames
[] = {
17891 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17896 if (!SWIG_IsOK(res1
)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17899 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17901 if (!SWIG_IsOK(res2
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17907 if (!SWIG_IsOK(ecode3
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17910 arg3
= static_cast< int >(val3
);
17913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17914 if (!SWIG_IsOK(ecode4
)) {
17915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17917 arg4
= static_cast< int >(val4
);
17920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17921 if (!SWIG_IsOK(ecode5
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17924 arg5
= static_cast< int >(val5
);
17927 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17928 if (!SWIG_IsOK(ecode6
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17931 arg6
= static_cast< int >(val6
);
17936 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17942 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17946 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17947 if (!SWIG_IsOK(ecode9
)) {
17948 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17950 arg9
= static_cast< long >(val9
);
17953 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17954 if (!SWIG_IsOK(res10
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17960 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17964 arg11
= wxString_in_helper(obj10
);
17965 if (arg11
== NULL
) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17992 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17993 PyObject
*resultobj
= 0;
17994 wxSlider
*arg1
= (wxSlider
*) 0 ;
17998 PyObject
*swig_obj
[1] ;
18000 if (!args
) SWIG_fail
;
18001 swig_obj
[0] = args
;
18002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18003 if (!SWIG_IsOK(res1
)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18006 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_From_int(static_cast< int >(result
));
18020 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
= 0;
18022 wxSlider
*arg1
= (wxSlider
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 char * kwnames
[] = {
18031 (char *) "self",(char *) "value", NULL
18034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18039 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18041 if (!SWIG_IsOK(ecode2
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18044 arg2
= static_cast< int >(val2
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->SetValue(arg2
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_Py_Void();
18058 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= 0;
18060 wxSlider
*arg1
= (wxSlider
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 PyObject
* obj2
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18081 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18083 if (!SWIG_IsOK(ecode2
)) {
18084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18086 arg2
= static_cast< int >(val2
);
18087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18088 if (!SWIG_IsOK(ecode3
)) {
18089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18091 arg3
= static_cast< int >(val3
);
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 (arg1
)->SetRange(arg2
,arg3
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= SWIG_Py_Void();
18105 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18106 PyObject
*resultobj
= 0;
18107 wxSlider
*arg1
= (wxSlider
*) 0 ;
18111 PyObject
*swig_obj
[1] ;
18113 if (!args
) SWIG_fail
;
18114 swig_obj
[0] = args
;
18115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18116 if (!SWIG_IsOK(res1
)) {
18117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18119 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_From_int(static_cast< int >(result
));
18133 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18134 PyObject
*resultobj
= 0;
18135 wxSlider
*arg1
= (wxSlider
*) 0 ;
18139 PyObject
*swig_obj
[1] ;
18141 if (!args
) SWIG_fail
;
18142 swig_obj
[0] = args
;
18143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18144 if (!SWIG_IsOK(res1
)) {
18145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18147 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_From_int(static_cast< int >(result
));
18161 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxSlider
*arg1
= (wxSlider
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char * kwnames
[] = {
18172 (char *) "self",(char *) "minValue", NULL
18175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18180 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18182 if (!SWIG_IsOK(ecode2
)) {
18183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18185 arg2
= static_cast< int >(val2
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetMin(arg2
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxSlider
*arg1
= (wxSlider
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "maxValue", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18218 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18220 if (!SWIG_IsOK(ecode2
)) {
18221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18223 arg2
= static_cast< int >(val2
);
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->SetMax(arg2
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_Py_Void();
18237 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
= 0;
18239 wxSlider
*arg1
= (wxSlider
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 char * kwnames
[] = {
18248 (char *) "self",(char *) "lineSize", NULL
18251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18253 if (!SWIG_IsOK(res1
)) {
18254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18256 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18258 if (!SWIG_IsOK(ecode2
)) {
18259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18261 arg2
= static_cast< int >(val2
);
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 (arg1
)->SetLineSize(arg2
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_Py_Void();
18275 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
= 0;
18277 wxSlider
*arg1
= (wxSlider
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char * kwnames
[] = {
18286 (char *) "self",(char *) "pageSize", NULL
18289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18291 if (!SWIG_IsOK(res1
)) {
18292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18294 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18296 if (!SWIG_IsOK(ecode2
)) {
18297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18299 arg2
= static_cast< int >(val2
);
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->SetPageSize(arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_Py_Void();
18313 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18314 PyObject
*resultobj
= 0;
18315 wxSlider
*arg1
= (wxSlider
*) 0 ;
18319 PyObject
*swig_obj
[1] ;
18321 if (!args
) SWIG_fail
;
18322 swig_obj
[0] = args
;
18323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18327 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_From_int(static_cast< int >(result
));
18341 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18342 PyObject
*resultobj
= 0;
18343 wxSlider
*arg1
= (wxSlider
*) 0 ;
18347 PyObject
*swig_obj
[1] ;
18349 if (!args
) SWIG_fail
;
18350 swig_obj
[0] = args
;
18351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18352 if (!SWIG_IsOK(res1
)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18355 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= SWIG_From_int(static_cast< int >(result
));
18369 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
= 0;
18371 wxSlider
*arg1
= (wxSlider
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 char * kwnames
[] = {
18380 (char *) "self",(char *) "lenPixels", NULL
18383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18385 if (!SWIG_IsOK(res1
)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18388 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18390 if (!SWIG_IsOK(ecode2
)) {
18391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18393 arg2
= static_cast< int >(val2
);
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 (arg1
)->SetThumbLength(arg2
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= SWIG_Py_Void();
18407 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18408 PyObject
*resultobj
= 0;
18409 wxSlider
*arg1
= (wxSlider
*) 0 ;
18413 PyObject
*swig_obj
[1] ;
18415 if (!args
) SWIG_fail
;
18416 swig_obj
[0] = args
;
18417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18418 if (!SWIG_IsOK(res1
)) {
18419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18421 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= SWIG_From_int(static_cast< int >(result
));
18435 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= 0;
18437 wxSlider
*arg1
= (wxSlider
*) 0 ;
18439 int arg3
= (int) 1 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "n",(char *) "pos", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18458 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18460 if (!SWIG_IsOK(ecode2
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18463 arg2
= static_cast< int >(val2
);
18465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18466 if (!SWIG_IsOK(ecode3
)) {
18467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18469 arg3
= static_cast< int >(val3
);
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->SetTickFreq(arg2
,arg3
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_Py_Void();
18484 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18485 PyObject
*resultobj
= 0;
18486 wxSlider
*arg1
= (wxSlider
*) 0 ;
18490 PyObject
*swig_obj
[1] ;
18492 if (!args
) SWIG_fail
;
18493 swig_obj
[0] = args
;
18494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18498 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_From_int(static_cast< int >(result
));
18512 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 PyObject
*resultobj
= 0;
18514 wxSlider
*arg1
= (wxSlider
*) 0 ;
18517 PyObject
*swig_obj
[1] ;
18519 if (!args
) SWIG_fail
;
18520 swig_obj
[0] = args
;
18521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18525 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->ClearTicks();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_Py_Void();
18539 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
= 0;
18541 wxSlider
*arg1
= (wxSlider
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char * kwnames
[] = {
18550 (char *) "self",(char *) "tickPos", NULL
18553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18558 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18560 if (!SWIG_IsOK(ecode2
)) {
18561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18563 arg2
= static_cast< int >(val2
);
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 (arg1
)->SetTick(arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_Py_Void();
18577 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18578 PyObject
*resultobj
= 0;
18579 wxSlider
*arg1
= (wxSlider
*) 0 ;
18582 PyObject
*swig_obj
[1] ;
18584 if (!args
) SWIG_fail
;
18585 swig_obj
[0] = args
;
18586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18587 if (!SWIG_IsOK(res1
)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18590 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->ClearSel();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_Py_Void();
18604 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18605 PyObject
*resultobj
= 0;
18606 wxSlider
*arg1
= (wxSlider
*) 0 ;
18610 PyObject
*swig_obj
[1] ;
18612 if (!args
) SWIG_fail
;
18613 swig_obj
[0] = args
;
18614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18615 if (!SWIG_IsOK(res1
)) {
18616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18618 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_From_int(static_cast< int >(result
));
18632 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18633 PyObject
*resultobj
= 0;
18634 wxSlider
*arg1
= (wxSlider
*) 0 ;
18638 PyObject
*swig_obj
[1] ;
18640 if (!args
) SWIG_fail
;
18641 swig_obj
[0] = args
;
18642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18643 if (!SWIG_IsOK(res1
)) {
18644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18646 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_From_int(static_cast< int >(result
));
18660 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
= 0;
18662 wxSlider
*arg1
= (wxSlider
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 PyObject
* obj2
= 0 ;
18674 char * kwnames
[] = {
18675 (char *) "self",(char *) "min",(char *) "max", NULL
18678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18680 if (!SWIG_IsOK(res1
)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18683 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18685 if (!SWIG_IsOK(ecode2
)) {
18686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18688 arg2
= static_cast< int >(val2
);
18689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18690 if (!SWIG_IsOK(ecode3
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18693 arg3
= static_cast< int >(val3
);
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetSelection(arg2
,arg3
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_Py_Void();
18707 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
= 0;
18709 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18710 SwigValueWrapper
<wxVisualAttributes
> result
;
18713 PyObject
* obj0
= 0 ;
18714 char * kwnames
[] = {
18715 (char *) "variant", NULL
18718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18721 if (!SWIG_IsOK(ecode1
)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18724 arg1
= static_cast< wxWindowVariant
>(val1
);
18727 if (!wxPyCheckForApp()) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18740 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18743 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18744 return SWIG_Py_Void();
18747 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18748 return SWIG_Python_InitShadowInstance(args
);
18751 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18752 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18757 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18758 PyObject
*pyobj
= 0;
18762 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18764 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18771 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
= 0;
18773 wxWindow
*arg1
= (wxWindow
*) 0 ;
18774 int arg2
= (int) -1 ;
18775 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18781 long arg6
= (long) 0 ;
18782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18784 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18786 wxToggleButton
*result
= 0 ;
18791 bool temp3
= false ;
18798 bool temp8
= false ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 PyObject
* obj2
= 0 ;
18802 PyObject
* obj3
= 0 ;
18803 PyObject
* obj4
= 0 ;
18804 PyObject
* obj5
= 0 ;
18805 PyObject
* obj6
= 0 ;
18806 PyObject
* obj7
= 0 ;
18807 char * kwnames
[] = {
18808 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18813 if (!SWIG_IsOK(res1
)) {
18814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18819 if (!SWIG_IsOK(ecode2
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18822 arg2
= static_cast< int >(val2
);
18826 arg3
= wxString_in_helper(obj2
);
18827 if (arg3
== NULL
) SWIG_fail
;
18834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18845 if (!SWIG_IsOK(ecode6
)) {
18846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18848 arg6
= static_cast< long >(val6
);
18851 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18852 if (!SWIG_IsOK(res7
)) {
18853 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18858 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18862 arg8
= wxString_in_helper(obj7
);
18863 if (arg8
== NULL
) SWIG_fail
;
18868 if (!wxPyCheckForApp()) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18897 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18898 PyObject
*resultobj
= 0;
18899 wxToggleButton
*result
= 0 ;
18901 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18903 if (!wxPyCheckForApp()) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (wxToggleButton
*)new wxToggleButton();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18916 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
= 0;
18918 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18919 wxWindow
*arg2
= (wxWindow
*) 0 ;
18920 int arg3
= (int) -1 ;
18921 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18922 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18923 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18924 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18925 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18926 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18927 long arg7
= (long) 0 ;
18928 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18929 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18930 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18939 bool temp4
= false ;
18946 bool temp9
= false ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 PyObject
* obj2
= 0 ;
18950 PyObject
* obj3
= 0 ;
18951 PyObject
* obj4
= 0 ;
18952 PyObject
* obj5
= 0 ;
18953 PyObject
* obj6
= 0 ;
18954 PyObject
* obj7
= 0 ;
18955 PyObject
* obj8
= 0 ;
18956 char * kwnames
[] = {
18957 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18962 if (!SWIG_IsOK(res1
)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18965 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18967 if (!SWIG_IsOK(res2
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18973 if (!SWIG_IsOK(ecode3
)) {
18974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18976 arg3
= static_cast< int >(val3
);
18980 arg4
= wxString_in_helper(obj3
);
18981 if (arg4
== NULL
) SWIG_fail
;
18988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18999 if (!SWIG_IsOK(ecode7
)) {
19000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19002 arg7
= static_cast< long >(val7
);
19005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19006 if (!SWIG_IsOK(res8
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19016 arg9
= wxString_in_helper(obj8
);
19017 if (arg9
== NULL
) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19052 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
= 0;
19054 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "value", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19071 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19072 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19073 if (!SWIG_IsOK(ecode2
)) {
19074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19076 arg2
= static_cast< bool >(val2
);
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->SetValue(arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_Py_Void();
19090 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19091 PyObject
*resultobj
= 0;
19092 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19096 PyObject
*swig_obj
[1] ;
19098 if (!args
) SWIG_fail
;
19099 swig_obj
[0] = args
;
19100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19101 if (!SWIG_IsOK(res1
)) {
19102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19104 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19107 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19120 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
= 0;
19122 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19123 SwigValueWrapper
<wxVisualAttributes
> result
;
19126 PyObject
* obj0
= 0 ;
19127 char * kwnames
[] = {
19128 (char *) "variant", NULL
19131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19133 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19134 if (!SWIG_IsOK(ecode1
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19137 arg1
= static_cast< wxWindowVariant
>(val1
);
19140 if (!wxPyCheckForApp()) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19153 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19156 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19157 return SWIG_Py_Void();
19160 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19161 return SWIG_Python_InitShadowInstance(args
);
19164 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19165 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19170 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19171 PyObject
*pyobj
= 0;
19175 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19177 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19184 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19185 PyObject
*resultobj
= 0;
19186 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19190 PyObject
*swig_obj
[1] ;
19192 if (!args
) SWIG_fail
;
19193 swig_obj
[0] = args
;
19194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19198 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19212 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
= 0;
19214 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19216 wxWindow
*result
= 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char * kwnames
[] = {
19224 (char *) "self",(char *) "n", NULL
19227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19232 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19233 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19234 if (!SWIG_IsOK(ecode2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19237 arg2
= static_cast< size_t >(val2
);
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= wxPyMake_wxObject(result
, 0);
19253 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19254 PyObject
*resultobj
= 0;
19255 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19256 wxWindow
*result
= 0 ;
19259 PyObject
*swig_obj
[1] ;
19261 if (!args
) SWIG_fail
;
19262 swig_obj
[0] = args
;
19263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19264 if (!SWIG_IsOK(res1
)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19267 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= wxPyMake_wxObject(result
, 0);
19283 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19284 PyObject
*resultobj
= 0;
19285 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19289 PyObject
*swig_obj
[1] ;
19291 if (!args
) SWIG_fail
;
19292 swig_obj
[0] = args
;
19293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19294 if (!SWIG_IsOK(res1
)) {
19295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19297 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_From_int(static_cast< int >(result
));
19311 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
= 0;
19313 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19315 wxString
*arg3
= 0 ;
19321 bool temp3
= false ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 PyObject
* obj2
= 0 ;
19325 char * kwnames
[] = {
19326 (char *) "self",(char *) "n",(char *) "strText", NULL
19329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19331 if (!SWIG_IsOK(res1
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19334 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19335 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19336 if (!SWIG_IsOK(ecode2
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19339 arg2
= static_cast< size_t >(val2
);
19341 arg3
= wxString_in_helper(obj2
);
19342 if (arg3
== NULL
) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19368 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char * kwnames
[] = {
19380 (char *) "self",(char *) "n", NULL
19383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19385 if (!SWIG_IsOK(res1
)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19388 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19389 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19390 if (!SWIG_IsOK(ecode2
)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19393 arg2
= static_cast< size_t >(val2
);
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19413 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
= 0;
19415 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19416 wxImageList
*arg2
= (wxImageList
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char * kwnames
[] = {
19424 (char *) "self",(char *) "imageList", NULL
19427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19429 if (!SWIG_IsOK(res1
)) {
19430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19432 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19434 if (!SWIG_IsOK(res2
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19437 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->SetImageList(arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_Py_Void();
19451 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19454 wxImageList
*arg2
= (wxImageList
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char * kwnames
[] = {
19461 (char *) "self",(char *) "imageList", NULL
19464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19466 if (!SWIG_IsOK(res1
)) {
19467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19469 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19470 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19471 if (!SWIG_IsOK(res2
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->AssignImageList(arg2
);
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= SWIG_Py_Void();
19487 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19488 PyObject
*resultobj
= 0;
19489 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19490 wxImageList
*result
= 0 ;
19493 PyObject
*swig_obj
[1] ;
19495 if (!args
) SWIG_fail
;
19496 swig_obj
[0] = args
;
19497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19501 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19517 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19526 PyObject
* obj0
= 0 ;
19527 PyObject
* obj1
= 0 ;
19528 char * kwnames
[] = {
19529 (char *) "self",(char *) "n", NULL
19532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19534 if (!SWIG_IsOK(res1
)) {
19535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19537 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19538 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19539 if (!SWIG_IsOK(ecode2
)) {
19540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19542 arg2
= static_cast< size_t >(val2
);
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_From_int(static_cast< int >(result
));
19556 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 char * kwnames
[] = {
19572 (char *) "self",(char *) "n",(char *) "imageId", NULL
19575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19577 if (!SWIG_IsOK(res1
)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19580 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19581 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19582 if (!SWIG_IsOK(ecode2
)) {
19583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19585 arg2
= static_cast< size_t >(val2
);
19586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19587 if (!SWIG_IsOK(ecode3
)) {
19588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19590 arg3
= static_cast< int >(val3
);
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19606 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 char * kwnames
[] = {
19616 (char *) "self",(char *) "size", NULL
19619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19621 if (!SWIG_IsOK(res1
)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19624 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_Py_Void();
19642 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char * kwnames
[] = {
19653 (char *) "self",(char *) "sizePage", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19661 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19679 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19680 PyObject
*resultobj
= 0;
19681 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19682 unsigned int result
;
19685 PyObject
*swig_obj
[1] ;
19687 if (!args
) SWIG_fail
;
19688 swig_obj
[0] = args
;
19689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19693 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19707 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
= 0;
19709 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19710 unsigned int arg2
;
19713 unsigned int val2
;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char * kwnames
[] = {
19718 (char *) "self",(char *) "internalBorder", NULL
19721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19726 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19727 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19728 if (!SWIG_IsOK(ecode2
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19731 arg2
= static_cast< unsigned int >(val2
);
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->SetInternalBorder(arg2
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_Py_Void();
19745 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19746 PyObject
*resultobj
= 0;
19747 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19751 PyObject
*swig_obj
[1] ;
19753 if (!args
) SWIG_fail
;
19754 swig_obj
[0] = args
;
19755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19759 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19775 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
= 0;
19777 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char * kwnames
[] = {
19786 (char *) "self",(char *) "margin", NULL
19789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19791 if (!SWIG_IsOK(res1
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19794 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19796 if (!SWIG_IsOK(ecode2
)) {
19797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19799 arg2
= static_cast< int >(val2
);
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 (arg1
)->SetControlMargin(arg2
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= SWIG_Py_Void();
19813 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19814 PyObject
*resultobj
= 0;
19815 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19819 PyObject
*swig_obj
[1] ;
19821 if (!args
) SWIG_fail
;
19822 swig_obj
[0] = args
;
19823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19827 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= SWIG_From_int(static_cast< int >(result
));
19841 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
= 0;
19843 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char * kwnames
[] = {
19852 (char *) "self",(char *) "fit", NULL
19855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19860 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19861 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19862 if (!SWIG_IsOK(ecode2
)) {
19863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19865 arg2
= static_cast< bool >(val2
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->SetFitToCurrentPage(arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_Py_Void();
19879 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19880 PyObject
*resultobj
= 0;
19881 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19885 PyObject
*swig_obj
[1] ;
19887 if (!args
) SWIG_fail
;
19888 swig_obj
[0] = args
;
19889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19890 if (!SWIG_IsOK(res1
)) {
19891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19893 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19909 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19910 PyObject
*resultobj
= 0;
19911 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19912 wxSizer
*result
= 0 ;
19915 PyObject
*swig_obj
[1] ;
19917 if (!args
) SWIG_fail
;
19918 swig_obj
[0] = args
;
19919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19923 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19939 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "n", NULL
19954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19959 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19960 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19961 if (!SWIG_IsOK(ecode2
)) {
19962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19964 arg2
= static_cast< size_t >(val2
);
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (bool)(arg1
)->DeletePage(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19980 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
= 0;
19982 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 char * kwnames
[] = {
19992 (char *) "self",(char *) "n", NULL
19995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19997 if (!SWIG_IsOK(res1
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20000 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20001 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20002 if (!SWIG_IsOK(ecode2
)) {
20003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20005 arg2
= static_cast< size_t >(val2
);
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (bool)(arg1
)->RemovePage(arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20021 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20022 PyObject
*resultobj
= 0;
20023 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20027 PyObject
*swig_obj
[1] ;
20029 if (!args
) SWIG_fail
;
20030 swig_obj
[0] = args
;
20031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20032 if (!SWIG_IsOK(res1
)) {
20033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20035 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (bool)(arg1
)->DeleteAllPages();
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20051 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
= 0;
20053 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20054 wxWindow
*arg2
= (wxWindow
*) 0 ;
20055 wxString
*arg3
= 0 ;
20056 bool arg4
= (bool) false ;
20057 int arg5
= (int) -1 ;
20063 bool temp3
= false ;
20068 PyObject
* obj0
= 0 ;
20069 PyObject
* obj1
= 0 ;
20070 PyObject
* obj2
= 0 ;
20071 PyObject
* obj3
= 0 ;
20072 PyObject
* obj4
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20082 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20084 if (!SWIG_IsOK(res2
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20089 arg3
= wxString_in_helper(obj2
);
20090 if (arg3
== NULL
) SWIG_fail
;
20094 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20095 if (!SWIG_IsOK(ecode4
)) {
20096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20098 arg4
= static_cast< bool >(val4
);
20101 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20102 if (!SWIG_IsOK(ecode5
)) {
20103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20105 arg5
= static_cast< int >(val5
);
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20130 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
= 0;
20132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20134 wxWindow
*arg3
= (wxWindow
*) 0 ;
20135 wxString
*arg4
= 0 ;
20136 bool arg5
= (bool) false ;
20137 int arg6
= (int) -1 ;
20145 bool temp4
= false ;
20150 PyObject
* obj0
= 0 ;
20151 PyObject
* obj1
= 0 ;
20152 PyObject
* obj2
= 0 ;
20153 PyObject
* obj3
= 0 ;
20154 PyObject
* obj4
= 0 ;
20155 PyObject
* obj5
= 0 ;
20156 char * kwnames
[] = {
20157 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20162 if (!SWIG_IsOK(res1
)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20165 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20166 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20167 if (!SWIG_IsOK(ecode2
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20170 arg2
= static_cast< size_t >(val2
);
20171 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20172 if (!SWIG_IsOK(res3
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20175 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20177 arg4
= wxString_in_helper(obj3
);
20178 if (arg4
== NULL
) SWIG_fail
;
20182 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20183 if (!SWIG_IsOK(ecode5
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20186 arg5
= static_cast< bool >(val5
);
20189 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20190 if (!SWIG_IsOK(ecode6
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20193 arg6
= static_cast< int >(val6
);
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20218 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "self",(char *) "n", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20238 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20239 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20240 if (!SWIG_IsOK(ecode2
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20243 arg2
= static_cast< size_t >(val2
);
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (int)(arg1
)->SetSelection(arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_From_int(static_cast< int >(result
));
20257 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
= 0;
20259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "n", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20277 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20278 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20279 if (!SWIG_IsOK(ecode2
)) {
20280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20282 arg2
= static_cast< size_t >(val2
);
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 result
= (int)(arg1
)->ChangeSelection(arg2
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= SWIG_From_int(static_cast< int >(result
));
20296 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
= 0;
20298 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20299 bool arg2
= (bool) true ;
20304 PyObject
* obj0
= 0 ;
20305 PyObject
* obj1
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "self",(char *) "forward", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20315 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20318 if (!SWIG_IsOK(ecode2
)) {
20319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20321 arg2
= static_cast< bool >(val2
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 (arg1
)->AdvanceSelection(arg2
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_Py_Void();
20336 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
= 0;
20338 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20339 wxPoint
*arg2
= 0 ;
20340 long *arg3
= (long *) 0 ;
20346 int res3
= SWIG_TMPOBJ
;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char * kwnames
[] = {
20350 (char *) "self",(char *) "pt", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20359 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_From_int(static_cast< int >(result
));
20371 if (SWIG_IsTmpObj(res3
)) {
20372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20374 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20383 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
= 0;
20385 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20386 SwigValueWrapper
<wxVisualAttributes
> result
;
20389 PyObject
* obj0
= 0 ;
20390 char * kwnames
[] = {
20391 (char *) "variant", NULL
20394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20397 if (!SWIG_IsOK(ecode1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20400 arg1
= static_cast< wxWindowVariant
>(val1
);
20403 if (!wxPyCheckForApp()) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20416 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20419 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20420 return SWIG_Py_Void();
20423 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
= 0;
20425 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20426 int arg2
= (int) 0 ;
20427 int arg3
= (int) -1 ;
20428 int arg4
= (int) -1 ;
20429 wxBookCtrlBaseEvent
*result
= 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 PyObject
* obj2
= 0 ;
20441 PyObject
* obj3
= 0 ;
20442 char * kwnames
[] = {
20443 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20448 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20449 if (!SWIG_IsOK(ecode1
)) {
20450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20452 arg1
= static_cast< wxEventType
>(val1
);
20455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20456 if (!SWIG_IsOK(ecode2
)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20459 arg2
= static_cast< int >(val2
);
20462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20463 if (!SWIG_IsOK(ecode3
)) {
20464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20466 arg3
= static_cast< int >(val3
);
20469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20470 if (!SWIG_IsOK(ecode4
)) {
20471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20473 arg4
= static_cast< int >(val4
);
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20488 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20489 PyObject
*resultobj
= 0;
20490 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20494 PyObject
*swig_obj
[1] ;
20496 if (!args
) SWIG_fail
;
20497 swig_obj
[0] = args
;
20498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20502 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_From_int(static_cast< int >(result
));
20516 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
= 0;
20518 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 char * kwnames
[] = {
20527 (char *) "self",(char *) "nSel", NULL
20530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20535 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20537 if (!SWIG_IsOK(ecode2
)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20540 arg2
= static_cast< int >(val2
);
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->SetSelection(arg2
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_Py_Void();
20554 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 PyObject
*resultobj
= 0;
20556 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20560 PyObject
*swig_obj
[1] ;
20562 if (!args
) SWIG_fail
;
20563 swig_obj
[0] = args
;
20564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20565 if (!SWIG_IsOK(res1
)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20568 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_From_int(static_cast< int >(result
));
20582 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
= 0;
20584 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char * kwnames
[] = {
20593 (char *) "self",(char *) "nOldSel", NULL
20596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20598 if (!SWIG_IsOK(res1
)) {
20599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20601 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20603 if (!SWIG_IsOK(ecode2
)) {
20604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20606 arg2
= static_cast< int >(val2
);
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 (arg1
)->SetOldSelection(arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_Py_Void();
20620 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20623 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20624 return SWIG_Py_Void();
20627 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20628 return SWIG_Python_InitShadowInstance(args
);
20631 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
= 0;
20633 wxWindow
*arg1
= (wxWindow
*) 0 ;
20634 int arg2
= (int) -1 ;
20635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20639 long arg5
= (long) 0 ;
20640 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20641 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20642 wxNotebook
*result
= 0 ;
20651 bool temp6
= false ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 PyObject
* obj2
= 0 ;
20655 PyObject
* obj3
= 0 ;
20656 PyObject
* obj4
= 0 ;
20657 PyObject
* obj5
= 0 ;
20658 char * kwnames
[] = {
20659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20664 if (!SWIG_IsOK(res1
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20670 if (!SWIG_IsOK(ecode2
)) {
20671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20673 arg2
= static_cast< int >(val2
);
20678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20684 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20688 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20689 if (!SWIG_IsOK(ecode5
)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20692 arg5
= static_cast< long >(val5
);
20696 arg6
= wxString_in_helper(obj5
);
20697 if (arg6
== NULL
) SWIG_fail
;
20702 if (!wxPyCheckForApp()) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20723 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20724 PyObject
*resultobj
= 0;
20725 wxNotebook
*result
= 0 ;
20727 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20729 if (!wxPyCheckForApp()) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (wxNotebook
*)new wxNotebook();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20742 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
= 0;
20744 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20745 wxWindow
*arg2
= (wxWindow
*) 0 ;
20746 int arg3
= (int) -1 ;
20747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20751 long arg6
= (long) 0 ;
20752 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20765 bool temp7
= false ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 PyObject
* obj2
= 0 ;
20769 PyObject
* obj3
= 0 ;
20770 PyObject
* obj4
= 0 ;
20771 PyObject
* obj5
= 0 ;
20772 PyObject
* obj6
= 0 ;
20773 char * kwnames
[] = {
20774 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20782 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20784 if (!SWIG_IsOK(res2
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20790 if (!SWIG_IsOK(ecode3
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20793 arg3
= static_cast< int >(val3
);
20798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20808 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20809 if (!SWIG_IsOK(ecode6
)) {
20810 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20812 arg6
= static_cast< long >(val6
);
20816 arg7
= wxString_in_helper(obj6
);
20817 if (arg7
== NULL
) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20844 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20845 PyObject
*resultobj
= 0;
20846 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20850 PyObject
*swig_obj
[1] ;
20852 if (!args
) SWIG_fail
;
20853 swig_obj
[0] = args
;
20854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20858 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_From_int(static_cast< int >(result
));
20872 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
= 0;
20874 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 PyObject
* obj1
= 0 ;
20881 char * kwnames
[] = {
20882 (char *) "self",(char *) "padding", NULL
20885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20887 if (!SWIG_IsOK(res1
)) {
20888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20890 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= SWIG_Py_Void();
20908 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
= 0;
20910 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 char * kwnames
[] = {
20918 (char *) "self",(char *) "sz", NULL
20921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20923 if (!SWIG_IsOK(res1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20926 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20929 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_Py_Void();
20944 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20945 PyObject
*resultobj
= 0;
20946 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20950 PyObject
*swig_obj
[1] ;
20952 if (!args
) SWIG_fail
;
20953 swig_obj
[0] = args
;
20954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20955 if (!SWIG_IsOK(res1
)) {
20956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20958 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20972 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
= 0;
20974 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20975 SwigValueWrapper
<wxVisualAttributes
> result
;
20978 PyObject
* obj0
= 0 ;
20979 char * kwnames
[] = {
20980 (char *) "variant", NULL
20983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20985 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20986 if (!SWIG_IsOK(ecode1
)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20989 arg1
= static_cast< wxWindowVariant
>(val1
);
20992 if (!wxPyCheckForApp()) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21005 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
= 0;
21007 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char * kwnames
[] = {
21017 (char *) "self",(char *) "nPage", NULL
21020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21022 if (!SWIG_IsOK(res1
)) {
21023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21025 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21027 if (!SWIG_IsOK(ecode2
)) {
21028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21030 arg2
= static_cast< int >(val2
);
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21046 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= 0;
21048 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21050 int arg3
= (int) -1 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 PyObject
* obj2
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21066 if (!SWIG_IsOK(res1
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21069 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21071 if (!SWIG_IsOK(ecode2
)) {
21072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21074 arg2
= static_cast< int >(val2
);
21076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21077 if (!SWIG_IsOK(ecode3
)) {
21078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21080 arg3
= static_cast< int >(val3
);
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= SWIG_Py_Void();
21095 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21098 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21099 return SWIG_Py_Void();
21102 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21103 return SWIG_Python_InitShadowInstance(args
);
21106 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21109 int arg2
= (int) 0 ;
21110 int arg3
= (int) -1 ;
21111 int arg4
= (int) -1 ;
21112 wxNotebookEvent
*result
= 0 ;
21121 PyObject
* obj0
= 0 ;
21122 PyObject
* obj1
= 0 ;
21123 PyObject
* obj2
= 0 ;
21124 PyObject
* obj3
= 0 ;
21125 char * kwnames
[] = {
21126 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21132 if (!SWIG_IsOK(ecode1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21135 arg1
= static_cast< wxEventType
>(val1
);
21138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21139 if (!SWIG_IsOK(ecode2
)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21142 arg2
= static_cast< int >(val2
);
21145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21146 if (!SWIG_IsOK(ecode3
)) {
21147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21149 arg3
= static_cast< int >(val3
);
21152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21153 if (!SWIG_IsOK(ecode4
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21156 arg4
= static_cast< int >(val4
);
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21171 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21174 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21175 return SWIG_Py_Void();
21178 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21179 return SWIG_Python_InitShadowInstance(args
);
21182 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
= 0;
21184 wxWindow
*arg1
= (wxWindow
*) 0 ;
21185 int arg2
= (int) -1 ;
21186 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21187 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21188 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21189 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21190 long arg5
= (long) 0 ;
21191 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21192 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21193 wxListbook
*result
= 0 ;
21202 bool temp6
= false ;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 PyObject
* obj2
= 0 ;
21206 PyObject
* obj3
= 0 ;
21207 PyObject
* obj4
= 0 ;
21208 PyObject
* obj5
= 0 ;
21209 char * kwnames
[] = {
21210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21215 if (!SWIG_IsOK(res1
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21221 if (!SWIG_IsOK(ecode2
)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21224 arg2
= static_cast< int >(val2
);
21229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21235 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21239 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21240 if (!SWIG_IsOK(ecode5
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21243 arg5
= static_cast< long >(val5
);
21247 arg6
= wxString_in_helper(obj5
);
21248 if (arg6
== NULL
) SWIG_fail
;
21253 if (!wxPyCheckForApp()) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21274 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21275 PyObject
*resultobj
= 0;
21276 wxListbook
*result
= 0 ;
21278 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21280 if (!wxPyCheckForApp()) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (wxListbook
*)new wxListbook();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21293 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
= 0;
21295 wxListbook
*arg1
= (wxListbook
*) 0 ;
21296 wxWindow
*arg2
= (wxWindow
*) 0 ;
21297 int arg3
= (int) -1 ;
21298 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21299 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21300 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21301 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21302 long arg6
= (long) 0 ;
21303 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21304 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21316 bool temp7
= false ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 PyObject
* obj2
= 0 ;
21320 PyObject
* obj3
= 0 ;
21321 PyObject
* obj4
= 0 ;
21322 PyObject
* obj5
= 0 ;
21323 PyObject
* obj6
= 0 ;
21324 char * kwnames
[] = {
21325 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21330 if (!SWIG_IsOK(res1
)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21333 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21335 if (!SWIG_IsOK(res2
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21338 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21341 if (!SWIG_IsOK(ecode3
)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21344 arg3
= static_cast< int >(val3
);
21349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21359 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21360 if (!SWIG_IsOK(ecode6
)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21363 arg6
= static_cast< long >(val6
);
21367 arg7
= wxString_in_helper(obj6
);
21368 if (arg7
== NULL
) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxListbook
*arg1
= (wxListbook
*) 0 ;
21398 wxListView
*result
= 0 ;
21401 PyObject
*swig_obj
[1] ;
21403 if (!args
) SWIG_fail
;
21404 swig_obj
[0] = args
;
21405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21406 if (!SWIG_IsOK(res1
)) {
21407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21409 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (wxListView
*)(arg1
)->GetListView();
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21423 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21426 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21427 return SWIG_Py_Void();
21430 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21431 return SWIG_Python_InitShadowInstance(args
);
21434 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
= 0;
21436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21437 int arg2
= (int) 0 ;
21438 int arg3
= (int) -1 ;
21439 int arg4
= (int) -1 ;
21440 wxListbookEvent
*result
= 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 PyObject
* obj3
= 0 ;
21453 char * kwnames
[] = {
21454 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21459 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21460 if (!SWIG_IsOK(ecode1
)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21463 arg1
= static_cast< wxEventType
>(val1
);
21466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21467 if (!SWIG_IsOK(ecode2
)) {
21468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21470 arg2
= static_cast< int >(val2
);
21473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21474 if (!SWIG_IsOK(ecode3
)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21477 arg3
= static_cast< int >(val3
);
21480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21481 if (!SWIG_IsOK(ecode4
)) {
21482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21484 arg4
= static_cast< int >(val4
);
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21499 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21502 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21503 return SWIG_Py_Void();
21506 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21507 return SWIG_Python_InitShadowInstance(args
);
21510 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
= 0;
21512 wxWindow
*arg1
= (wxWindow
*) 0 ;
21514 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21515 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21518 long arg5
= (long) 0 ;
21519 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21520 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21521 wxChoicebook
*result
= 0 ;
21530 bool temp6
= false ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 PyObject
* obj2
= 0 ;
21534 PyObject
* obj3
= 0 ;
21535 PyObject
* obj4
= 0 ;
21536 PyObject
* obj5
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21551 arg2
= static_cast< int >(val2
);
21555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21565 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21566 if (!SWIG_IsOK(ecode5
)) {
21567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21569 arg5
= static_cast< long >(val5
);
21573 arg6
= wxString_in_helper(obj5
);
21574 if (arg6
== NULL
) SWIG_fail
;
21579 if (!wxPyCheckForApp()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21600 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21601 PyObject
*resultobj
= 0;
21602 wxChoicebook
*result
= 0 ;
21604 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21606 if (!wxPyCheckForApp()) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (wxChoicebook
*)new wxChoicebook();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21619 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21622 wxWindow
*arg2
= (wxWindow
*) 0 ;
21624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21628 long arg6
= (long) 0 ;
21629 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21642 bool temp7
= false ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 PyObject
* obj2
= 0 ;
21646 PyObject
* obj3
= 0 ;
21647 PyObject
* obj4
= 0 ;
21648 PyObject
* obj5
= 0 ;
21649 PyObject
* obj6
= 0 ;
21650 char * kwnames
[] = {
21651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21656 if (!SWIG_IsOK(res1
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21659 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21661 if (!SWIG_IsOK(res2
)) {
21662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21666 if (!SWIG_IsOK(ecode3
)) {
21667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21669 arg3
= static_cast< int >(val3
);
21673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21683 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21684 if (!SWIG_IsOK(ecode6
)) {
21685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21687 arg6
= static_cast< long >(val6
);
21691 arg7
= wxString_in_helper(obj6
);
21692 if (arg7
== NULL
) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21719 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21720 PyObject
*resultobj
= 0;
21721 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21722 wxChoice
*result
= 0 ;
21725 PyObject
*swig_obj
[1] ;
21727 if (!args
) SWIG_fail
;
21728 swig_obj
[0] = args
;
21729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21733 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21747 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21750 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21751 return SWIG_Py_Void();
21754 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21755 return SWIG_Python_InitShadowInstance(args
);
21758 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21761 int arg2
= (int) 0 ;
21762 int arg3
= (int) -1 ;
21763 int arg4
= (int) -1 ;
21764 wxChoicebookEvent
*result
= 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 PyObject
* obj2
= 0 ;
21776 PyObject
* obj3
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21784 if (!SWIG_IsOK(ecode1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21787 arg1
= static_cast< wxEventType
>(val1
);
21790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21791 if (!SWIG_IsOK(ecode2
)) {
21792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21794 arg2
= static_cast< int >(val2
);
21797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21798 if (!SWIG_IsOK(ecode3
)) {
21799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21801 arg3
= static_cast< int >(val3
);
21804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21805 if (!SWIG_IsOK(ecode4
)) {
21806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21808 arg4
= static_cast< int >(val4
);
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21823 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21826 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21827 return SWIG_Py_Void();
21830 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21831 return SWIG_Python_InitShadowInstance(args
);
21834 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= 0;
21836 wxWindow
*arg1
= (wxWindow
*) 0 ;
21838 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21839 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21840 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21841 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21842 long arg5
= (long) wxBK_DEFAULT
;
21843 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21844 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21845 wxTreebook
*result
= 0 ;
21854 bool temp6
= false ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 PyObject
* obj2
= 0 ;
21858 PyObject
* obj3
= 0 ;
21859 PyObject
* obj4
= 0 ;
21860 PyObject
* obj5
= 0 ;
21861 char * kwnames
[] = {
21862 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21867 if (!SWIG_IsOK(res1
)) {
21868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21872 if (!SWIG_IsOK(ecode2
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21875 arg2
= static_cast< int >(val2
);
21879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21885 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21889 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21890 if (!SWIG_IsOK(ecode5
)) {
21891 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21893 arg5
= static_cast< long >(val5
);
21897 arg6
= wxString_in_helper(obj5
);
21898 if (arg6
== NULL
) SWIG_fail
;
21903 if (!wxPyCheckForApp()) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21924 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21925 PyObject
*resultobj
= 0;
21926 wxTreebook
*result
= 0 ;
21928 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21930 if (!wxPyCheckForApp()) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (wxTreebook
*)new wxTreebook();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21943 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
= 0;
21945 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21946 wxWindow
*arg2
= (wxWindow
*) 0 ;
21948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21952 long arg6
= (long) wxBK_DEFAULT
;
21953 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21954 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21966 bool temp7
= false ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 PyObject
* obj2
= 0 ;
21970 PyObject
* obj3
= 0 ;
21971 PyObject
* obj4
= 0 ;
21972 PyObject
* obj5
= 0 ;
21973 PyObject
* obj6
= 0 ;
21974 char * kwnames
[] = {
21975 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21983 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21985 if (!SWIG_IsOK(res2
)) {
21986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21990 if (!SWIG_IsOK(ecode3
)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21993 arg3
= static_cast< int >(val3
);
21997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22007 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22008 if (!SWIG_IsOK(ecode6
)) {
22009 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22011 arg6
= static_cast< long >(val6
);
22015 arg7
= wxString_in_helper(obj6
);
22016 if (arg7
== NULL
) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22043 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
= 0;
22045 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22047 wxWindow
*arg3
= (wxWindow
*) 0 ;
22048 wxString
*arg4
= 0 ;
22049 bool arg5
= (bool) false ;
22050 int arg6
= (int) wxNOT_FOUND
;
22058 bool temp4
= false ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 PyObject
* obj2
= 0 ;
22066 PyObject
* obj3
= 0 ;
22067 PyObject
* obj4
= 0 ;
22068 PyObject
* obj5
= 0 ;
22069 char * kwnames
[] = {
22070 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22075 if (!SWIG_IsOK(res1
)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22078 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22079 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22080 if (!SWIG_IsOK(ecode2
)) {
22081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22083 arg2
= static_cast< size_t >(val2
);
22084 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22085 if (!SWIG_IsOK(res3
)) {
22086 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22088 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22090 arg4
= wxString_in_helper(obj3
);
22091 if (arg4
== NULL
) SWIG_fail
;
22095 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22096 if (!SWIG_IsOK(ecode5
)) {
22097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22099 arg5
= static_cast< bool >(val5
);
22102 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22103 if (!SWIG_IsOK(ecode6
)) {
22104 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22106 arg6
= static_cast< int >(val6
);
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22131 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
= 0;
22133 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22134 wxWindow
*arg2
= (wxWindow
*) 0 ;
22135 wxString
*arg3
= 0 ;
22136 bool arg4
= (bool) false ;
22137 int arg5
= (int) wxNOT_FOUND
;
22143 bool temp3
= false ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 PyObject
* obj3
= 0 ;
22152 PyObject
* obj4
= 0 ;
22153 char * kwnames
[] = {
22154 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22159 if (!SWIG_IsOK(res1
)) {
22160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22162 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22164 if (!SWIG_IsOK(res2
)) {
22165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22169 arg3
= wxString_in_helper(obj2
);
22170 if (arg3
== NULL
) SWIG_fail
;
22174 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22175 if (!SWIG_IsOK(ecode4
)) {
22176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22178 arg4
= static_cast< bool >(val4
);
22181 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22182 if (!SWIG_IsOK(ecode5
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22185 arg5
= static_cast< int >(val5
);
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22210 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
= 0;
22212 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "self",(char *) "pos", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22230 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22232 if (!SWIG_IsOK(ecode2
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22235 arg2
= static_cast< size_t >(val2
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22251 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
= 0;
22253 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22255 bool arg3
= (bool) true ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 PyObject
* obj2
= 0 ;
22266 char * kwnames
[] = {
22267 (char *) "self",(char *) "pos",(char *) "expand", NULL
22270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22275 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22276 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22277 if (!SWIG_IsOK(ecode2
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22280 arg2
= static_cast< size_t >(val2
);
22282 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22283 if (!SWIG_IsOK(ecode3
)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22286 arg3
= static_cast< bool >(val3
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22303 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
= 0;
22305 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char * kwnames
[] = {
22315 (char *) "self",(char *) "pos", NULL
22318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22320 if (!SWIG_IsOK(res1
)) {
22321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22323 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22324 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22325 if (!SWIG_IsOK(ecode2
)) {
22326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22328 arg2
= static_cast< size_t >(val2
);
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (bool)(arg1
)->CollapseNode(arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
= 0;
22346 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char * kwnames
[] = {
22356 (char *) "self",(char *) "pos", NULL
22359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22364 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22365 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22366 if (!SWIG_IsOK(ecode2
)) {
22367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22369 arg2
= static_cast< size_t >(val2
);
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= SWIG_From_int(static_cast< int >(result
));
22383 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22384 PyObject
*resultobj
= 0;
22385 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22386 wxPyTreeCtrl
*result
= 0 ;
22389 PyObject
*swig_obj
[1] ;
22391 if (!args
) SWIG_fail
;
22392 swig_obj
[0] = args
;
22393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22394 if (!SWIG_IsOK(res1
)) {
22395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22397 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22413 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22416 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22417 return SWIG_Py_Void();
22420 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22421 return SWIG_Python_InitShadowInstance(args
);
22424 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
= 0;
22426 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22427 int arg2
= (int) 0 ;
22428 int arg3
= (int) wxNOT_FOUND
;
22429 int arg4
= (int) wxNOT_FOUND
;
22430 wxTreebookEvent
*result
= 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 PyObject
* obj2
= 0 ;
22442 PyObject
* obj3
= 0 ;
22443 char * kwnames
[] = {
22444 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22450 if (!SWIG_IsOK(ecode1
)) {
22451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22453 arg1
= static_cast< wxEventType
>(val1
);
22456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22457 if (!SWIG_IsOK(ecode2
)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22460 arg2
= static_cast< int >(val2
);
22463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22464 if (!SWIG_IsOK(ecode3
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22467 arg3
= static_cast< int >(val3
);
22470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22471 if (!SWIG_IsOK(ecode4
)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22474 arg4
= static_cast< int >(val4
);
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22489 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22492 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22493 return SWIG_Py_Void();
22496 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22497 return SWIG_Python_InitShadowInstance(args
);
22500 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
= 0;
22502 wxWindow
*arg1
= (wxWindow
*) 0 ;
22504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22508 long arg5
= (long) wxBK_DEFAULT
;
22509 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22510 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22511 wxToolbook
*result
= 0 ;
22520 bool temp6
= false ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 PyObject
* obj3
= 0 ;
22525 PyObject
* obj4
= 0 ;
22526 PyObject
* obj5
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22538 if (!SWIG_IsOK(ecode2
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22541 arg2
= static_cast< int >(val2
);
22545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22555 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22556 if (!SWIG_IsOK(ecode5
)) {
22557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22559 arg5
= static_cast< long >(val5
);
22563 arg6
= wxString_in_helper(obj5
);
22564 if (arg6
== NULL
) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22589 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22590 PyObject
*resultobj
= 0;
22591 wxToolbook
*result
= 0 ;
22593 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (wxToolbook
*)new wxToolbook();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22607 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
= 0;
22609 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22610 wxWindow
*arg2
= (wxWindow
*) 0 ;
22612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22616 long arg6
= (long) 0 ;
22617 wxString
const &arg7_defvalue
= wxEmptyString
;
22618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22630 bool temp7
= false ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 PyObject
* obj2
= 0 ;
22634 PyObject
* obj3
= 0 ;
22635 PyObject
* obj4
= 0 ;
22636 PyObject
* obj5
= 0 ;
22637 PyObject
* obj6
= 0 ;
22638 char * kwnames
[] = {
22639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22644 if (!SWIG_IsOK(res1
)) {
22645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22647 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22649 if (!SWIG_IsOK(res2
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22654 if (!SWIG_IsOK(ecode3
)) {
22655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22657 arg3
= static_cast< int >(val3
);
22661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22671 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22672 if (!SWIG_IsOK(ecode6
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22675 arg6
= static_cast< long >(val6
);
22679 arg7
= wxString_in_helper(obj6
);
22680 if (arg7
== NULL
) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22707 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22708 PyObject
*resultobj
= 0;
22709 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22710 wxToolBarBase
*result
= 0 ;
22713 PyObject
*swig_obj
[1] ;
22715 if (!args
) SWIG_fail
;
22716 swig_obj
[0] = args
;
22717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22721 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22737 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22738 PyObject
*resultobj
= 0;
22739 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22742 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22750 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_Py_Void();
22764 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22767 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22768 return SWIG_Py_Void();
22771 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22772 return SWIG_Python_InitShadowInstance(args
);
22775 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
= 0;
22777 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22778 int arg2
= (int) 0 ;
22779 int arg3
= (int) wxNOT_FOUND
;
22780 int arg4
= (int) wxNOT_FOUND
;
22781 wxToolbookEvent
*result
= 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 PyObject
* obj2
= 0 ;
22793 PyObject
* obj3
= 0 ;
22794 char * kwnames
[] = {
22795 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22801 if (!SWIG_IsOK(ecode1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22804 arg1
= static_cast< wxEventType
>(val1
);
22807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22808 if (!SWIG_IsOK(ecode2
)) {
22809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22811 arg2
= static_cast< int >(val2
);
22814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22815 if (!SWIG_IsOK(ecode3
)) {
22816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22818 arg3
= static_cast< int >(val3
);
22821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22822 if (!SWIG_IsOK(ecode4
)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22825 arg4
= static_cast< int >(val4
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22840 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22843 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22844 return SWIG_Py_Void();
22847 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22848 return SWIG_Python_InitShadowInstance(args
);
22851 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22852 PyObject
*resultobj
= 0;
22853 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22857 PyObject
*swig_obj
[1] ;
22859 if (!args
) SWIG_fail
;
22860 swig_obj
[0] = args
;
22861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22862 if (!SWIG_IsOK(res1
)) {
22863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22865 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (int)(arg1
)->GetId();
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_From_int(static_cast< int >(result
));
22879 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22882 wxControl
*result
= 0 ;
22885 PyObject
*swig_obj
[1] ;
22887 if (!args
) SWIG_fail
;
22888 swig_obj
[0] = args
;
22889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22890 if (!SWIG_IsOK(res1
)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22893 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (wxControl
*)(arg1
)->GetControl();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= wxPyMake_wxObject(result
, 0);
22909 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22910 PyObject
*resultobj
= 0;
22911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22912 wxToolBarBase
*result
= 0 ;
22915 PyObject
*swig_obj
[1] ;
22917 if (!args
) SWIG_fail
;
22918 swig_obj
[0] = args
;
22919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22923 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22939 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22940 PyObject
*resultobj
= 0;
22941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22945 PyObject
*swig_obj
[1] ;
22947 if (!args
) SWIG_fail
;
22948 swig_obj
[0] = args
;
22949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22953 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (int)(arg1
)->IsButton();
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_From_int(static_cast< int >(result
));
22967 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22968 PyObject
*resultobj
= 0;
22969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22973 PyObject
*swig_obj
[1] ;
22975 if (!args
) SWIG_fail
;
22976 swig_obj
[0] = args
;
22977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22981 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 result
= (int)(arg1
)->IsControl();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_From_int(static_cast< int >(result
));
22995 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22996 PyObject
*resultobj
= 0;
22997 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23001 PyObject
*swig_obj
[1] ;
23003 if (!args
) SWIG_fail
;
23004 swig_obj
[0] = args
;
23005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23006 if (!SWIG_IsOK(res1
)) {
23007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23009 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 result
= (int)(arg1
)->IsSeparator();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 resultobj
= SWIG_From_int(static_cast< int >(result
));
23023 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23024 PyObject
*resultobj
= 0;
23025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23029 PyObject
*swig_obj
[1] ;
23031 if (!args
) SWIG_fail
;
23032 swig_obj
[0] = args
;
23033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23034 if (!SWIG_IsOK(res1
)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23037 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (int)(arg1
)->GetStyle();
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_From_int(static_cast< int >(result
));
23051 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23052 PyObject
*resultobj
= 0;
23053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23057 PyObject
*swig_obj
[1] ;
23059 if (!args
) SWIG_fail
;
23060 swig_obj
[0] = args
;
23061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23065 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (wxItemKind
)(arg1
)->GetKind();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_From_int(static_cast< int >(result
));
23079 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23085 PyObject
*swig_obj
[1] ;
23087 if (!args
) SWIG_fail
;
23088 swig_obj
[0] = args
;
23089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23093 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (bool)(arg1
)->IsEnabled();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23109 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23123 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (bool)(arg1
)->IsToggled();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23139 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23140 PyObject
*resultobj
= 0;
23141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23145 PyObject
*swig_obj
[1] ;
23147 if (!args
) SWIG_fail
;
23148 swig_obj
[0] = args
;
23149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23150 if (!SWIG_IsOK(res1
)) {
23151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23153 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (bool)(arg1
)->CanBeToggled();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23169 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23170 PyObject
*resultobj
= 0;
23171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23172 wxBitmap
*result
= 0 ;
23175 PyObject
*swig_obj
[1] ;
23177 if (!args
) SWIG_fail
;
23178 swig_obj
[0] = args
;
23179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23180 if (!SWIG_IsOK(res1
)) {
23181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23183 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23188 result
= (wxBitmap
*) &_result_ref
;
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 wxBitmap
* resultptr
= new wxBitmap(*result
);
23195 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23203 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 PyObject
*resultobj
= 0;
23205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23206 wxBitmap
*result
= 0 ;
23209 PyObject
*swig_obj
[1] ;
23211 if (!args
) SWIG_fail
;
23212 swig_obj
[0] = args
;
23213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23217 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23222 result
= (wxBitmap
*) &_result_ref
;
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23228 wxBitmap
* resultptr
= new wxBitmap(*result
);
23229 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23238 PyObject
*resultobj
= 0;
23239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23243 PyObject
*swig_obj
[1] ;
23245 if (!args
) SWIG_fail
;
23246 swig_obj
[0] = args
;
23247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23251 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (arg1
)->GetBitmap();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23265 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23266 PyObject
*resultobj
= 0;
23267 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23271 PyObject
*swig_obj
[1] ;
23273 if (!args
) SWIG_fail
;
23274 swig_obj
[0] = args
;
23275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23279 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= (arg1
)->GetLabel();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23299 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23300 PyObject
*resultobj
= 0;
23301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23305 PyObject
*swig_obj
[1] ;
23307 if (!args
) SWIG_fail
;
23308 swig_obj
[0] = args
;
23309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23310 if (!SWIG_IsOK(res1
)) {
23311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23313 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (arg1
)->GetShortHelp();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23333 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23334 PyObject
*resultobj
= 0;
23335 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23339 PyObject
*swig_obj
[1] ;
23341 if (!args
) SWIG_fail
;
23342 swig_obj
[0] = args
;
23343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23344 if (!SWIG_IsOK(res1
)) {
23345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23347 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (arg1
)->GetLongHelp();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23367 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= 0;
23369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "self",(char *) "enable", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23387 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23389 if (!SWIG_IsOK(ecode2
)) {
23390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23392 arg2
= static_cast< bool >(val2
);
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (bool)(arg1
)->Enable(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23408 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23409 PyObject
*resultobj
= 0;
23410 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23413 PyObject
*swig_obj
[1] ;
23415 if (!args
) SWIG_fail
;
23416 swig_obj
[0] = args
;
23417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23418 if (!SWIG_IsOK(res1
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23421 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= SWIG_Py_Void();
23435 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
= 0;
23437 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 char * kwnames
[] = {
23447 (char *) "self",(char *) "toggle", NULL
23450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23452 if (!SWIG_IsOK(res1
)) {
23453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23455 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23456 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23457 if (!SWIG_IsOK(ecode2
)) {
23458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23460 arg2
= static_cast< bool >(val2
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (bool)(arg1
)->SetToggle(arg2
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23476 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
= 0;
23478 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23479 wxString
*arg2
= 0 ;
23483 bool temp2
= false ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char * kwnames
[] = {
23487 (char *) "self",(char *) "help", NULL
23490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23492 if (!SWIG_IsOK(res1
)) {
23493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23495 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23497 arg2
= wxString_in_helper(obj1
);
23498 if (arg2
== NULL
) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23524 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
= 0;
23526 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23527 wxString
*arg2
= 0 ;
23531 bool temp2
= false ;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char * kwnames
[] = {
23535 (char *) "self",(char *) "help", NULL
23538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23540 if (!SWIG_IsOK(res1
)) {
23541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23543 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23545 arg2
= wxString_in_helper(obj1
);
23546 if (arg2
== NULL
) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23572 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
= 0;
23574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23575 wxBitmap
*arg2
= 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "self",(char *) "bmp", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23591 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23593 if (!SWIG_IsOK(res2
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23599 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_Py_Void();
23613 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= 0;
23615 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23616 wxBitmap
*arg2
= 0 ;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char * kwnames
[] = {
23624 (char *) "self",(char *) "bmp", NULL
23627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23629 if (!SWIG_IsOK(res1
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23632 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23634 if (!SWIG_IsOK(res2
)) {
23635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23640 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_Py_Void();
23654 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= 0;
23656 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23657 wxString
*arg2
= 0 ;
23660 bool temp2
= false ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char * kwnames
[] = {
23664 (char *) "self",(char *) "label", NULL
23667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23669 if (!SWIG_IsOK(res1
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23672 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23674 arg2
= wxString_in_helper(obj1
);
23675 if (arg2
== NULL
) SWIG_fail
;
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 (arg1
)->SetLabel((wxString
const &)*arg2
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_Py_Void();
23699 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23700 PyObject
*resultobj
= 0;
23701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23704 PyObject
*swig_obj
[1] ;
23706 if (!args
) SWIG_fail
;
23707 swig_obj
[0] = args
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23712 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_Py_Void();
23726 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= 0;
23728 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23729 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 char * kwnames
[] = {
23737 (char *) "self",(char *) "tbar", NULL
23740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23742 if (!SWIG_IsOK(res1
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23745 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23747 if (!SWIG_IsOK(res2
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23750 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 (arg1
)->Attach(arg2
);
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_Py_Void();
23764 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23765 PyObject
*resultobj
= 0;
23766 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23767 PyObject
*result
= 0 ;
23770 PyObject
*swig_obj
[1] ;
23772 if (!args
) SWIG_fail
;
23773 swig_obj
[0] = args
;
23774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23778 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= result
;
23792 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
= 0;
23794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23795 PyObject
*arg2
= (PyObject
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 PyObject
* obj1
= 0 ;
23800 char * kwnames
[] = {
23801 (char *) "self",(char *) "clientData", NULL
23804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23809 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_Py_Void();
23824 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23827 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23828 return SWIG_Py_Void();
23831 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
= 0;
23833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23835 wxString
*arg3
= 0 ;
23836 wxBitmap
*arg4
= 0 ;
23837 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23838 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23839 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23840 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23841 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23842 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23844 PyObject
*arg9
= (PyObject
*) NULL
;
23845 wxToolBarToolBase
*result
= 0 ;
23850 bool temp3
= false ;
23857 bool temp7
= false ;
23858 bool temp8
= false ;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 PyObject
* obj2
= 0 ;
23862 PyObject
* obj3
= 0 ;
23863 PyObject
* obj4
= 0 ;
23864 PyObject
* obj5
= 0 ;
23865 PyObject
* obj6
= 0 ;
23866 PyObject
* obj7
= 0 ;
23867 PyObject
* obj8
= 0 ;
23868 char * kwnames
[] = {
23869 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23877 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23879 if (!SWIG_IsOK(ecode2
)) {
23880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23882 arg2
= static_cast< int >(val2
);
23884 arg3
= wxString_in_helper(obj2
);
23885 if (arg3
== NULL
) SWIG_fail
;
23888 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23889 if (!SWIG_IsOK(res4
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23895 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23897 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23898 if (!SWIG_IsOK(res5
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23904 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23907 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23908 if (!SWIG_IsOK(ecode6
)) {
23909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23911 arg6
= static_cast< wxItemKind
>(val6
);
23915 arg7
= wxString_in_helper(obj6
);
23916 if (arg7
== NULL
) SWIG_fail
;
23922 arg8
= wxString_in_helper(obj7
);
23923 if (arg8
== NULL
) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23969 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= 0;
23971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23974 wxString
*arg4
= 0 ;
23975 wxBitmap
*arg5
= 0 ;
23976 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23977 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23978 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23979 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23981 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23982 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23983 PyObject
*arg10
= (PyObject
*) NULL
;
23984 wxToolBarToolBase
*result
= 0 ;
23991 bool temp4
= false ;
23998 bool temp8
= false ;
23999 bool temp9
= false ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 PyObject
* obj3
= 0 ;
24004 PyObject
* obj4
= 0 ;
24005 PyObject
* obj5
= 0 ;
24006 PyObject
* obj6
= 0 ;
24007 PyObject
* obj7
= 0 ;
24008 PyObject
* obj8
= 0 ;
24009 PyObject
* obj9
= 0 ;
24010 char * kwnames
[] = {
24011 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24016 if (!SWIG_IsOK(res1
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24019 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24021 if (!SWIG_IsOK(ecode2
)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24024 arg2
= static_cast< size_t >(val2
);
24025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24026 if (!SWIG_IsOK(ecode3
)) {
24027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24029 arg3
= static_cast< int >(val3
);
24031 arg4
= wxString_in_helper(obj3
);
24032 if (arg4
== NULL
) SWIG_fail
;
24035 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24036 if (!SWIG_IsOK(res5
)) {
24037 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24042 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24044 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24045 if (!SWIG_IsOK(res6
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24051 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24054 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24055 if (!SWIG_IsOK(ecode7
)) {
24056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24058 arg7
= static_cast< wxItemKind
>(val7
);
24062 arg8
= wxString_in_helper(obj7
);
24063 if (arg8
== NULL
) SWIG_fail
;
24069 arg9
= wxString_in_helper(obj8
);
24070 if (arg9
== NULL
) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24116 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
= 0;
24118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24119 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24120 wxToolBarToolBase
*result
= 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char * kwnames
[] = {
24128 (char *) "self",(char *) "tool", NULL
24131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24133 if (!SWIG_IsOK(res1
)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24136 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24138 if (!SWIG_IsOK(res2
)) {
24139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24141 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24157 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
= 0;
24159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24161 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24162 wxToolBarToolBase
*result
= 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 PyObject
* obj2
= 0 ;
24172 char * kwnames
[] = {
24173 (char *) "self",(char *) "pos",(char *) "tool", NULL
24176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24181 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24182 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24183 if (!SWIG_IsOK(ecode2
)) {
24184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24186 arg2
= static_cast< size_t >(val2
);
24187 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24188 if (!SWIG_IsOK(res3
)) {
24189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24191 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24207 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
= 0;
24209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24210 wxControl
*arg2
= (wxControl
*) 0 ;
24211 wxToolBarToolBase
*result
= 0 ;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char * kwnames
[] = {
24219 (char *) "self",(char *) "control", NULL
24222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24224 if (!SWIG_IsOK(res1
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24227 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24229 if (!SWIG_IsOK(res2
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24232 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24248 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= 0;
24250 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24252 wxControl
*arg3
= (wxControl
*) 0 ;
24253 wxToolBarToolBase
*result
= 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 PyObject
* obj2
= 0 ;
24263 char * kwnames
[] = {
24264 (char *) "self",(char *) "pos",(char *) "control", NULL
24267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24272 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24273 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24274 if (!SWIG_IsOK(ecode2
)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24277 arg2
= static_cast< size_t >(val2
);
24278 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24279 if (!SWIG_IsOK(res3
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24282 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24298 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
= 0;
24300 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24302 wxControl
*result
= 0 ;
24307 PyObject
* obj0
= 0 ;
24308 PyObject
* obj1
= 0 ;
24309 char * kwnames
[] = {
24310 (char *) "self",(char *) "id", NULL
24313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24315 if (!SWIG_IsOK(res1
)) {
24316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24318 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24320 if (!SWIG_IsOK(ecode2
)) {
24321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24323 arg2
= static_cast< int >(val2
);
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= wxPyMake_wxObject(result
, 0);
24339 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24340 PyObject
*resultobj
= 0;
24341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24342 wxToolBarToolBase
*result
= 0 ;
24345 PyObject
*swig_obj
[1] ;
24347 if (!args
) SWIG_fail
;
24348 swig_obj
[0] = args
;
24349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24353 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24369 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
= 0;
24371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24373 wxToolBarToolBase
*result
= 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "pos", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24389 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24390 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24391 if (!SWIG_IsOK(ecode2
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24394 arg2
= static_cast< size_t >(val2
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24402 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24410 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
= 0;
24412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24414 wxToolBarToolBase
*result
= 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char * kwnames
[] = {
24422 (char *) "self",(char *) "id", NULL
24425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24430 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24432 if (!SWIG_IsOK(ecode2
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24435 arg2
= static_cast< int >(val2
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24451 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
= 0;
24453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char * kwnames
[] = {
24463 (char *) "self",(char *) "pos", NULL
24466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24471 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24472 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24473 if (!SWIG_IsOK(ecode2
)) {
24474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24476 arg2
= static_cast< size_t >(val2
);
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24492 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char * kwnames
[] = {
24504 (char *) "self",(char *) "id", NULL
24507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24512 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24514 if (!SWIG_IsOK(ecode2
)) {
24515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24517 arg2
= static_cast< int >(val2
);
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)(arg1
)->DeleteTool(arg2
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24533 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24534 PyObject
*resultobj
= 0;
24535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24538 PyObject
*swig_obj
[1] ;
24540 if (!args
) SWIG_fail
;
24541 swig_obj
[0] = args
;
24542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24546 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 (arg1
)->ClearTools();
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_Py_Void();
24560 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24561 PyObject
*resultobj
= 0;
24562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24566 PyObject
*swig_obj
[1] ;
24568 if (!args
) SWIG_fail
;
24569 swig_obj
[0] = args
;
24570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24571 if (!SWIG_IsOK(res1
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24574 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= (bool)(arg1
)->Realize();
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24590 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
= 0;
24592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 PyObject
* obj2
= 0 ;
24604 char * kwnames
[] = {
24605 (char *) "self",(char *) "id",(char *) "enable", NULL
24608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24610 if (!SWIG_IsOK(res1
)) {
24611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24613 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24615 if (!SWIG_IsOK(ecode2
)) {
24616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24618 arg2
= static_cast< int >(val2
);
24619 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24620 if (!SWIG_IsOK(ecode3
)) {
24621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24623 arg3
= static_cast< bool >(val3
);
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->EnableTool(arg2
,arg3
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24637 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= 0;
24639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 PyObject
* obj2
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "id",(char *) "toggle", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24660 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24662 if (!SWIG_IsOK(ecode2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24665 arg2
= static_cast< int >(val2
);
24666 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24667 if (!SWIG_IsOK(ecode3
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24670 arg3
= static_cast< bool >(val3
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->ToggleTool(arg2
,arg3
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_Py_Void();
24684 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
= 0;
24686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 PyObject
* obj2
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "self",(char *) "id",(char *) "toggle", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24707 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24712 arg2
= static_cast< int >(val2
);
24713 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24714 if (!SWIG_IsOK(ecode3
)) {
24715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24717 arg3
= static_cast< bool >(val3
);
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 (arg1
)->SetToggle(arg2
,arg3
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_Py_Void();
24731 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
= 0;
24733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24735 PyObject
*result
= 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 char * kwnames
[] = {
24743 (char *) "self",(char *) "id", NULL
24746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24748 if (!SWIG_IsOK(res1
)) {
24749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24751 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24753 if (!SWIG_IsOK(ecode2
)) {
24754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24756 arg2
= static_cast< int >(val2
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
;
24770 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= 0;
24772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24774 PyObject
*arg3
= (PyObject
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 PyObject
* obj2
= 0 ;
24782 char * kwnames
[] = {
24783 (char *) "self",(char *) "id",(char *) "clientData", NULL
24786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24788 if (!SWIG_IsOK(res1
)) {
24789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24791 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24793 if (!SWIG_IsOK(ecode2
)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24796 arg2
= static_cast< int >(val2
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_Py_Void();
24811 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
= 0;
24813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "self",(char *) "id", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24831 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24833 if (!SWIG_IsOK(ecode2
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24836 arg2
= static_cast< int >(val2
);
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_From_int(static_cast< int >(result
));
24850 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= 0;
24852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 char * kwnames
[] = {
24862 (char *) "self",(char *) "id", NULL
24865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24872 if (!SWIG_IsOK(ecode2
)) {
24873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24875 arg2
= static_cast< int >(val2
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= (bool)(arg1
)->GetToolState(arg2
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24891 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char * kwnames
[] = {
24903 (char *) "self",(char *) "id", NULL
24906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24908 if (!SWIG_IsOK(res1
)) {
24909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24911 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24913 if (!SWIG_IsOK(ecode2
)) {
24914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24916 arg2
= static_cast< int >(val2
);
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24932 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
= 0;
24934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24936 wxString
*arg3
= 0 ;
24941 bool temp3
= false ;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 PyObject
* obj2
= 0 ;
24945 char * kwnames
[] = {
24946 (char *) "self",(char *) "id",(char *) "helpString", NULL
24949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24951 if (!SWIG_IsOK(res1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24954 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24956 if (!SWIG_IsOK(ecode2
)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24959 arg2
= static_cast< int >(val2
);
24961 arg3
= wxString_in_helper(obj2
);
24962 if (arg3
== NULL
) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_Py_Void();
24986 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
= 0;
24988 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24995 PyObject
* obj0
= 0 ;
24996 PyObject
* obj1
= 0 ;
24997 char * kwnames
[] = {
24998 (char *) "self",(char *) "id", NULL
25001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25003 if (!SWIG_IsOK(res1
)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25006 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25008 if (!SWIG_IsOK(ecode2
)) {
25009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25011 arg2
= static_cast< int >(val2
);
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (arg1
)->GetToolShortHelp(arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25031 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
= 0;
25033 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25035 wxString
*arg3
= 0 ;
25040 bool temp3
= false ;
25041 PyObject
* obj0
= 0 ;
25042 PyObject
* obj1
= 0 ;
25043 PyObject
* obj2
= 0 ;
25044 char * kwnames
[] = {
25045 (char *) "self",(char *) "id",(char *) "helpString", NULL
25048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25053 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25055 if (!SWIG_IsOK(ecode2
)) {
25056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25058 arg2
= static_cast< int >(val2
);
25060 arg3
= wxString_in_helper(obj2
);
25061 if (arg3
== NULL
) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= SWIG_Py_Void();
25085 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
= 0;
25087 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 char * kwnames
[] = {
25097 (char *) "self",(char *) "id", NULL
25100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25105 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25107 if (!SWIG_IsOK(ecode2
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25110 arg2
= static_cast< int >(val2
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (arg1
)->GetToolLongHelp(arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25130 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
= 0;
25132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 PyObject
* obj2
= 0 ;
25144 char * kwnames
[] = {
25145 (char *) "self",(char *) "x",(char *) "y", NULL
25148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25153 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25155 if (!SWIG_IsOK(ecode2
)) {
25156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25158 arg2
= static_cast< int >(val2
);
25159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25160 if (!SWIG_IsOK(ecode3
)) {
25161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25163 arg3
= static_cast< int >(val3
);
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 (arg1
)->SetMargins(arg2
,arg3
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= SWIG_Py_Void();
25177 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
= 0;
25179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char * kwnames
[] = {
25187 (char *) "self",(char *) "size", NULL
25190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25195 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25198 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= SWIG_Py_Void();
25213 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
= 0;
25215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 char * kwnames
[] = {
25224 (char *) "self",(char *) "packing", NULL
25227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25229 if (!SWIG_IsOK(res1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25232 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25234 if (!SWIG_IsOK(ecode2
)) {
25235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25237 arg2
= static_cast< int >(val2
);
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 (arg1
)->SetToolPacking(arg2
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_Py_Void();
25251 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
= 0;
25253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char * kwnames
[] = {
25262 (char *) "self",(char *) "separation", NULL
25265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25270 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25272 if (!SWIG_IsOK(ecode2
)) {
25273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25275 arg2
= static_cast< int >(val2
);
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 (arg1
)->SetToolSeparation(arg2
);
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= SWIG_Py_Void();
25289 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25290 PyObject
*resultobj
= 0;
25291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25295 PyObject
*swig_obj
[1] ;
25297 if (!args
) SWIG_fail
;
25298 swig_obj
[0] = args
;
25299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25303 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (arg1
)->GetToolMargins();
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25317 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25318 PyObject
*resultobj
= 0;
25319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25323 PyObject
*swig_obj
[1] ;
25325 if (!args
) SWIG_fail
;
25326 swig_obj
[0] = args
;
25327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= (arg1
)->GetMargins();
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25345 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25346 PyObject
*resultobj
= 0;
25347 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25351 PyObject
*swig_obj
[1] ;
25353 if (!args
) SWIG_fail
;
25354 swig_obj
[0] = args
;
25355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25359 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (int)(arg1
)->GetToolPacking();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_From_int(static_cast< int >(result
));
25373 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25374 PyObject
*resultobj
= 0;
25375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25379 PyObject
*swig_obj
[1] ;
25381 if (!args
) SWIG_fail
;
25382 swig_obj
[0] = args
;
25383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25384 if (!SWIG_IsOK(res1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25387 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (int)(arg1
)->GetToolSeparation();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_From_int(static_cast< int >(result
));
25401 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "self",(char *) "nRows", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25420 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25422 if (!SWIG_IsOK(ecode2
)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25425 arg2
= static_cast< int >(val2
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->SetRows(arg2
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_Py_Void();
25439 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
= 0;
25441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 PyObject
* obj2
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "self",(char *) "rows",(char *) "cols", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25462 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25464 if (!SWIG_IsOK(ecode2
)) {
25465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25467 arg2
= static_cast< int >(val2
);
25468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25469 if (!SWIG_IsOK(ecode3
)) {
25470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25472 arg3
= static_cast< int >(val3
);
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_Py_Void();
25486 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 PyObject
*resultobj
= 0;
25488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25492 PyObject
*swig_obj
[1] ;
25494 if (!args
) SWIG_fail
;
25495 swig_obj
[0] = args
;
25496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25500 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (int)(arg1
)->GetMaxRows();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_From_int(static_cast< int >(result
));
25514 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25515 PyObject
*resultobj
= 0;
25516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25520 PyObject
*swig_obj
[1] ;
25522 if (!args
) SWIG_fail
;
25523 swig_obj
[0] = args
;
25524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25528 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= (int)(arg1
)->GetMaxCols();
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 resultobj
= SWIG_From_int(static_cast< int >(result
));
25542 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
= 0;
25544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 char * kwnames
[] = {
25552 (char *) "self",(char *) "size", NULL
25555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25557 if (!SWIG_IsOK(res1
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25560 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= SWIG_Py_Void();
25578 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25579 PyObject
*resultobj
= 0;
25580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25584 PyObject
*swig_obj
[1] ;
25586 if (!args
) SWIG_fail
;
25587 swig_obj
[0] = args
;
25588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25589 if (!SWIG_IsOK(res1
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25592 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (arg1
)->GetToolBitmapSize();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25606 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25607 PyObject
*resultobj
= 0;
25608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25612 PyObject
*swig_obj
[1] ;
25614 if (!args
) SWIG_fail
;
25615 swig_obj
[0] = args
;
25616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25617 if (!SWIG_IsOK(res1
)) {
25618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25620 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (arg1
)->GetToolSize();
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25634 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25639 wxToolBarToolBase
*result
= 0 ;
25646 PyObject
* obj0
= 0 ;
25647 PyObject
* obj1
= 0 ;
25648 PyObject
* obj2
= 0 ;
25649 char * kwnames
[] = {
25650 (char *) "self",(char *) "x",(char *) "y", NULL
25653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25655 if (!SWIG_IsOK(res1
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25658 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25660 if (!SWIG_IsOK(ecode2
)) {
25661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25663 arg2
= static_cast< int >(val2
);
25664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25665 if (!SWIG_IsOK(ecode3
)) {
25666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25668 arg3
= static_cast< int >(val3
);
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25684 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25688 wxToolBarToolBase
*result
= 0 ;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char * kwnames
[] = {
25696 (char *) "self",(char *) "toolid", NULL
25699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25701 if (!SWIG_IsOK(res1
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25704 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25706 if (!SWIG_IsOK(ecode2
)) {
25707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25709 arg2
= static_cast< int >(val2
);
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25725 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25726 PyObject
*resultobj
= 0;
25727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25731 PyObject
*swig_obj
[1] ;
25733 if (!args
) SWIG_fail
;
25734 swig_obj
[0] = args
;
25735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25736 if (!SWIG_IsOK(res1
)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25739 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 result
= (bool)(arg1
)->IsVertical();
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25755 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25756 PyObject
*resultobj
= 0;
25757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25761 PyObject
*swig_obj
[1] ;
25763 if (!args
) SWIG_fail
;
25764 swig_obj
[0] = args
;
25765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25766 if (!SWIG_IsOK(res1
)) {
25767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25769 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25783 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25786 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25787 return SWIG_Py_Void();
25790 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
= 0;
25792 wxWindow
*arg1
= (wxWindow
*) 0 ;
25793 int arg2
= (int) -1 ;
25794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25798 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25799 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25800 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25801 wxToolBar
*result
= 0 ;
25810 bool temp6
= false ;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 PyObject
* obj2
= 0 ;
25814 PyObject
* obj3
= 0 ;
25815 PyObject
* obj4
= 0 ;
25816 PyObject
* obj5
= 0 ;
25817 char * kwnames
[] = {
25818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25829 if (!SWIG_IsOK(ecode2
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25832 arg2
= static_cast< int >(val2
);
25837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25847 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25848 if (!SWIG_IsOK(ecode5
)) {
25849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25851 arg5
= static_cast< long >(val5
);
25855 arg6
= wxString_in_helper(obj5
);
25856 if (arg6
== NULL
) SWIG_fail
;
25861 if (!wxPyCheckForApp()) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25882 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 PyObject
*resultobj
= 0;
25884 wxToolBar
*result
= 0 ;
25886 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25888 if (!wxPyCheckForApp()) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (wxToolBar
*)new wxToolBar();
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25901 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25904 wxWindow
*arg2
= (wxWindow
*) 0 ;
25905 int arg3
= (int) -1 ;
25906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25910 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25911 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25924 bool temp7
= false ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 PyObject
* obj2
= 0 ;
25928 PyObject
* obj3
= 0 ;
25929 PyObject
* obj4
= 0 ;
25930 PyObject
* obj5
= 0 ;
25931 PyObject
* obj6
= 0 ;
25932 char * kwnames
[] = {
25933 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25941 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25943 if (!SWIG_IsOK(res2
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25949 if (!SWIG_IsOK(ecode3
)) {
25950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25952 arg3
= static_cast< int >(val3
);
25957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25967 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25968 if (!SWIG_IsOK(ecode6
)) {
25969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25971 arg6
= static_cast< long >(val6
);
25975 arg7
= wxString_in_helper(obj6
);
25976 if (arg7
== NULL
) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26003 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
= 0;
26005 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26006 SwigValueWrapper
<wxVisualAttributes
> result
;
26009 PyObject
* obj0
= 0 ;
26010 char * kwnames
[] = {
26011 (char *) "variant", NULL
26014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26017 if (!SWIG_IsOK(ecode1
)) {
26018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26020 arg1
= static_cast< wxWindowVariant
>(val1
);
26023 if (!wxPyCheckForApp()) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26036 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26039 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26040 return SWIG_Py_Void();
26043 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26044 return SWIG_Python_InitShadowInstance(args
);
26047 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26048 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26053 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26054 PyObject
*pyobj
= 0;
26058 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26060 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26067 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
= 0;
26069 wxColour
const &arg1_defvalue
= wxNullColour
;
26070 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26071 wxColour
const &arg2_defvalue
= wxNullColour
;
26072 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26073 wxFont
const &arg3_defvalue
= wxNullFont
;
26074 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26075 wxListItemAttr
*result
= 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 PyObject
* obj2
= 0 ;
26083 char * kwnames
[] = {
26084 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26091 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26101 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26102 if (!SWIG_IsOK(res3
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26108 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26123 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26124 PyObject
*resultobj
= 0;
26125 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26128 PyObject
*swig_obj
[1] ;
26130 if (!args
) SWIG_fail
;
26131 swig_obj
[0] = args
;
26132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26133 if (!SWIG_IsOK(res1
)) {
26134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26136 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_Py_Void();
26151 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
= 0;
26153 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26154 wxColour
*arg2
= 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "colText", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26169 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26172 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= SWIG_Py_Void();
26187 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
= 0;
26189 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26190 wxColour
*arg2
= 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 char * kwnames
[] = {
26197 (char *) "self",(char *) "colBack", NULL
26200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26205 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26208 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= SWIG_Py_Void();
26223 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
= 0;
26225 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 char * kwnames
[] = {
26234 (char *) "self",(char *) "font", NULL
26237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26239 if (!SWIG_IsOK(res1
)) {
26240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26242 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26244 if (!SWIG_IsOK(res2
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26250 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->SetFont((wxFont
const &)*arg2
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_Py_Void();
26264 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26265 PyObject
*resultobj
= 0;
26266 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26270 PyObject
*swig_obj
[1] ;
26272 if (!args
) SWIG_fail
;
26273 swig_obj
[0] = args
;
26274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26275 if (!SWIG_IsOK(res1
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26278 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 result
= (bool)(arg1
)->HasTextColour();
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26294 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26295 PyObject
*resultobj
= 0;
26296 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26300 PyObject
*swig_obj
[1] ;
26302 if (!args
) SWIG_fail
;
26303 swig_obj
[0] = args
;
26304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26305 if (!SWIG_IsOK(res1
)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26308 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 result
= (bool)(arg1
)->HasBackgroundColour();
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26324 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26325 PyObject
*resultobj
= 0;
26326 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26330 PyObject
*swig_obj
[1] ;
26332 if (!args
) SWIG_fail
;
26333 swig_obj
[0] = args
;
26334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26335 if (!SWIG_IsOK(res1
)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26338 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= (bool)(arg1
)->HasFont();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26354 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26355 PyObject
*resultobj
= 0;
26356 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26360 PyObject
*swig_obj
[1] ;
26362 if (!args
) SWIG_fail
;
26363 swig_obj
[0] = args
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26368 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= (arg1
)->GetTextColour();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26382 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26388 PyObject
*swig_obj
[1] ;
26390 if (!args
) SWIG_fail
;
26391 swig_obj
[0] = args
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26396 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (arg1
)->GetBackgroundColour();
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26410 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26411 PyObject
*resultobj
= 0;
26412 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26416 PyObject
*swig_obj
[1] ;
26418 if (!args
) SWIG_fail
;
26419 swig_obj
[0] = args
;
26420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26421 if (!SWIG_IsOK(res1
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26424 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= (arg1
)->GetFont();
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26438 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
= 0;
26440 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26441 wxListItemAttr
*arg2
= 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char * kwnames
[] = {
26449 (char *) "self",(char *) "source", NULL
26452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26457 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26459 if (!SWIG_IsOK(res2
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26465 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_Py_Void();
26479 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26480 PyObject
*resultobj
= 0;
26481 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26484 PyObject
*swig_obj
[1] ;
26486 if (!args
) SWIG_fail
;
26487 swig_obj
[0] = args
;
26488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26489 if (!SWIG_IsOK(res1
)) {
26490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26492 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 wxListItemAttr_Destroy(arg1
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_Py_Void();
26506 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26509 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26510 return SWIG_Py_Void();
26513 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26514 return SWIG_Python_InitShadowInstance(args
);
26517 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26518 PyObject
*resultobj
= 0;
26519 wxListItem
*result
= 0 ;
26521 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (wxListItem
*)new wxListItem();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26535 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26536 PyObject
*resultobj
= 0;
26537 wxListItem
*arg1
= (wxListItem
*) 0 ;
26540 PyObject
*swig_obj
[1] ;
26542 if (!args
) SWIG_fail
;
26543 swig_obj
[0] = args
;
26544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26548 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26563 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26564 PyObject
*resultobj
= 0;
26565 wxListItem
*arg1
= (wxListItem
*) 0 ;
26568 PyObject
*swig_obj
[1] ;
26570 if (!args
) SWIG_fail
;
26571 swig_obj
[0] = args
;
26572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_Py_Void();
26590 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItem
*arg1
= (wxListItem
*) 0 ;
26595 PyObject
*swig_obj
[1] ;
26597 if (!args
) SWIG_fail
;
26598 swig_obj
[0] = args
;
26599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26600 if (!SWIG_IsOK(res1
)) {
26601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26603 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 (arg1
)->ClearAttributes();
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_Py_Void();
26617 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= 0;
26619 wxListItem
*arg1
= (wxListItem
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char * kwnames
[] = {
26628 (char *) "self",(char *) "mask", NULL
26631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26633 if (!SWIG_IsOK(res1
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26636 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26638 if (!SWIG_IsOK(ecode2
)) {
26639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26641 arg2
= static_cast< long >(val2
);
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->SetMask(arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_Py_Void();
26655 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
= 0;
26657 wxListItem
*arg1
= (wxListItem
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 char * kwnames
[] = {
26666 (char *) "self",(char *) "id", NULL
26669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26671 if (!SWIG_IsOK(res1
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26674 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26676 if (!SWIG_IsOK(ecode2
)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26679 arg2
= static_cast< long >(val2
);
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 (arg1
)->SetId(arg2
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= SWIG_Py_Void();
26693 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26695 wxListItem
*arg1
= (wxListItem
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 char * kwnames
[] = {
26704 (char *) "self",(char *) "col", NULL
26707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26712 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26714 if (!SWIG_IsOK(ecode2
)) {
26715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26717 arg2
= static_cast< int >(val2
);
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 (arg1
)->SetColumn(arg2
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= SWIG_Py_Void();
26731 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
= 0;
26733 wxListItem
*arg1
= (wxListItem
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char * kwnames
[] = {
26742 (char *) "self",(char *) "state", NULL
26745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26747 if (!SWIG_IsOK(res1
)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26750 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26751 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26752 if (!SWIG_IsOK(ecode2
)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26755 arg2
= static_cast< long >(val2
);
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetState(arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_Py_Void();
26769 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= 0;
26771 wxListItem
*arg1
= (wxListItem
*) 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char * kwnames
[] = {
26780 (char *) "self",(char *) "stateMask", NULL
26783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26785 if (!SWIG_IsOK(res1
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26788 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26789 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26790 if (!SWIG_IsOK(ecode2
)) {
26791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26793 arg2
= static_cast< long >(val2
);
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 (arg1
)->SetStateMask(arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_Py_Void();
26807 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
= 0;
26809 wxListItem
*arg1
= (wxListItem
*) 0 ;
26810 wxString
*arg2
= 0 ;
26813 bool temp2
= false ;
26814 PyObject
* obj0
= 0 ;
26815 PyObject
* obj1
= 0 ;
26816 char * kwnames
[] = {
26817 (char *) "self",(char *) "text", NULL
26820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26822 if (!SWIG_IsOK(res1
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26825 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26827 arg2
= wxString_in_helper(obj1
);
26828 if (arg2
== NULL
) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 (arg1
)->SetText((wxString
const &)*arg2
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_Py_Void();
26852 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
= 0;
26854 wxListItem
*arg1
= (wxListItem
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char * kwnames
[] = {
26863 (char *) "self",(char *) "image", NULL
26866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26871 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26873 if (!SWIG_IsOK(ecode2
)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26876 arg2
= static_cast< int >(val2
);
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->SetImage(arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_Py_Void();
26890 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
= 0;
26892 wxListItem
*arg1
= (wxListItem
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char * kwnames
[] = {
26901 (char *) "self",(char *) "data", NULL
26904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26909 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26910 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26911 if (!SWIG_IsOK(ecode2
)) {
26912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26914 arg2
= static_cast< long >(val2
);
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 (arg1
)->SetData(arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= SWIG_Py_Void();
26928 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
= 0;
26930 wxListItem
*arg1
= (wxListItem
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char * kwnames
[] = {
26939 (char *) "self",(char *) "width", NULL
26942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26949 if (!SWIG_IsOK(ecode2
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26952 arg2
= static_cast< int >(val2
);
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 (arg1
)->SetWidth(arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_Py_Void();
26966 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
= 0;
26968 wxListItem
*arg1
= (wxListItem
*) 0 ;
26969 wxListColumnFormat arg2
;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char * kwnames
[] = {
26977 (char *) "self",(char *) "align", NULL
26980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26982 if (!SWIG_IsOK(res1
)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26985 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26987 if (!SWIG_IsOK(ecode2
)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26990 arg2
= static_cast< wxListColumnFormat
>(val2
);
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 (arg1
)->SetAlign(arg2
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_Py_Void();
27004 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
= 0;
27006 wxListItem
*arg1
= (wxListItem
*) 0 ;
27007 wxColour
*arg2
= 0 ;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 char * kwnames
[] = {
27014 (char *) "self",(char *) "colText", NULL
27017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27022 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_Py_Void();
27040 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
= 0;
27042 wxListItem
*arg1
= (wxListItem
*) 0 ;
27043 wxColour
*arg2
= 0 ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char * kwnames
[] = {
27050 (char *) "self",(char *) "colBack", NULL
27053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27055 if (!SWIG_IsOK(res1
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27058 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_Py_Void();
27076 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= 0;
27078 wxListItem
*arg1
= (wxListItem
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char * kwnames
[] = {
27087 (char *) "self",(char *) "font", NULL
27090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27095 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27097 if (!SWIG_IsOK(res2
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27103 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 (arg1
)->SetFont((wxFont
const &)*arg2
);
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= SWIG_Py_Void();
27117 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27118 PyObject
*resultobj
= 0;
27119 wxListItem
*arg1
= (wxListItem
*) 0 ;
27123 PyObject
*swig_obj
[1] ;
27125 if (!args
) SWIG_fail
;
27126 swig_obj
[0] = args
;
27127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27128 if (!SWIG_IsOK(res1
)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27131 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 result
= (long)(arg1
)->GetMask();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_From_long(static_cast< long >(result
));
27145 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27146 PyObject
*resultobj
= 0;
27147 wxListItem
*arg1
= (wxListItem
*) 0 ;
27151 PyObject
*swig_obj
[1] ;
27153 if (!args
) SWIG_fail
;
27154 swig_obj
[0] = args
;
27155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27156 if (!SWIG_IsOK(res1
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27159 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (long)(arg1
)->GetId();
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= SWIG_From_long(static_cast< long >(result
));
27173 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27174 PyObject
*resultobj
= 0;
27175 wxListItem
*arg1
= (wxListItem
*) 0 ;
27179 PyObject
*swig_obj
[1] ;
27181 if (!args
) SWIG_fail
;
27182 swig_obj
[0] = args
;
27183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27184 if (!SWIG_IsOK(res1
)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27187 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (int)(arg1
)->GetColumn();
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= SWIG_From_int(static_cast< int >(result
));
27201 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27202 PyObject
*resultobj
= 0;
27203 wxListItem
*arg1
= (wxListItem
*) 0 ;
27207 PyObject
*swig_obj
[1] ;
27209 if (!args
) SWIG_fail
;
27210 swig_obj
[0] = args
;
27211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27212 if (!SWIG_IsOK(res1
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27215 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (long)(arg1
)->GetState();
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_From_long(static_cast< long >(result
));
27229 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27230 PyObject
*resultobj
= 0;
27231 wxListItem
*arg1
= (wxListItem
*) 0 ;
27232 wxString
*result
= 0 ;
27235 PyObject
*swig_obj
[1] ;
27237 if (!args
) SWIG_fail
;
27238 swig_obj
[0] = args
;
27239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27240 if (!SWIG_IsOK(res1
)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27243 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 wxString
const &_result_ref
= (arg1
)->GetText();
27248 result
= (wxString
*) &_result_ref
;
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27266 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27267 PyObject
*resultobj
= 0;
27268 wxListItem
*arg1
= (wxListItem
*) 0 ;
27272 PyObject
*swig_obj
[1] ;
27274 if (!args
) SWIG_fail
;
27275 swig_obj
[0] = args
;
27276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27277 if (!SWIG_IsOK(res1
)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27280 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 result
= (int)(arg1
)->GetImage();
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 resultobj
= SWIG_From_int(static_cast< int >(result
));
27294 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 PyObject
*resultobj
= 0;
27296 wxListItem
*arg1
= (wxListItem
*) 0 ;
27300 PyObject
*swig_obj
[1] ;
27302 if (!args
) SWIG_fail
;
27303 swig_obj
[0] = args
;
27304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27305 if (!SWIG_IsOK(res1
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27308 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (long)(arg1
)->GetData();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= SWIG_From_long(static_cast< long >(result
));
27322 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27323 PyObject
*resultobj
= 0;
27324 wxListItem
*arg1
= (wxListItem
*) 0 ;
27328 PyObject
*swig_obj
[1] ;
27330 if (!args
) SWIG_fail
;
27331 swig_obj
[0] = args
;
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_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27336 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= (int)(arg1
)->GetWidth();
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_From_int(static_cast< int >(result
));
27350 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27351 PyObject
*resultobj
= 0;
27352 wxListItem
*arg1
= (wxListItem
*) 0 ;
27353 wxListColumnFormat result
;
27356 PyObject
*swig_obj
[1] ;
27358 if (!args
) SWIG_fail
;
27359 swig_obj
[0] = args
;
27360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27361 if (!SWIG_IsOK(res1
)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27364 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= SWIG_From_int(static_cast< int >(result
));
27378 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 PyObject
*resultobj
= 0;
27380 wxListItem
*arg1
= (wxListItem
*) 0 ;
27381 wxListItemAttr
*result
= 0 ;
27384 PyObject
*swig_obj
[1] ;
27386 if (!args
) SWIG_fail
;
27387 swig_obj
[0] = args
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27392 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27406 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 PyObject
*resultobj
= 0;
27408 wxListItem
*arg1
= (wxListItem
*) 0 ;
27412 PyObject
*swig_obj
[1] ;
27414 if (!args
) SWIG_fail
;
27415 swig_obj
[0] = args
;
27416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27420 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 result
= (bool)(arg1
)->HasAttributes();
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27436 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27437 PyObject
*resultobj
= 0;
27438 wxListItem
*arg1
= (wxListItem
*) 0 ;
27442 PyObject
*swig_obj
[1] ;
27444 if (!args
) SWIG_fail
;
27445 swig_obj
[0] = args
;
27446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27447 if (!SWIG_IsOK(res1
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27450 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27464 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 PyObject
*resultobj
= 0;
27466 wxListItem
*arg1
= (wxListItem
*) 0 ;
27470 PyObject
*swig_obj
[1] ;
27472 if (!args
) SWIG_fail
;
27473 swig_obj
[0] = args
;
27474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27478 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27492 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27493 PyObject
*resultobj
= 0;
27494 wxListItem
*arg1
= (wxListItem
*) 0 ;
27498 PyObject
*swig_obj
[1] ;
27500 if (!args
) SWIG_fail
;
27501 swig_obj
[0] = args
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27506 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= ((wxListItem
const *)arg1
)->GetFont();
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27520 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27521 PyObject
*resultobj
= 0;
27522 wxListItem
*arg1
= (wxListItem
*) 0 ;
27528 PyObject
*swig_obj
[2] ;
27530 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27535 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27536 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27537 if (!SWIG_IsOK(ecode2
)) {
27538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27540 arg2
= static_cast< long >(val2
);
27541 if (arg1
) (arg1
)->m_mask
= arg2
;
27543 resultobj
= SWIG_Py_Void();
27550 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxListItem
*arg1
= (wxListItem
*) 0 ;
27556 PyObject
*swig_obj
[1] ;
27558 if (!args
) SWIG_fail
;
27559 swig_obj
[0] = args
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27564 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27565 result
= (long) ((arg1
)->m_mask
);
27566 resultobj
= SWIG_From_long(static_cast< long >(result
));
27573 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27574 PyObject
*resultobj
= 0;
27575 wxListItem
*arg1
= (wxListItem
*) 0 ;
27581 PyObject
*swig_obj
[2] ;
27583 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27588 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27589 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27590 if (!SWIG_IsOK(ecode2
)) {
27591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27593 arg2
= static_cast< long >(val2
);
27594 if (arg1
) (arg1
)->m_itemId
= arg2
;
27596 resultobj
= SWIG_Py_Void();
27603 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27604 PyObject
*resultobj
= 0;
27605 wxListItem
*arg1
= (wxListItem
*) 0 ;
27609 PyObject
*swig_obj
[1] ;
27611 if (!args
) SWIG_fail
;
27612 swig_obj
[0] = args
;
27613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27618 result
= (long) ((arg1
)->m_itemId
);
27619 resultobj
= SWIG_From_long(static_cast< long >(result
));
27626 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 PyObject
*resultobj
= 0;
27628 wxListItem
*arg1
= (wxListItem
*) 0 ;
27634 PyObject
*swig_obj
[2] ;
27636 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27638 if (!SWIG_IsOK(res1
)) {
27639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27641 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27642 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27643 if (!SWIG_IsOK(ecode2
)) {
27644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27646 arg2
= static_cast< int >(val2
);
27647 if (arg1
) (arg1
)->m_col
= arg2
;
27649 resultobj
= SWIG_Py_Void();
27656 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27657 PyObject
*resultobj
= 0;
27658 wxListItem
*arg1
= (wxListItem
*) 0 ;
27662 PyObject
*swig_obj
[1] ;
27664 if (!args
) SWIG_fail
;
27665 swig_obj
[0] = args
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27670 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27671 result
= (int) ((arg1
)->m_col
);
27672 resultobj
= SWIG_From_int(static_cast< int >(result
));
27679 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27680 PyObject
*resultobj
= 0;
27681 wxListItem
*arg1
= (wxListItem
*) 0 ;
27687 PyObject
*swig_obj
[2] ;
27689 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27691 if (!SWIG_IsOK(res1
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27694 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27695 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27696 if (!SWIG_IsOK(ecode2
)) {
27697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27699 arg2
= static_cast< long >(val2
);
27700 if (arg1
) (arg1
)->m_state
= arg2
;
27702 resultobj
= SWIG_Py_Void();
27709 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 PyObject
*resultobj
= 0;
27711 wxListItem
*arg1
= (wxListItem
*) 0 ;
27715 PyObject
*swig_obj
[1] ;
27717 if (!args
) SWIG_fail
;
27718 swig_obj
[0] = args
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27724 result
= (long) ((arg1
)->m_state
);
27725 resultobj
= SWIG_From_long(static_cast< long >(result
));
27732 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27733 PyObject
*resultobj
= 0;
27734 wxListItem
*arg1
= (wxListItem
*) 0 ;
27740 PyObject
*swig_obj
[2] ;
27742 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27747 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27748 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27749 if (!SWIG_IsOK(ecode2
)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27752 arg2
= static_cast< long >(val2
);
27753 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27755 resultobj
= SWIG_Py_Void();
27762 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27763 PyObject
*resultobj
= 0;
27764 wxListItem
*arg1
= (wxListItem
*) 0 ;
27768 PyObject
*swig_obj
[1] ;
27770 if (!args
) SWIG_fail
;
27771 swig_obj
[0] = args
;
27772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27773 if (!SWIG_IsOK(res1
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27776 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27777 result
= (long) ((arg1
)->m_stateMask
);
27778 resultobj
= SWIG_From_long(static_cast< long >(result
));
27785 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 PyObject
*resultobj
= 0;
27787 wxListItem
*arg1
= (wxListItem
*) 0 ;
27788 wxString
*arg2
= (wxString
*) 0 ;
27791 bool temp2
= false ;
27792 PyObject
*swig_obj
[2] ;
27794 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27799 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27801 arg2
= wxString_in_helper(swig_obj
[1]);
27802 if (arg2
== NULL
) SWIG_fail
;
27805 if (arg1
) (arg1
)->m_text
= *arg2
;
27807 resultobj
= SWIG_Py_Void();
27822 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27823 PyObject
*resultobj
= 0;
27824 wxListItem
*arg1
= (wxListItem
*) 0 ;
27825 wxString
*result
= 0 ;
27828 PyObject
*swig_obj
[1] ;
27830 if (!args
) SWIG_fail
;
27831 swig_obj
[0] = args
;
27832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27836 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27837 result
= (wxString
*)& ((arg1
)->m_text
);
27840 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27842 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27851 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 PyObject
*resultobj
= 0;
27853 wxListItem
*arg1
= (wxListItem
*) 0 ;
27859 PyObject
*swig_obj
[2] ;
27861 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27863 if (!SWIG_IsOK(res1
)) {
27864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27866 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27867 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27868 if (!SWIG_IsOK(ecode2
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27871 arg2
= static_cast< int >(val2
);
27872 if (arg1
) (arg1
)->m_image
= arg2
;
27874 resultobj
= SWIG_Py_Void();
27881 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxListItem
*arg1
= (wxListItem
*) 0 ;
27887 PyObject
*swig_obj
[1] ;
27889 if (!args
) SWIG_fail
;
27890 swig_obj
[0] = args
;
27891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27895 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27896 result
= (int) ((arg1
)->m_image
);
27897 resultobj
= SWIG_From_int(static_cast< int >(result
));
27904 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27905 PyObject
*resultobj
= 0;
27906 wxListItem
*arg1
= (wxListItem
*) 0 ;
27912 PyObject
*swig_obj
[2] ;
27914 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27916 if (!SWIG_IsOK(res1
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27919 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27920 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27921 if (!SWIG_IsOK(ecode2
)) {
27922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27924 arg2
= static_cast< long >(val2
);
27925 if (arg1
) (arg1
)->m_data
= arg2
;
27927 resultobj
= SWIG_Py_Void();
27934 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27935 PyObject
*resultobj
= 0;
27936 wxListItem
*arg1
= (wxListItem
*) 0 ;
27940 PyObject
*swig_obj
[1] ;
27942 if (!args
) SWIG_fail
;
27943 swig_obj
[0] = args
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27948 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27949 result
= (long) ((arg1
)->m_data
);
27950 resultobj
= SWIG_From_long(static_cast< long >(result
));
27957 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27958 PyObject
*resultobj
= 0;
27959 wxListItem
*arg1
= (wxListItem
*) 0 ;
27965 PyObject
*swig_obj
[2] ;
27967 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27969 if (!SWIG_IsOK(res1
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27972 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27973 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27974 if (!SWIG_IsOK(ecode2
)) {
27975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27977 arg2
= static_cast< int >(val2
);
27978 if (arg1
) (arg1
)->m_format
= arg2
;
27980 resultobj
= SWIG_Py_Void();
27987 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 PyObject
*resultobj
= 0;
27989 wxListItem
*arg1
= (wxListItem
*) 0 ;
27993 PyObject
*swig_obj
[1] ;
27995 if (!args
) SWIG_fail
;
27996 swig_obj
[0] = args
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28001 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28002 result
= (int) ((arg1
)->m_format
);
28003 resultobj
= SWIG_From_int(static_cast< int >(result
));
28010 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 PyObject
*resultobj
= 0;
28012 wxListItem
*arg1
= (wxListItem
*) 0 ;
28018 PyObject
*swig_obj
[2] ;
28020 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28022 if (!SWIG_IsOK(res1
)) {
28023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28025 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28026 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28027 if (!SWIG_IsOK(ecode2
)) {
28028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28030 arg2
= static_cast< int >(val2
);
28031 if (arg1
) (arg1
)->m_width
= arg2
;
28033 resultobj
= SWIG_Py_Void();
28040 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28041 PyObject
*resultobj
= 0;
28042 wxListItem
*arg1
= (wxListItem
*) 0 ;
28046 PyObject
*swig_obj
[1] ;
28048 if (!args
) SWIG_fail
;
28049 swig_obj
[0] = args
;
28050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28054 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28055 result
= (int) ((arg1
)->m_width
);
28056 resultobj
= SWIG_From_int(static_cast< int >(result
));
28063 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28066 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28067 return SWIG_Py_Void();
28070 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28071 return SWIG_Python_InitShadowInstance(args
);
28074 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
= 0;
28076 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28077 int arg2
= (int) 0 ;
28078 wxListEvent
*result
= 0 ;
28083 PyObject
* obj0
= 0 ;
28084 PyObject
* obj1
= 0 ;
28085 char * kwnames
[] = {
28086 (char *) "commandType",(char *) "id", NULL
28089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28092 if (!SWIG_IsOK(ecode1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28095 arg1
= static_cast< wxEventType
>(val1
);
28098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28099 if (!SWIG_IsOK(ecode2
)) {
28100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28102 arg2
= static_cast< int >(val2
);
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28117 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28118 PyObject
*resultobj
= 0;
28119 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28125 PyObject
*swig_obj
[2] ;
28127 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28132 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28133 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28134 if (!SWIG_IsOK(ecode2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28137 arg2
= static_cast< int >(val2
);
28138 if (arg1
) (arg1
)->m_code
= arg2
;
28140 resultobj
= SWIG_Py_Void();
28147 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28153 PyObject
*swig_obj
[1] ;
28155 if (!args
) SWIG_fail
;
28156 swig_obj
[0] = args
;
28157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28161 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28162 result
= (int) ((arg1
)->m_code
);
28163 resultobj
= SWIG_From_int(static_cast< int >(result
));
28170 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28178 PyObject
*swig_obj
[2] ;
28180 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28182 if (!SWIG_IsOK(res1
)) {
28183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28185 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28186 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28187 if (!SWIG_IsOK(ecode2
)) {
28188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28190 arg2
= static_cast< long >(val2
);
28191 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28193 resultobj
= SWIG_Py_Void();
28200 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28206 PyObject
*swig_obj
[1] ;
28208 if (!args
) SWIG_fail
;
28209 swig_obj
[0] = args
;
28210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28214 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28215 result
= (long) ((arg1
)->m_oldItemIndex
);
28216 resultobj
= SWIG_From_long(static_cast< long >(result
));
28223 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28231 PyObject
*swig_obj
[2] ;
28233 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28238 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28239 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28240 if (!SWIG_IsOK(ecode2
)) {
28241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28243 arg2
= static_cast< long >(val2
);
28244 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28246 resultobj
= SWIG_Py_Void();
28253 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28254 PyObject
*resultobj
= 0;
28255 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28259 PyObject
*swig_obj
[1] ;
28261 if (!args
) SWIG_fail
;
28262 swig_obj
[0] = args
;
28263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28267 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28268 result
= (long) ((arg1
)->m_itemIndex
);
28269 resultobj
= SWIG_From_long(static_cast< long >(result
));
28276 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28277 PyObject
*resultobj
= 0;
28278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28284 PyObject
*swig_obj
[2] ;
28286 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28291 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28292 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28293 if (!SWIG_IsOK(ecode2
)) {
28294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28296 arg2
= static_cast< int >(val2
);
28297 if (arg1
) (arg1
)->m_col
= arg2
;
28299 resultobj
= SWIG_Py_Void();
28306 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28312 PyObject
*swig_obj
[1] ;
28314 if (!args
) SWIG_fail
;
28315 swig_obj
[0] = args
;
28316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28317 if (!SWIG_IsOK(res1
)) {
28318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28320 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28321 result
= (int) ((arg1
)->m_col
);
28322 resultobj
= SWIG_From_int(static_cast< int >(result
));
28329 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28330 PyObject
*resultobj
= 0;
28331 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28332 wxPoint
*arg2
= (wxPoint
*) 0 ;
28337 PyObject
*swig_obj
[2] ;
28339 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28344 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28345 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28346 if (!SWIG_IsOK(res2
)) {
28347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28349 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28350 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28352 resultobj
= SWIG_Py_Void();
28359 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28360 PyObject
*resultobj
= 0;
28361 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28362 wxPoint
*result
= 0 ;
28365 PyObject
*swig_obj
[1] ;
28367 if (!args
) SWIG_fail
;
28368 swig_obj
[0] = args
;
28369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28370 if (!SWIG_IsOK(res1
)) {
28371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28373 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28374 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28382 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28383 PyObject
*resultobj
= 0;
28384 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28385 wxListItem
*result
= 0 ;
28388 PyObject
*swig_obj
[1] ;
28390 if (!args
) SWIG_fail
;
28391 swig_obj
[0] = args
;
28392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28393 if (!SWIG_IsOK(res1
)) {
28394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28396 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28397 result
= (wxListItem
*)& ((arg1
)->m_item
);
28399 resultobj
= wxPyMake_wxObject(result
, 0);
28407 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28408 PyObject
*resultobj
= 0;
28409 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28413 PyObject
*swig_obj
[1] ;
28415 if (!args
) SWIG_fail
;
28416 swig_obj
[0] = args
;
28417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28418 if (!SWIG_IsOK(res1
)) {
28419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28421 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (int)(arg1
)->GetKeyCode();
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_From_int(static_cast< int >(result
));
28435 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28436 PyObject
*resultobj
= 0;
28437 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28441 PyObject
*swig_obj
[1] ;
28443 if (!args
) SWIG_fail
;
28444 swig_obj
[0] = args
;
28445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28449 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (long)(arg1
)->GetIndex();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_From_long(static_cast< long >(result
));
28463 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28464 PyObject
*resultobj
= 0;
28465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28469 PyObject
*swig_obj
[1] ;
28471 if (!args
) SWIG_fail
;
28472 swig_obj
[0] = args
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28477 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (int)(arg1
)->GetColumn();
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= SWIG_From_int(static_cast< int >(result
));
28491 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28492 PyObject
*resultobj
= 0;
28493 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28497 PyObject
*swig_obj
[1] ;
28499 if (!args
) SWIG_fail
;
28500 swig_obj
[0] = args
;
28501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28502 if (!SWIG_IsOK(res1
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28505 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 result
= (arg1
)->GetPoint();
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28519 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28520 PyObject
*resultobj
= 0;
28521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28522 wxString
*result
= 0 ;
28525 PyObject
*swig_obj
[1] ;
28527 if (!args
) SWIG_fail
;
28528 swig_obj
[0] = args
;
28529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28530 if (!SWIG_IsOK(res1
)) {
28531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28533 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 wxString
const &_result_ref
= (arg1
)->GetLabel();
28538 result
= (wxString
*) &_result_ref
;
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28545 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28547 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28556 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28557 PyObject
*resultobj
= 0;
28558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28559 wxString
*result
= 0 ;
28562 PyObject
*swig_obj
[1] ;
28564 if (!args
) SWIG_fail
;
28565 swig_obj
[0] = args
;
28566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28570 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 wxString
const &_result_ref
= (arg1
)->GetText();
28575 result
= (wxString
*) &_result_ref
;
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28584 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28593 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28594 PyObject
*resultobj
= 0;
28595 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28599 PyObject
*swig_obj
[1] ;
28601 if (!args
) SWIG_fail
;
28602 swig_obj
[0] = args
;
28603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28604 if (!SWIG_IsOK(res1
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28607 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= (int)(arg1
)->GetImage();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= SWIG_From_int(static_cast< int >(result
));
28621 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28622 PyObject
*resultobj
= 0;
28623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28627 PyObject
*swig_obj
[1] ;
28629 if (!args
) SWIG_fail
;
28630 swig_obj
[0] = args
;
28631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28632 if (!SWIG_IsOK(res1
)) {
28633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28635 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (long)(arg1
)->GetData();
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= SWIG_From_long(static_cast< long >(result
));
28649 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28650 PyObject
*resultobj
= 0;
28651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28655 PyObject
*swig_obj
[1] ;
28657 if (!args
) SWIG_fail
;
28658 swig_obj
[0] = args
;
28659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28660 if (!SWIG_IsOK(res1
)) {
28661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28663 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (long)(arg1
)->GetMask();
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= SWIG_From_long(static_cast< long >(result
));
28677 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28678 PyObject
*resultobj
= 0;
28679 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28680 wxListItem
*result
= 0 ;
28683 PyObject
*swig_obj
[1] ;
28685 if (!args
) SWIG_fail
;
28686 swig_obj
[0] = args
;
28687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28688 if (!SWIG_IsOK(res1
)) {
28689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28691 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28696 result
= (wxListItem
*) &_result_ref
;
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28708 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28709 PyObject
*resultobj
= 0;
28710 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28714 PyObject
*swig_obj
[1] ;
28716 if (!args
) SWIG_fail
;
28717 swig_obj
[0] = args
;
28718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28719 if (!SWIG_IsOK(res1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28722 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28725 result
= (long)(arg1
)->GetCacheFrom();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_From_long(static_cast< long >(result
));
28736 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28737 PyObject
*resultobj
= 0;
28738 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28742 PyObject
*swig_obj
[1] ;
28744 if (!args
) SWIG_fail
;
28745 swig_obj
[0] = args
;
28746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28750 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 result
= (long)(arg1
)->GetCacheTo();
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= SWIG_From_long(static_cast< long >(result
));
28764 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28765 PyObject
*resultobj
= 0;
28766 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28770 PyObject
*swig_obj
[1] ;
28772 if (!args
) SWIG_fail
;
28773 swig_obj
[0] = args
;
28774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28775 if (!SWIG_IsOK(res1
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28778 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28794 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28802 PyObject
* obj0
= 0 ;
28803 PyObject
* obj1
= 0 ;
28804 char * kwnames
[] = {
28805 (char *) "self",(char *) "editCancelled", NULL
28808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28810 if (!SWIG_IsOK(res1
)) {
28811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28813 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28815 if (!SWIG_IsOK(ecode2
)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28818 arg2
= static_cast< bool >(val2
);
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->SetEditCanceled(arg2
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= SWIG_Py_Void();
28832 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28835 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28836 return SWIG_Py_Void();
28839 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28840 return SWIG_Python_InitShadowInstance(args
);
28843 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
= 0;
28845 wxWindow
*arg1
= (wxWindow
*) 0 ;
28846 int arg2
= (int) -1 ;
28847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28851 long arg5
= (long) wxLC_ICON
;
28852 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28853 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28854 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28856 wxPyListCtrl
*result
= 0 ;
28867 bool temp7
= false ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 PyObject
* obj2
= 0 ;
28871 PyObject
* obj3
= 0 ;
28872 PyObject
* obj4
= 0 ;
28873 PyObject
* obj5
= 0 ;
28874 PyObject
* obj6
= 0 ;
28875 char * kwnames
[] = {
28876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28887 if (!SWIG_IsOK(ecode2
)) {
28888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28890 arg2
= static_cast< int >(val2
);
28895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28905 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28906 if (!SWIG_IsOK(ecode5
)) {
28907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28909 arg5
= static_cast< long >(val5
);
28912 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28913 if (!SWIG_IsOK(res6
)) {
28914 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28919 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28923 arg7
= wxString_in_helper(obj6
);
28924 if (arg7
== NULL
) SWIG_fail
;
28929 if (!wxPyCheckForApp()) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28950 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28951 PyObject
*resultobj
= 0;
28952 wxPyListCtrl
*result
= 0 ;
28954 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28956 if (!wxPyCheckForApp()) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28969 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28972 wxWindow
*arg2
= (wxWindow
*) 0 ;
28973 int arg3
= (int) -1 ;
28974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28978 long arg6
= (long) wxLC_ICON
;
28979 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28980 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28981 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28996 bool temp8
= false ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 PyObject
* obj4
= 0 ;
29002 PyObject
* obj5
= 0 ;
29003 PyObject
* obj6
= 0 ;
29004 PyObject
* obj7
= 0 ;
29005 char * kwnames
[] = {
29006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29014 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29016 if (!SWIG_IsOK(res2
)) {
29017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29022 if (!SWIG_IsOK(ecode3
)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29025 arg3
= static_cast< int >(val3
);
29030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29040 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29041 if (!SWIG_IsOK(ecode6
)) {
29042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29044 arg6
= static_cast< long >(val6
);
29047 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29048 if (!SWIG_IsOK(res7
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29054 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29058 arg8
= wxString_in_helper(obj7
);
29059 if (arg8
== NULL
) SWIG_fail
;
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29086 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
= 0;
29088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29089 PyObject
*arg2
= (PyObject
*) 0 ;
29090 PyObject
*arg3
= (PyObject
*) 0 ;
29093 PyObject
* obj0
= 0 ;
29094 PyObject
* obj1
= 0 ;
29095 PyObject
* obj2
= 0 ;
29096 char * kwnames
[] = {
29097 (char *) "self",(char *) "self",(char *) "_class", NULL
29100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29102 if (!SWIG_IsOK(res1
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_Py_Void();
29121 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= 0;
29123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29125 wxListItem
*result
= 0 ;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "col", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29143 if (!SWIG_IsOK(ecode2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29146 arg2
= static_cast< int >(val2
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= wxPyMake_wxObject(result
, 0);
29162 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
= 0;
29164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29166 wxListItem
*arg3
= 0 ;
29174 PyObject
* obj0
= 0 ;
29175 PyObject
* obj1
= 0 ;
29176 PyObject
* obj2
= 0 ;
29177 char * kwnames
[] = {
29178 (char *) "self",(char *) "col",(char *) "item", NULL
29181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29183 if (!SWIG_IsOK(res1
)) {
29184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29188 if (!SWIG_IsOK(ecode2
)) {
29189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29191 arg2
= static_cast< int >(val2
);
29192 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29193 if (!SWIG_IsOK(res3
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29199 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29215 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
= 0;
29217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "self",(char *) "col", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29237 if (!SWIG_IsOK(ecode2
)) {
29238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29240 arg2
= static_cast< int >(val2
);
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= SWIG_From_int(static_cast< int >(result
));
29254 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
= 0;
29256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29266 PyObject
* obj0
= 0 ;
29267 PyObject
* obj1
= 0 ;
29268 PyObject
* obj2
= 0 ;
29269 char * kwnames
[] = {
29270 (char *) "self",(char *) "col",(char *) "width", NULL
29273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29275 if (!SWIG_IsOK(res1
)) {
29276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29278 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29280 if (!SWIG_IsOK(ecode2
)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29283 arg2
= static_cast< int >(val2
);
29284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29285 if (!SWIG_IsOK(ecode3
)) {
29286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29288 arg3
= static_cast< int >(val3
);
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29304 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29305 PyObject
*resultobj
= 0;
29306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29310 PyObject
*swig_obj
[1] ;
29312 if (!args
) SWIG_fail
;
29313 swig_obj
[0] = args
;
29314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29315 if (!SWIG_IsOK(res1
)) {
29316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29318 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_From_int(static_cast< int >(result
));
29332 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29333 PyObject
*resultobj
= 0;
29334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29338 PyObject
*swig_obj
[1] ;
29340 if (!args
) SWIG_fail
;
29341 swig_obj
[0] = args
;
29342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29346 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29360 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29361 PyObject
*resultobj
= 0;
29362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29363 wxTextCtrl
*result
= 0 ;
29366 PyObject
*swig_obj
[1] ;
29368 if (!args
) SWIG_fail
;
29369 swig_obj
[0] = args
;
29370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= wxPyMake_wxObject(result
, 0);
29390 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
= 0;
29392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29394 int arg3
= (int) 0 ;
29395 wxListItem
*result
= 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 char * kwnames
[] = {
29406 (char *) "self",(char *) "itemId",(char *) "col", NULL
29409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29415 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29416 if (!SWIG_IsOK(ecode2
)) {
29417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29419 arg2
= static_cast< long >(val2
);
29421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29422 if (!SWIG_IsOK(ecode3
)) {
29423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29425 arg3
= static_cast< int >(val3
);
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= wxPyMake_wxObject(result
, 0);
29442 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
= 0;
29444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29445 wxListItem
*arg2
= 0 ;
29451 PyObject
* obj0
= 0 ;
29452 PyObject
* obj1
= 0 ;
29453 char * kwnames
[] = {
29454 (char *) "self",(char *) "info", NULL
29457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29459 if (!SWIG_IsOK(res1
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29462 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29464 if (!SWIG_IsOK(res2
)) {
29465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29470 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= (bool)(arg1
)->SetItem(*arg2
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29486 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
= 0;
29488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29491 wxString
*arg4
= 0 ;
29492 int arg5
= (int) -1 ;
29500 bool temp4
= false ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 PyObject
* obj2
= 0 ;
29506 PyObject
* obj3
= 0 ;
29507 PyObject
* obj4
= 0 ;
29508 char * kwnames
[] = {
29509 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29514 if (!SWIG_IsOK(res1
)) {
29515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29517 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29518 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29519 if (!SWIG_IsOK(ecode2
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29522 arg2
= static_cast< long >(val2
);
29523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29524 if (!SWIG_IsOK(ecode3
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29527 arg3
= static_cast< int >(val3
);
29529 arg4
= wxString_in_helper(obj3
);
29530 if (arg4
== NULL
) SWIG_fail
;
29534 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29535 if (!SWIG_IsOK(ecode5
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29538 arg5
= static_cast< int >(val5
);
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= SWIG_From_long(static_cast< long >(result
));
29561 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
= 0;
29563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 PyObject
* obj2
= 0 ;
29576 char * kwnames
[] = {
29577 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29585 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29586 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29587 if (!SWIG_IsOK(ecode2
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29590 arg2
= static_cast< long >(val2
);
29591 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29592 if (!SWIG_IsOK(ecode3
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29595 arg3
= static_cast< long >(val3
);
29597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29598 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= SWIG_From_int(static_cast< int >(result
));
29609 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
= 0;
29611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 PyObject
* obj2
= 0 ;
29627 PyObject
* obj3
= 0 ;
29628 char * kwnames
[] = {
29629 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29634 if (!SWIG_IsOK(res1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29637 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29639 if (!SWIG_IsOK(ecode2
)) {
29640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29642 arg2
= static_cast< long >(val2
);
29643 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29644 if (!SWIG_IsOK(ecode3
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29647 arg3
= static_cast< long >(val3
);
29648 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29649 if (!SWIG_IsOK(ecode4
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29652 arg4
= static_cast< long >(val4
);
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29668 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
= 0;
29670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29673 int arg4
= (int) -1 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 PyObject
* obj2
= 0 ;
29686 PyObject
* obj3
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29698 if (!SWIG_IsOK(ecode2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29701 arg2
= static_cast< long >(val2
);
29702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29703 if (!SWIG_IsOK(ecode3
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29706 arg3
= static_cast< int >(val3
);
29708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29709 if (!SWIG_IsOK(ecode4
)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29712 arg4
= static_cast< int >(val4
);
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29729 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
= 0;
29731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 PyObject
* obj2
= 0 ;
29747 PyObject
* obj3
= 0 ;
29748 char * kwnames
[] = {
29749 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29754 if (!SWIG_IsOK(res1
)) {
29755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29757 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29759 if (!SWIG_IsOK(ecode2
)) {
29760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29762 arg2
= static_cast< long >(val2
);
29763 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29764 if (!SWIG_IsOK(ecode3
)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29767 arg3
= static_cast< long >(val3
);
29768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29769 if (!SWIG_IsOK(ecode4
)) {
29770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29772 arg4
= static_cast< int >(val4
);
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29788 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
= 0;
29790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char * kwnames
[] = {
29800 (char *) "self",(char *) "item", NULL
29803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29805 if (!SWIG_IsOK(res1
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29810 if (!SWIG_IsOK(ecode2
)) {
29811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29813 arg2
= static_cast< long >(val2
);
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29833 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= 0;
29835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29837 wxString
*arg3
= 0 ;
29842 bool temp3
= false ;
29843 PyObject
* obj0
= 0 ;
29844 PyObject
* obj1
= 0 ;
29845 PyObject
* obj2
= 0 ;
29846 char * kwnames
[] = {
29847 (char *) "self",(char *) "item",(char *) "str", NULL
29850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29852 if (!SWIG_IsOK(res1
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29857 if (!SWIG_IsOK(ecode2
)) {
29858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29860 arg2
= static_cast< long >(val2
);
29862 arg3
= wxString_in_helper(obj2
);
29863 if (arg3
== NULL
) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= SWIG_Py_Void();
29887 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
= 0;
29889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29896 PyObject
* obj0
= 0 ;
29897 PyObject
* obj1
= 0 ;
29898 char * kwnames
[] = {
29899 (char *) "self",(char *) "item", NULL
29902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29904 if (!SWIG_IsOK(res1
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29907 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29909 if (!SWIG_IsOK(ecode2
)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29912 arg2
= static_cast< long >(val2
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_From_long(static_cast< long >(result
));
29926 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
= 0;
29928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29938 PyObject
* obj0
= 0 ;
29939 PyObject
* obj1
= 0 ;
29940 PyObject
* obj2
= 0 ;
29941 char * kwnames
[] = {
29942 (char *) "self",(char *) "item",(char *) "data", NULL
29945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29951 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29952 if (!SWIG_IsOK(ecode2
)) {
29953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29955 arg2
= static_cast< long >(val2
);
29956 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29957 if (!SWIG_IsOK(ecode3
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29960 arg3
= static_cast< long >(val3
);
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29976 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
= 0;
29978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char * kwnames
[] = {
29988 (char *) "self",(char *) "item", NULL
29991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29993 if (!SWIG_IsOK(res1
)) {
29994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29996 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29998 if (!SWIG_IsOK(ecode2
)) {
29999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30001 arg2
= static_cast< long >(val2
);
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30015 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
= 0;
30017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30019 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 PyObject
* obj2
= 0 ;
30030 char * kwnames
[] = {
30031 (char *) "self",(char *) "item",(char *) "code", NULL
30034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30039 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30041 if (!SWIG_IsOK(ecode2
)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30044 arg2
= static_cast< long >(val2
);
30046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30047 if (!SWIG_IsOK(ecode3
)) {
30048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30050 arg3
= static_cast< int >(val3
);
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30065 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
= 0;
30067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30069 wxPoint
*arg3
= 0 ;
30076 PyObject
* obj0
= 0 ;
30077 PyObject
* obj1
= 0 ;
30078 PyObject
* obj2
= 0 ;
30079 char * kwnames
[] = {
30080 (char *) "self",(char *) "item",(char *) "pos", NULL
30083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30085 if (!SWIG_IsOK(res1
)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30088 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30089 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30090 if (!SWIG_IsOK(ecode2
)) {
30091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30093 arg2
= static_cast< long >(val2
);
30096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30113 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30114 PyObject
*resultobj
= 0;
30115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30119 PyObject
*swig_obj
[1] ;
30121 if (!args
) SWIG_fail
;
30122 swig_obj
[0] = args
;
30123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30124 if (!SWIG_IsOK(res1
)) {
30125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30127 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= SWIG_From_int(static_cast< int >(result
));
30141 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30142 PyObject
*resultobj
= 0;
30143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30147 PyObject
*swig_obj
[1] ;
30149 if (!args
) SWIG_fail
;
30150 swig_obj
[0] = args
;
30151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30152 if (!SWIG_IsOK(res1
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30155 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= SWIG_From_int(static_cast< int >(result
));
30169 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30170 PyObject
*resultobj
= 0;
30171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30175 PyObject
*swig_obj
[1] ;
30177 if (!args
) SWIG_fail
;
30178 swig_obj
[0] = args
;
30179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30180 if (!SWIG_IsOK(res1
)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30183 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30197 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30201 bool arg3
= (bool) false ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 PyObject
* obj2
= 0 ;
30211 char * kwnames
[] = {
30212 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30220 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30222 if (!SWIG_IsOK(ecode2
)) {
30223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30225 arg2
= static_cast< int >(val2
);
30227 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30228 if (!SWIG_IsOK(ecode3
)) {
30229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30231 arg3
= static_cast< bool >(val3
);
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 (arg1
)->SetItemSpacing(arg2
,arg3
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_Py_Void();
30246 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30247 PyObject
*resultobj
= 0;
30248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30252 PyObject
*swig_obj
[1] ;
30254 if (!args
) SWIG_fail
;
30255 swig_obj
[0] = args
;
30256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30260 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_From_int(static_cast< int >(result
));
30274 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30275 PyObject
*resultobj
= 0;
30276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30280 PyObject
*swig_obj
[1] ;
30282 if (!args
) SWIG_fail
;
30283 swig_obj
[0] = args
;
30284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30288 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30302 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
= 0;
30304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30305 wxColour
*arg2
= 0 ;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 char * kwnames
[] = {
30312 (char *) "self",(char *) "col", NULL
30315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30317 if (!SWIG_IsOK(res1
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30320 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_Py_Void();
30338 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30339 PyObject
*resultobj
= 0;
30340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30344 PyObject
*swig_obj
[1] ;
30346 if (!args
) SWIG_fail
;
30347 swig_obj
[0] = args
;
30348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_From_long(static_cast< long >(result
));
30366 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
= 0;
30368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30370 bool arg3
= (bool) true ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 char * kwnames
[] = {
30381 (char *) "self",(char *) "style",(char *) "add", NULL
30384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30389 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30391 if (!SWIG_IsOK(ecode2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30394 arg2
= static_cast< long >(val2
);
30396 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30397 if (!SWIG_IsOK(ecode3
)) {
30398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30400 arg3
= static_cast< bool >(val3
);
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 (arg1
)->SetSingleStyle(arg2
,arg3
);
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= SWIG_Py_Void();
30415 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
= 0;
30417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30419 int arg3
= (int) wxLIST_NEXT_ALL
;
30420 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30430 PyObject
* obj0
= 0 ;
30431 PyObject
* obj1
= 0 ;
30432 PyObject
* obj2
= 0 ;
30433 PyObject
* obj3
= 0 ;
30434 char * kwnames
[] = {
30435 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30444 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30445 if (!SWIG_IsOK(ecode2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30448 arg2
= static_cast< long >(val2
);
30450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30451 if (!SWIG_IsOK(ecode3
)) {
30452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30454 arg3
= static_cast< int >(val3
);
30457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30458 if (!SWIG_IsOK(ecode4
)) {
30459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30461 arg4
= static_cast< int >(val4
);
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_From_long(static_cast< long >(result
));
30476 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
= 0;
30478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30480 wxImageList
*result
= 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "self",(char *) "which", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30496 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30498 if (!SWIG_IsOK(ecode2
)) {
30499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30501 arg2
= static_cast< int >(val2
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30509 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30517 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
= 0;
30519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30520 wxImageList
*arg2
= (wxImageList
*) 0 ;
30528 PyObject
* obj0
= 0 ;
30529 PyObject
* obj1
= 0 ;
30530 PyObject
* obj2
= 0 ;
30531 char * kwnames
[] = {
30532 (char *) "self",(char *) "imageList",(char *) "which", NULL
30535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30542 if (!SWIG_IsOK(res2
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30545 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30547 if (!SWIG_IsOK(ecode3
)) {
30548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30550 arg3
= static_cast< int >(val3
);
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 (arg1
)->SetImageList(arg2
,arg3
);
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= SWIG_Py_Void();
30564 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
= 0;
30566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30567 wxImageList
*arg2
= (wxImageList
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 PyObject
* obj2
= 0 ;
30577 char * kwnames
[] = {
30578 (char *) "self",(char *) "imageList",(char *) "which", NULL
30581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30583 if (!SWIG_IsOK(res1
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30586 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30587 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30588 if (!SWIG_IsOK(res2
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30592 if (!SWIG_IsOK(ecode3
)) {
30593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30595 arg3
= static_cast< int >(val3
);
30597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30598 (arg1
)->AssignImageList(arg2
,arg3
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= SWIG_Py_Void();
30609 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30610 PyObject
*resultobj
= 0;
30611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30615 PyObject
*swig_obj
[1] ;
30617 if (!args
) SWIG_fail
;
30618 swig_obj
[0] = args
;
30619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30620 if (!SWIG_IsOK(res1
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30639 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30640 PyObject
*resultobj
= 0;
30641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30645 PyObject
*swig_obj
[1] ;
30647 if (!args
) SWIG_fail
;
30648 swig_obj
[0] = args
;
30649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30650 if (!SWIG_IsOK(res1
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30653 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30669 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
= 0;
30671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char * kwnames
[] = {
30680 (char *) "self",(char *) "item", NULL
30683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30685 if (!SWIG_IsOK(res1
)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30688 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30689 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30690 if (!SWIG_IsOK(ecode2
)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30693 arg2
= static_cast< long >(val2
);
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 (arg1
)->RefreshItem(arg2
);
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= SWIG_Py_Void();
30707 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30708 PyObject
*resultobj
= 0;
30709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30718 PyObject
* obj0
= 0 ;
30719 PyObject
* obj1
= 0 ;
30720 PyObject
* obj2
= 0 ;
30721 char * kwnames
[] = {
30722 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30730 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30731 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30732 if (!SWIG_IsOK(ecode2
)) {
30733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30735 arg2
= static_cast< long >(val2
);
30736 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30737 if (!SWIG_IsOK(ecode3
)) {
30738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30740 arg3
= static_cast< long >(val3
);
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 (arg1
)->RefreshItems(arg2
,arg3
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= SWIG_Py_Void();
30754 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
= 0;
30756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30757 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 char * kwnames
[] = {
30766 (char *) "self",(char *) "flag", NULL
30769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30771 if (!SWIG_IsOK(res1
)) {
30772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30774 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30777 if (!SWIG_IsOK(ecode2
)) {
30778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30780 arg2
= static_cast< int >(val2
);
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 result
= (bool)(arg1
)->Arrange(arg2
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30797 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
= 0;
30799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30806 PyObject
* obj0
= 0 ;
30807 PyObject
* obj1
= 0 ;
30808 char * kwnames
[] = {
30809 (char *) "self",(char *) "item", NULL
30812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30814 if (!SWIG_IsOK(res1
)) {
30815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30817 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30819 if (!SWIG_IsOK(ecode2
)) {
30820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30822 arg2
= static_cast< long >(val2
);
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (bool)(arg1
)->DeleteItem(arg2
);
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30838 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 PyObject
*resultobj
= 0;
30840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30844 PyObject
*swig_obj
[1] ;
30846 if (!args
) SWIG_fail
;
30847 swig_obj
[0] = args
;
30848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30852 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= (bool)(arg1
)->DeleteAllItems();
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30868 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
= 0;
30870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30877 PyObject
* obj0
= 0 ;
30878 PyObject
* obj1
= 0 ;
30879 char * kwnames
[] = {
30880 (char *) "self",(char *) "col", NULL
30883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30885 if (!SWIG_IsOK(res1
)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30888 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30890 if (!SWIG_IsOK(ecode2
)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30893 arg2
= static_cast< int >(val2
);
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30910 PyObject
*resultobj
= 0;
30911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30915 PyObject
*swig_obj
[1] ;
30917 if (!args
) SWIG_fail
;
30918 swig_obj
[0] = args
;
30919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30920 if (!SWIG_IsOK(res1
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 result
= (bool)(arg1
)->DeleteAllColumns();
30927 wxPyEndAllowThreads(__tstate
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30939 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30940 PyObject
*resultobj
= 0;
30941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30944 PyObject
*swig_obj
[1] ;
30946 if (!args
) SWIG_fail
;
30947 swig_obj
[0] = args
;
30948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30952 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 (arg1
)->ClearAll();
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= SWIG_Py_Void();
30966 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
= 0;
30968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30974 PyObject
* obj0
= 0 ;
30975 PyObject
* obj1
= 0 ;
30976 char * kwnames
[] = {
30977 (char *) "self",(char *) "item", NULL
30980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30982 if (!SWIG_IsOK(res1
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30985 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30987 if (!SWIG_IsOK(ecode2
)) {
30988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30990 arg2
= static_cast< long >(val2
);
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 (arg1
)->EditLabel(arg2
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_Py_Void();
31004 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
= 0;
31006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31013 PyObject
* obj0
= 0 ;
31014 PyObject
* obj1
= 0 ;
31015 char * kwnames
[] = {
31016 (char *) "self",(char *) "item", NULL
31019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31021 if (!SWIG_IsOK(res1
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31025 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31026 if (!SWIG_IsOK(ecode2
)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31029 arg2
= static_cast< long >(val2
);
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31045 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
= 0;
31047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31049 wxString
*arg3
= 0 ;
31050 bool arg4
= (bool) false ;
31056 bool temp3
= false ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 PyObject
* obj3
= 0 ;
31063 char * kwnames
[] = {
31064 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31069 if (!SWIG_IsOK(res1
)) {
31070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31072 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31073 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31074 if (!SWIG_IsOK(ecode2
)) {
31075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31077 arg2
= static_cast< long >(val2
);
31079 arg3
= wxString_in_helper(obj2
);
31080 if (arg3
== NULL
) SWIG_fail
;
31084 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31085 if (!SWIG_IsOK(ecode4
)) {
31086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31088 arg4
= static_cast< bool >(val4
);
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 resultobj
= SWIG_From_long(static_cast< long >(result
));
31111 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
= 0;
31113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31123 PyObject
* obj0
= 0 ;
31124 PyObject
* obj1
= 0 ;
31125 PyObject
* obj2
= 0 ;
31126 char * kwnames
[] = {
31127 (char *) "self",(char *) "start",(char *) "data", NULL
31130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31132 if (!SWIG_IsOK(res1
)) {
31133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31135 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31137 if (!SWIG_IsOK(ecode2
)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31140 arg2
= static_cast< long >(val2
);
31141 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31142 if (!SWIG_IsOK(ecode3
)) {
31143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31145 arg3
= static_cast< long >(val3
);
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= SWIG_From_long(static_cast< long >(result
));
31159 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
= 0;
31161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31163 wxPoint
*arg3
= 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 PyObject
* obj2
= 0 ;
31176 PyObject
* obj3
= 0 ;
31177 char * kwnames
[] = {
31178 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31183 if (!SWIG_IsOK(res1
)) {
31184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31187 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31188 if (!SWIG_IsOK(ecode2
)) {
31189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31191 arg2
= static_cast< long >(val2
);
31194 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31197 if (!SWIG_IsOK(ecode4
)) {
31198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31200 arg4
= static_cast< int >(val4
);
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_From_long(static_cast< long >(result
));
31214 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
= 0;
31216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31217 wxPoint
*arg2
= 0 ;
31224 int res3
= SWIG_TMPOBJ
;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 char * kwnames
[] = {
31228 (char *) "self",(char *) "point", NULL
31232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31237 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= SWIG_From_long(static_cast< long >(result
));
31249 if (SWIG_IsTmpObj(res3
)) {
31250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31261 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
= 0;
31263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31264 wxPoint
*arg2
= 0 ;
31266 long *arg4
= (long *) 0 ;
31272 int res3
= SWIG_TMPOBJ
;
31274 int res4
= SWIG_TMPOBJ
;
31275 PyObject
* obj0
= 0 ;
31276 PyObject
* obj1
= 0 ;
31277 char * kwnames
[] = {
31278 (char *) "self",(char *) "point", NULL
31283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31288 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31291 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_From_long(static_cast< long >(result
));
31300 if (SWIG_IsTmpObj(res3
)) {
31301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31306 if (SWIG_IsTmpObj(res4
)) {
31307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31309 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31318 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
= 0;
31320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31321 wxListItem
*arg2
= 0 ;
31327 PyObject
* obj0
= 0 ;
31328 PyObject
* obj1
= 0 ;
31329 char * kwnames
[] = {
31330 (char *) "self",(char *) "info", NULL
31333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31335 if (!SWIG_IsOK(res1
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31340 if (!SWIG_IsOK(res2
)) {
31341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31346 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (long)(arg1
)->InsertItem(*arg2
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= SWIG_From_long(static_cast< long >(result
));
31360 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31361 PyObject
*resultobj
= 0;
31362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31364 wxString
*arg3
= 0 ;
31365 int arg4
= (int) -1 ;
31371 bool temp3
= false ;
31374 PyObject
* obj0
= 0 ;
31375 PyObject
* obj1
= 0 ;
31376 PyObject
* obj2
= 0 ;
31377 PyObject
* obj3
= 0 ;
31378 char * kwnames
[] = {
31379 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31384 if (!SWIG_IsOK(res1
)) {
31385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31387 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31389 if (!SWIG_IsOK(ecode2
)) {
31390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31392 arg2
= static_cast< long >(val2
);
31394 arg3
= wxString_in_helper(obj2
);
31395 if (arg3
== NULL
) SWIG_fail
;
31399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31400 if (!SWIG_IsOK(ecode4
)) {
31401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31403 arg4
= static_cast< int >(val4
);
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= SWIG_From_long(static_cast< long >(result
));
31426 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
= 0;
31428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 PyObject
* obj2
= 0 ;
31441 char * kwnames
[] = {
31442 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31447 if (!SWIG_IsOK(res1
)) {
31448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31450 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31452 if (!SWIG_IsOK(ecode2
)) {
31453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31455 arg2
= static_cast< long >(val2
);
31456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31457 if (!SWIG_IsOK(ecode3
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31460 arg3
= static_cast< int >(val3
);
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= SWIG_From_long(static_cast< long >(result
));
31474 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
= 0;
31476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31478 wxString
*arg3
= 0 ;
31485 bool temp3
= false ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 PyObject
* obj2
= 0 ;
31491 PyObject
* obj3
= 0 ;
31492 char * kwnames
[] = {
31493 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31498 if (!SWIG_IsOK(res1
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31501 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31502 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31503 if (!SWIG_IsOK(ecode2
)) {
31504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31506 arg2
= static_cast< long >(val2
);
31508 arg3
= wxString_in_helper(obj2
);
31509 if (arg3
== NULL
) SWIG_fail
;
31512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31513 if (!SWIG_IsOK(ecode4
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31516 arg4
= static_cast< int >(val4
);
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= SWIG_From_long(static_cast< long >(result
));
31538 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
= 0;
31540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31542 wxListItem
*arg3
= 0 ;
31550 PyObject
* obj0
= 0 ;
31551 PyObject
* obj1
= 0 ;
31552 PyObject
* obj2
= 0 ;
31553 char * kwnames
[] = {
31554 (char *) "self",(char *) "col",(char *) "info", NULL
31557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31559 if (!SWIG_IsOK(res1
)) {
31560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31562 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31563 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31564 if (!SWIG_IsOK(ecode2
)) {
31565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31567 arg2
= static_cast< long >(val2
);
31568 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31569 if (!SWIG_IsOK(res3
)) {
31570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31575 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31579 wxPyEndAllowThreads(__tstate
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31582 resultobj
= SWIG_From_long(static_cast< long >(result
));
31589 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
= 0;
31591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31593 wxString
*arg3
= 0 ;
31594 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31595 int arg5
= (int) -1 ;
31601 bool temp3
= false ;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 PyObject
* obj2
= 0 ;
31609 PyObject
* obj3
= 0 ;
31610 PyObject
* obj4
= 0 ;
31611 char * kwnames
[] = {
31612 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31617 if (!SWIG_IsOK(res1
)) {
31618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31620 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31622 if (!SWIG_IsOK(ecode2
)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31625 arg2
= static_cast< long >(val2
);
31627 arg3
= wxString_in_helper(obj2
);
31628 if (arg3
== NULL
) SWIG_fail
;
31632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31633 if (!SWIG_IsOK(ecode4
)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31636 arg4
= static_cast< int >(val4
);
31639 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31640 if (!SWIG_IsOK(ecode5
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31643 arg5
= static_cast< int >(val5
);
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 resultobj
= SWIG_From_long(static_cast< long >(result
));
31666 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
= 0;
31668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 char * kwnames
[] = {
31677 (char *) "self",(char *) "count", NULL
31680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31682 if (!SWIG_IsOK(res1
)) {
31683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31685 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31687 if (!SWIG_IsOK(ecode2
)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31690 arg2
= static_cast< long >(val2
);
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 (arg1
)->SetItemCount(arg2
);
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= SWIG_Py_Void();
31704 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
= 0;
31706 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 PyObject
* obj2
= 0 ;
31719 char * kwnames
[] = {
31720 (char *) "self",(char *) "dx",(char *) "dy", NULL
31723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31730 if (!SWIG_IsOK(ecode2
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31733 arg2
= static_cast< int >(val2
);
31734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31735 if (!SWIG_IsOK(ecode3
)) {
31736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31738 arg3
= static_cast< int >(val3
);
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31754 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
= 0;
31756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31758 wxColour
*arg3
= 0 ;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 PyObject
* obj2
= 0 ;
31767 char * kwnames
[] = {
31768 (char *) "self",(char *) "item",(char *) "col", NULL
31771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31773 if (!SWIG_IsOK(res1
)) {
31774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31776 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31777 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31778 if (!SWIG_IsOK(ecode2
)) {
31779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31781 arg2
= static_cast< long >(val2
);
31784 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_Py_Void();
31799 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= 0;
31801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 char * kwnames
[] = {
31811 (char *) "self",(char *) "item", NULL
31814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31816 if (!SWIG_IsOK(res1
)) {
31817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31819 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31821 if (!SWIG_IsOK(ecode2
)) {
31822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31824 arg2
= static_cast< long >(val2
);
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31838 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
= 0;
31840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31842 wxColour
*arg3
= 0 ;
31848 PyObject
* obj0
= 0 ;
31849 PyObject
* obj1
= 0 ;
31850 PyObject
* obj2
= 0 ;
31851 char * kwnames
[] = {
31852 (char *) "self",(char *) "item",(char *) "col", NULL
31855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31857 if (!SWIG_IsOK(res1
)) {
31858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31862 if (!SWIG_IsOK(ecode2
)) {
31863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31865 arg2
= static_cast< long >(val2
);
31868 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= SWIG_Py_Void();
31883 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
= 0;
31885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31892 PyObject
* obj0
= 0 ;
31893 PyObject
* obj1
= 0 ;
31894 char * kwnames
[] = {
31895 (char *) "self",(char *) "item", NULL
31898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31900 if (!SWIG_IsOK(res1
)) {
31901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31903 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31904 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31905 if (!SWIG_IsOK(ecode2
)) {
31906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31908 arg2
= static_cast< long >(val2
);
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31915 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31922 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31923 PyObject
*resultobj
= 0;
31924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 char * kwnames
[] = {
31937 (char *) "self",(char *) "item",(char *) "f", NULL
31940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31942 if (!SWIG_IsOK(res1
)) {
31943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31945 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31946 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31947 if (!SWIG_IsOK(ecode2
)) {
31948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31950 arg2
= static_cast< long >(val2
);
31951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31952 if (!SWIG_IsOK(res3
)) {
31953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31958 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= SWIG_Py_Void();
31972 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
= 0;
31974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31981 PyObject
* obj0
= 0 ;
31982 PyObject
* obj1
= 0 ;
31983 char * kwnames
[] = {
31984 (char *) "self",(char *) "item", NULL
31987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31989 if (!SWIG_IsOK(res1
)) {
31990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31993 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31994 if (!SWIG_IsOK(ecode2
)) {
31995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31997 arg2
= static_cast< long >(val2
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32011 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32014 PyObject
*arg2
= (PyObject
*) 0 ;
32018 PyObject
* obj0
= 0 ;
32019 PyObject
* obj1
= 0 ;
32020 char * kwnames
[] = {
32021 (char *) "self",(char *) "func", NULL
32024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32026 if (!SWIG_IsOK(res1
)) {
32027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32029 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32046 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32047 PyObject
*resultobj
= 0;
32048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32049 wxWindow
*result
= 0 ;
32052 PyObject
*swig_obj
[1] ;
32054 if (!args
) SWIG_fail
;
32055 swig_obj
[0] = args
;
32056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32057 if (!SWIG_IsOK(res1
)) {
32058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32060 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= wxPyMake_wxObject(result
, 0);
32076 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
= 0;
32078 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32079 SwigValueWrapper
<wxVisualAttributes
> result
;
32082 PyObject
* obj0
= 0 ;
32083 char * kwnames
[] = {
32084 (char *) "variant", NULL
32087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32090 if (!SWIG_IsOK(ecode1
)) {
32091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32093 arg1
= static_cast< wxWindowVariant
>(val1
);
32096 if (!wxPyCheckForApp()) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32102 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32109 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32113 return SWIG_Py_Void();
32116 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32117 return SWIG_Python_InitShadowInstance(args
);
32120 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
= 0;
32122 wxWindow
*arg1
= (wxWindow
*) 0 ;
32123 int arg2
= (int) -1 ;
32124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32128 long arg5
= (long) wxLC_REPORT
;
32129 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32130 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32131 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32132 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32133 wxListView
*result
= 0 ;
32144 bool temp7
= false ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 PyObject
* obj2
= 0 ;
32148 PyObject
* obj3
= 0 ;
32149 PyObject
* obj4
= 0 ;
32150 PyObject
* obj5
= 0 ;
32151 PyObject
* obj6
= 0 ;
32152 char * kwnames
[] = {
32153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32158 if (!SWIG_IsOK(res1
)) {
32159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32164 if (!SWIG_IsOK(ecode2
)) {
32165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32167 arg2
= static_cast< int >(val2
);
32172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32178 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32182 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32183 if (!SWIG_IsOK(ecode5
)) {
32184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32186 arg5
= static_cast< long >(val5
);
32189 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32190 if (!SWIG_IsOK(res6
)) {
32191 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32196 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32200 arg7
= wxString_in_helper(obj6
);
32201 if (arg7
== NULL
) SWIG_fail
;
32206 if (!wxPyCheckForApp()) SWIG_fail
;
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32227 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32228 PyObject
*resultobj
= 0;
32229 wxListView
*result
= 0 ;
32231 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32233 if (!wxPyCheckForApp()) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 result
= (wxListView
*)new wxListView();
32236 wxPyEndAllowThreads(__tstate
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32246 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32247 PyObject
*resultobj
= 0;
32248 wxListView
*arg1
= (wxListView
*) 0 ;
32249 wxWindow
*arg2
= (wxWindow
*) 0 ;
32250 int arg3
= (int) -1 ;
32251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32255 long arg6
= (long) wxLC_REPORT
;
32256 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32257 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32258 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32273 bool temp8
= false ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 PyObject
* obj2
= 0 ;
32277 PyObject
* obj3
= 0 ;
32278 PyObject
* obj4
= 0 ;
32279 PyObject
* obj5
= 0 ;
32280 PyObject
* obj6
= 0 ;
32281 PyObject
* obj7
= 0 ;
32282 char * kwnames
[] = {
32283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32288 if (!SWIG_IsOK(res1
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32291 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32293 if (!SWIG_IsOK(res2
)) {
32294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32296 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32299 if (!SWIG_IsOK(ecode3
)) {
32300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32302 arg3
= static_cast< int >(val3
);
32307 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32313 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32317 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32318 if (!SWIG_IsOK(ecode6
)) {
32319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32321 arg6
= static_cast< long >(val6
);
32324 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32325 if (!SWIG_IsOK(res7
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32331 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32335 arg8
= wxString_in_helper(obj7
);
32336 if (arg8
== NULL
) SWIG_fail
;
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32363 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32364 PyObject
*resultobj
= 0;
32365 wxListView
*arg1
= (wxListView
*) 0 ;
32367 bool arg3
= (bool) true ;
32374 PyObject
* obj0
= 0 ;
32375 PyObject
* obj1
= 0 ;
32376 PyObject
* obj2
= 0 ;
32377 char * kwnames
[] = {
32378 (char *) "self",(char *) "n",(char *) "on", NULL
32381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32383 if (!SWIG_IsOK(res1
)) {
32384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32386 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32387 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32388 if (!SWIG_IsOK(ecode2
)) {
32389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32391 arg2
= static_cast< long >(val2
);
32393 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32394 if (!SWIG_IsOK(ecode3
)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32397 arg3
= static_cast< bool >(val3
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->Select(arg2
,arg3
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxListView
*arg1
= (wxListView
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 char * kwnames
[] = {
32423 (char *) "self",(char *) "index", NULL
32426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32428 if (!SWIG_IsOK(res1
)) {
32429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32431 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32432 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32433 if (!SWIG_IsOK(ecode2
)) {
32434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32436 arg2
= static_cast< long >(val2
);
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 (arg1
)->Focus(arg2
);
32440 wxPyEndAllowThreads(__tstate
);
32441 if (PyErr_Occurred()) SWIG_fail
;
32443 resultobj
= SWIG_Py_Void();
32450 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32451 PyObject
*resultobj
= 0;
32452 wxListView
*arg1
= (wxListView
*) 0 ;
32456 PyObject
*swig_obj
[1] ;
32458 if (!args
) SWIG_fail
;
32459 swig_obj
[0] = args
;
32460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32461 if (!SWIG_IsOK(res1
)) {
32462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32464 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32468 wxPyEndAllowThreads(__tstate
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= SWIG_From_long(static_cast< long >(result
));
32478 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32479 PyObject
*resultobj
= 0;
32480 wxListView
*arg1
= (wxListView
*) 0 ;
32487 PyObject
* obj0
= 0 ;
32488 PyObject
* obj1
= 0 ;
32489 char * kwnames
[] = {
32490 (char *) "self",(char *) "item", NULL
32493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32495 if (!SWIG_IsOK(res1
)) {
32496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32498 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32499 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32500 if (!SWIG_IsOK(ecode2
)) {
32501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32503 arg2
= static_cast< long >(val2
);
32505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32506 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32507 wxPyEndAllowThreads(__tstate
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32510 resultobj
= SWIG_From_long(static_cast< long >(result
));
32517 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32518 PyObject
*resultobj
= 0;
32519 wxListView
*arg1
= (wxListView
*) 0 ;
32523 PyObject
*swig_obj
[1] ;
32525 if (!args
) SWIG_fail
;
32526 swig_obj
[0] = args
;
32527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32528 if (!SWIG_IsOK(res1
)) {
32529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32531 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32538 resultobj
= SWIG_From_long(static_cast< long >(result
));
32545 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32546 PyObject
*resultobj
= 0;
32547 wxListView
*arg1
= (wxListView
*) 0 ;
32554 PyObject
* obj0
= 0 ;
32555 PyObject
* obj1
= 0 ;
32556 char * kwnames
[] = {
32557 (char *) "self",(char *) "index", NULL
32560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32562 if (!SWIG_IsOK(res1
)) {
32563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32565 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32566 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32567 if (!SWIG_IsOK(ecode2
)) {
32568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32570 arg2
= static_cast< long >(val2
);
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 result
= (bool)(arg1
)->IsSelected(arg2
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32586 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
= 0;
32588 wxListView
*arg1
= (wxListView
*) 0 ;
32597 PyObject
* obj0
= 0 ;
32598 PyObject
* obj1
= 0 ;
32599 PyObject
* obj2
= 0 ;
32600 char * kwnames
[] = {
32601 (char *) "self",(char *) "col",(char *) "image", NULL
32604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32606 if (!SWIG_IsOK(res1
)) {
32607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32609 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32611 if (!SWIG_IsOK(ecode2
)) {
32612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32614 arg2
= static_cast< int >(val2
);
32615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32616 if (!SWIG_IsOK(ecode3
)) {
32617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32619 arg3
= static_cast< int >(val3
);
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 (arg1
)->SetColumnImage(arg2
,arg3
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= SWIG_Py_Void();
32633 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxListView
*arg1
= (wxListView
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 char * kwnames
[] = {
32644 (char *) "self",(char *) "col", NULL
32647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32649 if (!SWIG_IsOK(res1
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32652 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32654 if (!SWIG_IsOK(ecode2
)) {
32655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32657 arg2
= static_cast< int >(val2
);
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 (arg1
)->ClearColumnImage(arg2
);
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= SWIG_Py_Void();
32671 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32674 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32675 return SWIG_Py_Void();
32678 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32679 return SWIG_Python_InitShadowInstance(args
);
32682 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32683 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32688 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32689 PyObject
*pyobj
= 0;
32693 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32695 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32702 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32703 PyObject
*resultobj
= 0;
32704 wxTreeItemId
*result
= 0 ;
32706 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 result
= (wxTreeItemId
*)new wxTreeItemId();
32710 wxPyEndAllowThreads(__tstate
);
32711 if (PyErr_Occurred()) SWIG_fail
;
32713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32720 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32721 PyObject
*resultobj
= 0;
32722 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32725 PyObject
*swig_obj
[1] ;
32727 if (!args
) SWIG_fail
;
32728 swig_obj
[0] = args
;
32729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32730 if (!SWIG_IsOK(res1
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32733 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32738 wxPyEndAllowThreads(__tstate
);
32739 if (PyErr_Occurred()) SWIG_fail
;
32741 resultobj
= SWIG_Py_Void();
32748 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32749 PyObject
*resultobj
= 0;
32750 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32754 PyObject
*swig_obj
[1] ;
32756 if (!args
) SWIG_fail
;
32757 swig_obj
[0] = args
;
32758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32759 if (!SWIG_IsOK(res1
)) {
32760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32762 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32778 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32779 PyObject
*resultobj
= 0;
32780 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32781 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32787 PyObject
* obj0
= 0 ;
32788 PyObject
* obj1
= 0 ;
32789 char * kwnames
[] = {
32790 (char *) "self",(char *) "other", NULL
32793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32798 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32800 if (!SWIG_IsOK(res2
)) {
32801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32819 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
= 0;
32821 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32822 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32828 PyObject
* obj0
= 0 ;
32829 PyObject
* obj1
= 0 ;
32830 char * kwnames
[] = {
32831 (char *) "self",(char *) "other", NULL
32834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32836 if (!SWIG_IsOK(res1
)) {
32837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32839 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32841 if (!SWIG_IsOK(res2
)) {
32842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32844 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32860 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32861 PyObject
*resultobj
= 0;
32862 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32863 void *arg2
= (void *) 0 ;
32867 PyObject
*swig_obj
[2] ;
32869 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32874 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32875 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32876 if (!SWIG_IsOK(res2
)) {
32877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32879 if (arg1
) (arg1
)->m_pItem
= arg2
;
32881 resultobj
= SWIG_Py_Void();
32888 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32889 PyObject
*resultobj
= 0;
32890 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32894 PyObject
*swig_obj
[1] ;
32896 if (!args
) SWIG_fail
;
32897 swig_obj
[0] = args
;
32898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32899 if (!SWIG_IsOK(res1
)) {
32900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32902 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32903 result
= (void *) ((arg1
)->m_pItem
);
32904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32911 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32914 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32915 return SWIG_Py_Void();
32918 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32919 return SWIG_Python_InitShadowInstance(args
);
32922 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
= 0;
32924 PyObject
*arg1
= (PyObject
*) NULL
;
32925 wxPyTreeItemData
*result
= 0 ;
32926 PyObject
* obj0
= 0 ;
32927 char * kwnames
[] = {
32928 (char *) "obj", NULL
32931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32937 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32948 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32949 PyObject
*resultobj
= 0;
32950 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32953 PyObject
*swig_obj
[1] ;
32955 if (!args
) SWIG_fail
;
32956 swig_obj
[0] = args
;
32957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32958 if (!SWIG_IsOK(res1
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32961 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32969 resultobj
= SWIG_Py_Void();
32976 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32977 PyObject
*resultobj
= 0;
32978 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32979 PyObject
*result
= 0 ;
32982 PyObject
*swig_obj
[1] ;
32984 if (!args
) SWIG_fail
;
32985 swig_obj
[0] = args
;
32986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32987 if (!SWIG_IsOK(res1
)) {
32988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32990 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 result
= (PyObject
*)(arg1
)->GetData();
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32997 resultobj
= result
;
33004 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
= 0;
33006 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33007 PyObject
*arg2
= (PyObject
*) 0 ;
33010 PyObject
* obj0
= 0 ;
33011 PyObject
* obj1
= 0 ;
33012 char * kwnames
[] = {
33013 (char *) "self",(char *) "obj", NULL
33016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33021 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 (arg1
)->SetData(arg2
);
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_Py_Void();
33036 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33037 PyObject
*resultobj
= 0;
33038 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33039 wxTreeItemId
*result
= 0 ;
33042 PyObject
*swig_obj
[1] ;
33044 if (!args
) SWIG_fail
;
33045 swig_obj
[0] = args
;
33046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33047 if (!SWIG_IsOK(res1
)) {
33048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33050 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33055 result
= (wxTreeItemId
*) &_result_ref
;
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33067 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33069 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33070 wxTreeItemId
*arg2
= 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "id", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33086 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33088 if (!SWIG_IsOK(res2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33098 wxPyEndAllowThreads(__tstate
);
33099 if (PyErr_Occurred()) SWIG_fail
;
33101 resultobj
= SWIG_Py_Void();
33108 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33109 PyObject
*resultobj
= 0;
33110 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33113 PyObject
*swig_obj
[1] ;
33115 if (!args
) SWIG_fail
;
33116 swig_obj
[0] = args
;
33117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33118 if (!SWIG_IsOK(res1
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33121 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 wxPyTreeItemData_Destroy(arg1
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_Py_Void();
33135 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33138 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33139 return SWIG_Py_Void();
33142 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33143 return SWIG_Python_InitShadowInstance(args
);
33146 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33149 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33150 if (!SWIG_IsOK(res
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33156 wxTreeItemId
* temp
;
33157 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33158 wxNullTreeItemId
= *temp
;
33159 if (SWIG_IsNewObj(res
)) delete temp
;
33168 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33169 PyObject
*pyobj
= 0;
33171 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33176 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33177 PyObject
*resultobj
= 0;
33178 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33179 int arg2
= (int) 0 ;
33180 wxTreeEvent
*result
= 0 ;
33186 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33188 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33189 if (!SWIG_IsOK(ecode1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33192 arg1
= static_cast< wxEventType
>(val1
);
33195 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33196 if (!SWIG_IsOK(ecode2
)) {
33197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33199 arg2
= static_cast< int >(val2
);
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33204 wxPyEndAllowThreads(__tstate
);
33205 if (PyErr_Occurred()) SWIG_fail
;
33207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33214 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33215 PyObject
*resultobj
= 0;
33217 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33218 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33219 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33220 wxTreeEvent
*result
= 0 ;
33228 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33229 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33230 if (!SWIG_IsOK(ecode1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33233 arg1
= static_cast< wxEventType
>(val1
);
33234 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33235 if (!SWIG_IsOK(res2
)) {
33236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33238 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33240 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33241 if (!SWIG_IsOK(res3
)) {
33242 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33247 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33252 wxPyEndAllowThreads(__tstate
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33262 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33266 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33268 if ((argc
>= 0) && (argc
<= 2)) {
33273 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33274 _v
= SWIG_CheckState(res
);
33277 if (!_v
) goto check_1
;
33279 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33283 if ((argc
>= 2) && (argc
<= 3)) {
33284 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33288 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33293 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33294 PyObject
*resultobj
= 0;
33295 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33296 wxTreeItemId result
;
33299 PyObject
*swig_obj
[1] ;
33301 if (!args
) SWIG_fail
;
33302 swig_obj
[0] = args
;
33303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33304 if (!SWIG_IsOK(res1
)) {
33305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33307 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33314 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33321 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33322 PyObject
*resultobj
= 0;
33323 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33324 wxTreeItemId
*arg2
= 0 ;
33329 PyObject
* obj0
= 0 ;
33330 PyObject
* obj1
= 0 ;
33331 char * kwnames
[] = {
33332 (char *) "self",(char *) "item", NULL
33335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33337 if (!SWIG_IsOK(res1
)) {
33338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33340 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33342 if (!SWIG_IsOK(res2
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33348 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33352 wxPyEndAllowThreads(__tstate
);
33353 if (PyErr_Occurred()) SWIG_fail
;
33355 resultobj
= SWIG_Py_Void();
33362 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33363 PyObject
*resultobj
= 0;
33364 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33365 wxTreeItemId result
;
33368 PyObject
*swig_obj
[1] ;
33370 if (!args
) SWIG_fail
;
33371 swig_obj
[0] = args
;
33372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33373 if (!SWIG_IsOK(res1
)) {
33374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33376 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33390 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
= 0;
33392 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33393 wxTreeItemId
*arg2
= 0 ;
33398 PyObject
* obj0
= 0 ;
33399 PyObject
* obj1
= 0 ;
33400 char * kwnames
[] = {
33401 (char *) "self",(char *) "item", NULL
33404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33406 if (!SWIG_IsOK(res1
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33409 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33411 if (!SWIG_IsOK(res2
)) {
33412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33417 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33420 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= SWIG_Py_Void();
33431 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33432 PyObject
*resultobj
= 0;
33433 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33437 PyObject
*swig_obj
[1] ;
33439 if (!args
) SWIG_fail
;
33440 swig_obj
[0] = args
;
33441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33445 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33448 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33449 wxPyEndAllowThreads(__tstate
);
33450 if (PyErr_Occurred()) SWIG_fail
;
33452 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33459 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
= 0;
33461 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33462 wxPoint
*arg2
= 0 ;
33466 PyObject
* obj0
= 0 ;
33467 PyObject
* obj1
= 0 ;
33468 char * kwnames
[] = {
33469 (char *) "self",(char *) "pt", NULL
33472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33474 if (!SWIG_IsOK(res1
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33477 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33480 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33484 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= SWIG_Py_Void();
33495 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33496 PyObject
*resultobj
= 0;
33497 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33498 wxKeyEvent
*result
= 0 ;
33501 PyObject
*swig_obj
[1] ;
33503 if (!args
) SWIG_fail
;
33504 swig_obj
[0] = args
;
33505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33506 if (!SWIG_IsOK(res1
)) {
33507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33509 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33514 result
= (wxKeyEvent
*) &_result_ref
;
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33526 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33527 PyObject
*resultobj
= 0;
33528 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33532 PyObject
*swig_obj
[1] ;
33534 if (!args
) SWIG_fail
;
33535 swig_obj
[0] = args
;
33536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33537 if (!SWIG_IsOK(res1
)) {
33538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33540 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 resultobj
= SWIG_From_int(static_cast< int >(result
));
33554 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33555 PyObject
*resultobj
= 0;
33556 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33557 wxKeyEvent
*arg2
= 0 ;
33562 PyObject
* obj0
= 0 ;
33563 PyObject
* obj1
= 0 ;
33564 char * kwnames
[] = {
33565 (char *) "self",(char *) "evt", NULL
33568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33570 if (!SWIG_IsOK(res1
)) {
33571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33573 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33575 if (!SWIG_IsOK(res2
)) {
33576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33581 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33588 resultobj
= SWIG_Py_Void();
33595 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33596 PyObject
*resultobj
= 0;
33597 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33598 wxString
*result
= 0 ;
33601 PyObject
*swig_obj
[1] ;
33603 if (!args
) SWIG_fail
;
33604 swig_obj
[0] = args
;
33605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33606 if (!SWIG_IsOK(res1
)) {
33607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33609 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33614 result
= (wxString
*) &_result_ref
;
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33621 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33623 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33632 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
= 0;
33634 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33635 wxString
*arg2
= 0 ;
33638 bool temp2
= false ;
33639 PyObject
* obj0
= 0 ;
33640 PyObject
* obj1
= 0 ;
33641 char * kwnames
[] = {
33642 (char *) "self",(char *) "label", NULL
33645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33650 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33652 arg2
= wxString_in_helper(obj1
);
33653 if (arg2
== NULL
) SWIG_fail
;
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33658 (arg1
)->SetLabel((wxString
const &)*arg2
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 resultobj
= SWIG_Py_Void();
33677 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33678 PyObject
*resultobj
= 0;
33679 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33683 PyObject
*swig_obj
[1] ;
33685 if (!args
) SWIG_fail
;
33686 swig_obj
[0] = args
;
33687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33688 if (!SWIG_IsOK(res1
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33691 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33707 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33708 PyObject
*resultobj
= 0;
33709 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33715 PyObject
* obj0
= 0 ;
33716 PyObject
* obj1
= 0 ;
33717 char * kwnames
[] = {
33718 (char *) "self",(char *) "editCancelled", NULL
33721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33726 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33728 if (!SWIG_IsOK(ecode2
)) {
33729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33731 arg2
= static_cast< bool >(val2
);
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 (arg1
)->SetEditCanceled(arg2
);
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_Py_Void();
33745 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
= 0;
33747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33748 wxString
*arg2
= 0 ;
33751 bool temp2
= false ;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char * kwnames
[] = {
33755 (char *) "self",(char *) "toolTip", NULL
33758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33760 if (!SWIG_IsOK(res1
)) {
33761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33763 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33765 arg2
= wxString_in_helper(obj1
);
33766 if (arg2
== NULL
) SWIG_fail
;
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33771 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= SWIG_Py_Void();
33790 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33791 PyObject
*resultobj
= 0;
33792 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33796 PyObject
*swig_obj
[1] ;
33798 if (!args
) SWIG_fail
;
33799 swig_obj
[0] = args
;
33800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33801 if (!SWIG_IsOK(res1
)) {
33802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33804 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (arg1
)->GetToolTip();
33808 wxPyEndAllowThreads(__tstate
);
33809 if (PyErr_Occurred()) SWIG_fail
;
33813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33824 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33827 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33828 return SWIG_Py_Void();
33831 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33832 return SWIG_Python_InitShadowInstance(args
);
33835 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33836 PyObject
*resultobj
= 0;
33837 wxWindow
*arg1
= (wxWindow
*) 0 ;
33838 int arg2
= (int) -1 ;
33839 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33840 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33841 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33842 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33843 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33844 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33845 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33846 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33848 wxPyTreeCtrl
*result
= 0 ;
33859 bool temp7
= false ;
33860 PyObject
* obj0
= 0 ;
33861 PyObject
* obj1
= 0 ;
33862 PyObject
* obj2
= 0 ;
33863 PyObject
* obj3
= 0 ;
33864 PyObject
* obj4
= 0 ;
33865 PyObject
* obj5
= 0 ;
33866 PyObject
* obj6
= 0 ;
33867 char * kwnames
[] = {
33868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33873 if (!SWIG_IsOK(res1
)) {
33874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33876 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33879 if (!SWIG_IsOK(ecode2
)) {
33880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33882 arg2
= static_cast< int >(val2
);
33887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33897 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33898 if (!SWIG_IsOK(ecode5
)) {
33899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33901 arg5
= static_cast< long >(val5
);
33904 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33905 if (!SWIG_IsOK(res6
)) {
33906 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33911 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33915 arg7
= wxString_in_helper(obj6
);
33916 if (arg7
== NULL
) SWIG_fail
;
33921 if (!wxPyCheckForApp()) SWIG_fail
;
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33923 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33924 wxPyEndAllowThreads(__tstate
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33942 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33943 PyObject
*resultobj
= 0;
33944 wxPyTreeCtrl
*result
= 0 ;
33946 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33948 if (!wxPyCheckForApp()) SWIG_fail
;
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33950 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33961 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
= 0;
33963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33964 wxWindow
*arg2
= (wxWindow
*) 0 ;
33965 int arg3
= (int) -1 ;
33966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33970 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33971 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33972 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33973 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33974 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33988 bool temp8
= false ;
33989 PyObject
* obj0
= 0 ;
33990 PyObject
* obj1
= 0 ;
33991 PyObject
* obj2
= 0 ;
33992 PyObject
* obj3
= 0 ;
33993 PyObject
* obj4
= 0 ;
33994 PyObject
* obj5
= 0 ;
33995 PyObject
* obj6
= 0 ;
33996 PyObject
* obj7
= 0 ;
33997 char * kwnames
[] = {
33998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34003 if (!SWIG_IsOK(res1
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34008 if (!SWIG_IsOK(res2
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34011 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34014 if (!SWIG_IsOK(ecode3
)) {
34015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34017 arg3
= static_cast< int >(val3
);
34022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34032 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34033 if (!SWIG_IsOK(ecode6
)) {
34034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34036 arg6
= static_cast< long >(val6
);
34039 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34040 if (!SWIG_IsOK(res7
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34046 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34050 arg8
= wxString_in_helper(obj7
);
34051 if (arg8
== NULL
) SWIG_fail
;
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34078 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
= 0;
34080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34081 PyObject
*arg2
= (PyObject
*) 0 ;
34082 PyObject
*arg3
= (PyObject
*) 0 ;
34085 PyObject
* obj0
= 0 ;
34086 PyObject
* obj1
= 0 ;
34087 PyObject
* obj2
= 0 ;
34088 char * kwnames
[] = {
34089 (char *) "self",(char *) "self",(char *) "_class", NULL
34092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34094 if (!SWIG_IsOK(res1
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34097 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34103 wxPyEndAllowThreads(__tstate
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34106 resultobj
= SWIG_Py_Void();
34113 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34114 PyObject
*resultobj
= 0;
34115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34116 unsigned int result
;
34119 PyObject
*swig_obj
[1] ;
34121 if (!args
) SWIG_fail
;
34122 swig_obj
[0] = args
;
34123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34124 if (!SWIG_IsOK(res1
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34127 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34131 wxPyEndAllowThreads(__tstate
);
34132 if (PyErr_Occurred()) SWIG_fail
;
34134 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34141 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34142 PyObject
*resultobj
= 0;
34143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34144 unsigned int result
;
34147 PyObject
*swig_obj
[1] ;
34149 if (!args
) SWIG_fail
;
34150 swig_obj
[0] = args
;
34151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34152 if (!SWIG_IsOK(res1
)) {
34153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34155 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34162 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34169 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
= 0;
34171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34172 unsigned int arg2
;
34175 unsigned int val2
;
34177 PyObject
* obj0
= 0 ;
34178 PyObject
* obj1
= 0 ;
34179 char * kwnames
[] = {
34180 (char *) "self",(char *) "indent", NULL
34183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34185 if (!SWIG_IsOK(res1
)) {
34186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34188 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34189 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34190 if (!SWIG_IsOK(ecode2
)) {
34191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34193 arg2
= static_cast< unsigned int >(val2
);
34195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34196 (arg1
)->SetIndent(arg2
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= SWIG_Py_Void();
34207 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34208 PyObject
*resultobj
= 0;
34209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34210 unsigned int result
;
34213 PyObject
*swig_obj
[1] ;
34215 if (!args
) SWIG_fail
;
34216 swig_obj
[0] = args
;
34217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34218 if (!SWIG_IsOK(res1
)) {
34219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34221 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34235 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
= 0;
34237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34238 unsigned int arg2
;
34241 unsigned int val2
;
34243 PyObject
* obj0
= 0 ;
34244 PyObject
* obj1
= 0 ;
34245 char * kwnames
[] = {
34246 (char *) "self",(char *) "spacing", NULL
34249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34254 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34255 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34256 if (!SWIG_IsOK(ecode2
)) {
34257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34259 arg2
= static_cast< unsigned int >(val2
);
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 (arg1
)->SetSpacing(arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 resultobj
= SWIG_Py_Void();
34273 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34274 PyObject
*resultobj
= 0;
34275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34276 wxImageList
*result
= 0 ;
34279 PyObject
*swig_obj
[1] ;
34281 if (!args
) SWIG_fail
;
34282 swig_obj
[0] = args
;
34283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34284 if (!SWIG_IsOK(res1
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34287 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34290 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34303 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34304 PyObject
*resultobj
= 0;
34305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34306 wxImageList
*result
= 0 ;
34309 PyObject
*swig_obj
[1] ;
34311 if (!args
) SWIG_fail
;
34312 swig_obj
[0] = args
;
34313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34325 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34333 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34334 PyObject
*resultobj
= 0;
34335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34336 wxImageList
*arg2
= (wxImageList
*) 0 ;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 char * kwnames
[] = {
34344 (char *) "self",(char *) "imageList", NULL
34347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34349 if (!SWIG_IsOK(res1
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34354 if (!SWIG_IsOK(res2
)) {
34355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34357 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 (arg1
)->SetImageList(arg2
);
34361 wxPyEndAllowThreads(__tstate
);
34362 if (PyErr_Occurred()) SWIG_fail
;
34364 resultobj
= SWIG_Py_Void();
34371 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
= 0;
34373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34374 wxImageList
*arg2
= (wxImageList
*) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 PyObject
* obj1
= 0 ;
34381 char * kwnames
[] = {
34382 (char *) "self",(char *) "imageList", NULL
34385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34392 if (!SWIG_IsOK(res2
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34395 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34398 (arg1
)->SetStateImageList(arg2
);
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34402 resultobj
= SWIG_Py_Void();
34409 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
= 0;
34411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34412 wxImageList
*arg2
= (wxImageList
*) 0 ;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 char * kwnames
[] = {
34419 (char *) "self",(char *) "imageList", NULL
34422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34424 if (!SWIG_IsOK(res1
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34428 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34429 if (!SWIG_IsOK(res2
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 (arg1
)->AssignImageList(arg2
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_Py_Void();
34445 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
= 0;
34447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34448 wxImageList
*arg2
= (wxImageList
*) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj1
= 0 ;
34454 char * kwnames
[] = {
34455 (char *) "self",(char *) "imageList", NULL
34458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34460 if (!SWIG_IsOK(res1
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34464 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34465 if (!SWIG_IsOK(res2
)) {
34466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 (arg1
)->AssignStateImageList(arg2
);
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_Py_Void();
34481 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
= 0;
34483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34484 wxTreeItemId
*arg2
= 0 ;
34490 PyObject
* obj0
= 0 ;
34491 PyObject
* obj1
= 0 ;
34492 char * kwnames
[] = {
34493 (char *) "self",(char *) "item", NULL
34496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34498 if (!SWIG_IsOK(res1
)) {
34499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34501 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34503 if (!SWIG_IsOK(res2
)) {
34504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34509 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34529 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
= 0;
34531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34532 wxTreeItemId
*arg2
= 0 ;
34533 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34541 PyObject
* obj0
= 0 ;
34542 PyObject
* obj1
= 0 ;
34543 PyObject
* obj2
= 0 ;
34544 char * kwnames
[] = {
34545 (char *) "self",(char *) "item",(char *) "which", NULL
34548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34550 if (!SWIG_IsOK(res1
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34555 if (!SWIG_IsOK(res2
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34561 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34564 if (!SWIG_IsOK(ecode3
)) {
34565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34567 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34572 wxPyEndAllowThreads(__tstate
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 resultobj
= SWIG_From_int(static_cast< int >(result
));
34582 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
= 0;
34584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34585 wxTreeItemId
*arg2
= 0 ;
34586 wxPyTreeItemData
*result
= 0 ;
34591 PyObject
* obj0
= 0 ;
34592 PyObject
* obj1
= 0 ;
34593 char * kwnames
[] = {
34594 (char *) "self",(char *) "item", NULL
34597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34599 if (!SWIG_IsOK(res1
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34604 if (!SWIG_IsOK(res2
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34610 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34624 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34625 PyObject
*resultobj
= 0;
34626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34627 wxTreeItemId
*arg2
= 0 ;
34628 PyObject
*result
= 0 ;
34633 PyObject
* obj0
= 0 ;
34634 PyObject
* obj1
= 0 ;
34635 char * kwnames
[] = {
34636 (char *) "self",(char *) "item", NULL
34639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34641 if (!SWIG_IsOK(res1
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34644 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34646 if (!SWIG_IsOK(res2
)) {
34647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34652 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= result
;
34666 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
= 0;
34668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34669 wxTreeItemId
*arg2
= 0 ;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 char * kwnames
[] = {
34678 (char *) "self",(char *) "item", NULL
34681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34683 if (!SWIG_IsOK(res1
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34686 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34688 if (!SWIG_IsOK(res2
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34694 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34708 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34709 PyObject
*resultobj
= 0;
34710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34711 wxTreeItemId
*arg2
= 0 ;
34717 PyObject
* obj0
= 0 ;
34718 PyObject
* obj1
= 0 ;
34719 char * kwnames
[] = {
34720 (char *) "self",(char *) "item", NULL
34723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34725 if (!SWIG_IsOK(res1
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34728 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34730 if (!SWIG_IsOK(res2
)) {
34731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34736 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34750 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
= 0;
34752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34753 wxTreeItemId
*arg2
= 0 ;
34759 PyObject
* obj0
= 0 ;
34760 PyObject
* obj1
= 0 ;
34761 char * kwnames
[] = {
34762 (char *) "self",(char *) "item", NULL
34765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34767 if (!SWIG_IsOK(res1
)) {
34768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34772 if (!SWIG_IsOK(res2
)) {
34773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34778 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34785 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34792 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
= 0;
34794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34795 wxTreeItemId
*arg2
= 0 ;
34796 wxString
*arg3
= 0 ;
34801 bool temp3
= false ;
34802 PyObject
* obj0
= 0 ;
34803 PyObject
* obj1
= 0 ;
34804 PyObject
* obj2
= 0 ;
34805 char * kwnames
[] = {
34806 (char *) "self",(char *) "item",(char *) "text", NULL
34809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34811 if (!SWIG_IsOK(res1
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34816 if (!SWIG_IsOK(res2
)) {
34817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34824 arg3
= wxString_in_helper(obj2
);
34825 if (arg3
== NULL
) SWIG_fail
;
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= SWIG_Py_Void();
34849 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
= 0;
34851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34852 wxTreeItemId
*arg2
= 0 ;
34854 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 PyObject
* obj2
= 0 ;
34866 PyObject
* obj3
= 0 ;
34867 char * kwnames
[] = {
34868 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34873 if (!SWIG_IsOK(res1
)) {
34874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34878 if (!SWIG_IsOK(res2
)) {
34879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34884 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34886 if (!SWIG_IsOK(ecode3
)) {
34887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34889 arg3
= static_cast< int >(val3
);
34891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34892 if (!SWIG_IsOK(ecode4
)) {
34893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34895 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= SWIG_Py_Void();
34910 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
= 0;
34912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34913 wxTreeItemId
*arg2
= 0 ;
34914 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34920 PyObject
* obj0
= 0 ;
34921 PyObject
* obj1
= 0 ;
34922 PyObject
* obj2
= 0 ;
34923 char * kwnames
[] = {
34924 (char *) "self",(char *) "item",(char *) "data", NULL
34927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34929 if (!SWIG_IsOK(res1
)) {
34930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34932 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34934 if (!SWIG_IsOK(res2
)) {
34935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34940 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34941 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34942 if (!SWIG_IsOK(res3
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34951 resultobj
= SWIG_Py_Void();
34958 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34959 PyObject
*resultobj
= 0;
34960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34961 wxTreeItemId
*arg2
= 0 ;
34962 PyObject
*arg3
= (PyObject
*) 0 ;
34967 PyObject
* obj0
= 0 ;
34968 PyObject
* obj1
= 0 ;
34969 PyObject
* obj2
= 0 ;
34970 char * kwnames
[] = {
34971 (char *) "self",(char *) "item",(char *) "obj", NULL
34974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34976 if (!SWIG_IsOK(res1
)) {
34977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34981 if (!SWIG_IsOK(res2
)) {
34982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34987 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= SWIG_Py_Void();
35002 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
= 0;
35004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35005 wxTreeItemId
*arg2
= 0 ;
35006 bool arg3
= (bool) true ;
35013 PyObject
* obj0
= 0 ;
35014 PyObject
* obj1
= 0 ;
35015 PyObject
* obj2
= 0 ;
35016 char * kwnames
[] = {
35017 (char *) "self",(char *) "item",(char *) "has", NULL
35020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35025 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35027 if (!SWIG_IsOK(res2
)) {
35028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35033 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35036 if (!SWIG_IsOK(ecode3
)) {
35037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35039 arg3
= static_cast< bool >(val3
);
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_Py_Void();
35054 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
= 0;
35056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35057 wxTreeItemId
*arg2
= 0 ;
35058 bool arg3
= (bool) true ;
35065 PyObject
* obj0
= 0 ;
35066 PyObject
* obj1
= 0 ;
35067 PyObject
* obj2
= 0 ;
35068 char * kwnames
[] = {
35069 (char *) "self",(char *) "item",(char *) "bold", NULL
35072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35074 if (!SWIG_IsOK(res1
)) {
35075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35077 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35079 if (!SWIG_IsOK(res2
)) {
35080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35087 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35088 if (!SWIG_IsOK(ecode3
)) {
35089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35091 arg3
= static_cast< bool >(val3
);
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35099 resultobj
= SWIG_Py_Void();
35106 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35107 PyObject
*resultobj
= 0;
35108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35109 wxTreeItemId
*arg2
= 0 ;
35110 bool arg3
= (bool) true ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 PyObject
* obj2
= 0 ;
35120 char * kwnames
[] = {
35121 (char *) "self",(char *) "item",(char *) "highlight", NULL
35124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35126 if (!SWIG_IsOK(res1
)) {
35127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35129 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35131 if (!SWIG_IsOK(res2
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35137 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35139 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35140 if (!SWIG_IsOK(ecode3
)) {
35141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35143 arg3
= static_cast< bool >(val3
);
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35148 wxPyEndAllowThreads(__tstate
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35151 resultobj
= SWIG_Py_Void();
35158 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
= 0;
35160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35161 wxTreeItemId
*arg2
= 0 ;
35162 wxColour
*arg3
= 0 ;
35168 PyObject
* obj0
= 0 ;
35169 PyObject
* obj1
= 0 ;
35170 PyObject
* obj2
= 0 ;
35171 char * kwnames
[] = {
35172 (char *) "self",(char *) "item",(char *) "col", NULL
35175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35177 if (!SWIG_IsOK(res1
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35180 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35182 if (!SWIG_IsOK(res2
)) {
35183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35188 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35191 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35195 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35196 wxPyEndAllowThreads(__tstate
);
35197 if (PyErr_Occurred()) SWIG_fail
;
35199 resultobj
= SWIG_Py_Void();
35206 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35207 PyObject
*resultobj
= 0;
35208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35209 wxTreeItemId
*arg2
= 0 ;
35210 wxColour
*arg3
= 0 ;
35216 PyObject
* obj0
= 0 ;
35217 PyObject
* obj1
= 0 ;
35218 PyObject
* obj2
= 0 ;
35219 char * kwnames
[] = {
35220 (char *) "self",(char *) "item",(char *) "col", NULL
35223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35225 if (!SWIG_IsOK(res1
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35228 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35230 if (!SWIG_IsOK(res2
)) {
35231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35236 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35239 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35244 wxPyEndAllowThreads(__tstate
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35247 resultobj
= SWIG_Py_Void();
35254 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35255 PyObject
*resultobj
= 0;
35256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35257 wxTreeItemId
*arg2
= 0 ;
35265 PyObject
* obj0
= 0 ;
35266 PyObject
* obj1
= 0 ;
35267 PyObject
* obj2
= 0 ;
35268 char * kwnames
[] = {
35269 (char *) "self",(char *) "item",(char *) "font", NULL
35272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35274 if (!SWIG_IsOK(res1
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35277 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35279 if (!SWIG_IsOK(res2
)) {
35280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35285 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35287 if (!SWIG_IsOK(res3
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35293 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 resultobj
= SWIG_Py_Void();
35307 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
= 0;
35309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35310 wxTreeItemId
*arg2
= 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char * kwnames
[] = {
35319 (char *) "self",(char *) "item", NULL
35322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35324 if (!SWIG_IsOK(res1
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35327 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35329 if (!SWIG_IsOK(res2
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35335 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35351 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= 0;
35353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35354 wxTreeItemId
*arg2
= 0 ;
35360 PyObject
* obj0
= 0 ;
35361 PyObject
* obj1
= 0 ;
35362 char * kwnames
[] = {
35363 (char *) "self",(char *) "item", NULL
35366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35373 if (!SWIG_IsOK(res2
)) {
35374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35379 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35395 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
= 0;
35397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35398 wxTreeItemId
*arg2
= 0 ;
35404 PyObject
* obj0
= 0 ;
35405 PyObject
* obj1
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "item", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35417 if (!SWIG_IsOK(res2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35439 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35440 PyObject
*resultobj
= 0;
35441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35442 wxTreeItemId
*arg2
= 0 ;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 char * kwnames
[] = {
35451 (char *) "self",(char *) "item", NULL
35454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35456 if (!SWIG_IsOK(res1
)) {
35457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35459 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35461 if (!SWIG_IsOK(res2
)) {
35462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35467 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35470 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35483 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
= 0;
35485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35486 wxTreeItemId
*arg2
= 0 ;
35492 PyObject
* obj0
= 0 ;
35493 PyObject
* obj1
= 0 ;
35494 char * kwnames
[] = {
35495 (char *) "self",(char *) "item", NULL
35498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35500 if (!SWIG_IsOK(res1
)) {
35501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35505 if (!SWIG_IsOK(res2
)) {
35506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35511 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35514 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35515 wxPyEndAllowThreads(__tstate
);
35516 if (PyErr_Occurred()) SWIG_fail
;
35519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35527 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
= 0;
35529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35530 wxTreeItemId
*arg2
= 0 ;
35531 bool arg3
= (bool) true ;
35539 PyObject
* obj0
= 0 ;
35540 PyObject
* obj1
= 0 ;
35541 PyObject
* obj2
= 0 ;
35542 char * kwnames
[] = {
35543 (char *) "self",(char *) "item",(char *) "recursively", NULL
35546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35548 if (!SWIG_IsOK(res1
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35551 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35553 if (!SWIG_IsOK(res2
)) {
35554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35561 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35562 if (!SWIG_IsOK(ecode3
)) {
35563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35565 arg3
= static_cast< bool >(val3
);
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35570 wxPyEndAllowThreads(__tstate
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35580 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35581 PyObject
*resultobj
= 0;
35582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35583 wxTreeItemId result
;
35586 PyObject
*swig_obj
[1] ;
35588 if (!args
) SWIG_fail
;
35589 swig_obj
[0] = args
;
35590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35594 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35597 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35608 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35609 PyObject
*resultobj
= 0;
35610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35611 wxTreeItemId result
;
35614 PyObject
*swig_obj
[1] ;
35616 if (!args
) SWIG_fail
;
35617 swig_obj
[0] = args
;
35618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35625 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35626 wxPyEndAllowThreads(__tstate
);
35627 if (PyErr_Occurred()) SWIG_fail
;
35629 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35636 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35637 PyObject
*resultobj
= 0;
35638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35639 PyObject
*result
= 0 ;
35642 PyObject
*swig_obj
[1] ;
35644 if (!args
) SWIG_fail
;
35645 swig_obj
[0] = args
;
35646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35647 if (!SWIG_IsOK(res1
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35650 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35657 resultobj
= result
;
35664 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
= 0;
35666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35667 wxTreeItemId
*arg2
= 0 ;
35668 wxTreeItemId result
;
35673 PyObject
* obj0
= 0 ;
35674 PyObject
* obj1
= 0 ;
35675 char * kwnames
[] = {
35676 (char *) "self",(char *) "item", NULL
35679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35681 if (!SWIG_IsOK(res1
)) {
35682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35684 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35686 if (!SWIG_IsOK(res2
)) {
35687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35692 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35696 wxPyEndAllowThreads(__tstate
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35699 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35706 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35707 PyObject
*resultobj
= 0;
35708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35709 wxTreeItemId
*arg2
= 0 ;
35710 PyObject
*result
= 0 ;
35715 PyObject
* obj0
= 0 ;
35716 PyObject
* obj1
= 0 ;
35717 char * kwnames
[] = {
35718 (char *) "self",(char *) "item", NULL
35721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35723 if (!SWIG_IsOK(res1
)) {
35724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35728 if (!SWIG_IsOK(res2
)) {
35729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= result
;
35748 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35751 wxTreeItemId
*arg2
= 0 ;
35752 void *arg3
= (void *) 0 ;
35753 PyObject
*result
= 0 ;
35759 PyObject
* obj0
= 0 ;
35760 PyObject
* obj1
= 0 ;
35761 PyObject
* obj2
= 0 ;
35762 char * kwnames
[] = {
35763 (char *) "self",(char *) "item",(char *) "cookie", NULL
35766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35768 if (!SWIG_IsOK(res1
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35771 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35773 if (!SWIG_IsOK(res2
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35779 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35780 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35781 if (!SWIG_IsOK(res3
)) {
35782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35786 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35787 wxPyEndAllowThreads(__tstate
);
35788 if (PyErr_Occurred()) SWIG_fail
;
35790 resultobj
= result
;
35797 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35798 PyObject
*resultobj
= 0;
35799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35800 wxTreeItemId
*arg2
= 0 ;
35801 wxTreeItemId result
;
35806 PyObject
* obj0
= 0 ;
35807 PyObject
* obj1
= 0 ;
35808 char * kwnames
[] = {
35809 (char *) "self",(char *) "item", NULL
35812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35814 if (!SWIG_IsOK(res1
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35817 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35819 if (!SWIG_IsOK(res2
)) {
35820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35825 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35839 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35840 PyObject
*resultobj
= 0;
35841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35842 wxTreeItemId
*arg2
= 0 ;
35843 wxTreeItemId result
;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 char * kwnames
[] = {
35851 (char *) "self",(char *) "item", NULL
35854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35856 if (!SWIG_IsOK(res1
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35859 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35861 if (!SWIG_IsOK(res2
)) {
35862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35867 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35881 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35882 PyObject
*resultobj
= 0;
35883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35884 wxTreeItemId
*arg2
= 0 ;
35885 wxTreeItemId result
;
35890 PyObject
* obj0
= 0 ;
35891 PyObject
* obj1
= 0 ;
35892 char * kwnames
[] = {
35893 (char *) "self",(char *) "item", NULL
35896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35898 if (!SWIG_IsOK(res1
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35901 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35903 if (!SWIG_IsOK(res2
)) {
35904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35909 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35912 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35923 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35924 PyObject
*resultobj
= 0;
35925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35926 wxTreeItemId result
;
35929 PyObject
*swig_obj
[1] ;
35931 if (!args
) SWIG_fail
;
35932 swig_obj
[0] = args
;
35933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35934 if (!SWIG_IsOK(res1
)) {
35935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35937 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35951 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35952 PyObject
*resultobj
= 0;
35953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35954 wxTreeItemId
*arg2
= 0 ;
35955 wxTreeItemId result
;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 char * kwnames
[] = {
35963 (char *) "self",(char *) "item", NULL
35966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35968 if (!SWIG_IsOK(res1
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35973 if (!SWIG_IsOK(res2
)) {
35974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
35997 wxTreeItemId result
;
36002 PyObject
* obj0
= 0 ;
36003 PyObject
* obj1
= 0 ;
36004 char * kwnames
[] = {
36005 (char *) "self",(char *) "item", NULL
36008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36010 if (!SWIG_IsOK(res1
)) {
36011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36015 if (!SWIG_IsOK(res2
)) {
36016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36035 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
= 0;
36037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36038 wxString
*arg2
= 0 ;
36039 int arg3
= (int) -1 ;
36040 int arg4
= (int) -1 ;
36041 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36042 wxTreeItemId result
;
36045 bool temp2
= false ;
36051 PyObject
* obj0
= 0 ;
36052 PyObject
* obj1
= 0 ;
36053 PyObject
* obj2
= 0 ;
36054 PyObject
* obj3
= 0 ;
36055 PyObject
* obj4
= 0 ;
36056 char * kwnames
[] = {
36057 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36062 if (!SWIG_IsOK(res1
)) {
36063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36065 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36067 arg2
= wxString_in_helper(obj1
);
36068 if (arg2
== NULL
) SWIG_fail
;
36072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36073 if (!SWIG_IsOK(ecode3
)) {
36074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36076 arg3
= static_cast< int >(val3
);
36079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36080 if (!SWIG_IsOK(ecode4
)) {
36081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36083 arg4
= static_cast< int >(val4
);
36086 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36087 if (!SWIG_IsOK(res5
)) {
36088 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36112 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
= 0;
36114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36115 wxTreeItemId
*arg2
= 0 ;
36116 wxString
*arg3
= 0 ;
36117 int arg4
= (int) -1 ;
36118 int arg5
= (int) -1 ;
36119 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36120 wxTreeItemId result
;
36125 bool temp3
= false ;
36131 PyObject
* obj0
= 0 ;
36132 PyObject
* obj1
= 0 ;
36133 PyObject
* obj2
= 0 ;
36134 PyObject
* obj3
= 0 ;
36135 PyObject
* obj4
= 0 ;
36136 PyObject
* obj5
= 0 ;
36137 char * kwnames
[] = {
36138 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36143 if (!SWIG_IsOK(res1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36146 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36148 if (!SWIG_IsOK(res2
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36154 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36156 arg3
= wxString_in_helper(obj2
);
36157 if (arg3
== NULL
) SWIG_fail
;
36161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36162 if (!SWIG_IsOK(ecode4
)) {
36163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36165 arg4
= static_cast< int >(val4
);
36168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36169 if (!SWIG_IsOK(ecode5
)) {
36170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36172 arg5
= static_cast< int >(val5
);
36175 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36176 if (!SWIG_IsOK(res6
)) {
36177 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36201 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36202 PyObject
*resultobj
= 0;
36203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36204 wxTreeItemId
*arg2
= 0 ;
36205 wxTreeItemId
*arg3
= 0 ;
36206 wxString
*arg4
= 0 ;
36207 int arg5
= (int) -1 ;
36208 int arg6
= (int) -1 ;
36209 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36210 wxTreeItemId result
;
36217 bool temp4
= false ;
36223 PyObject
* obj0
= 0 ;
36224 PyObject
* obj1
= 0 ;
36225 PyObject
* obj2
= 0 ;
36226 PyObject
* obj3
= 0 ;
36227 PyObject
* obj4
= 0 ;
36228 PyObject
* obj5
= 0 ;
36229 PyObject
* obj6
= 0 ;
36230 char * kwnames
[] = {
36231 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36236 if (!SWIG_IsOK(res1
)) {
36237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36241 if (!SWIG_IsOK(res2
)) {
36242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36247 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36248 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36249 if (!SWIG_IsOK(res3
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36255 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36257 arg4
= wxString_in_helper(obj3
);
36258 if (arg4
== NULL
) SWIG_fail
;
36262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36263 if (!SWIG_IsOK(ecode5
)) {
36264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36266 arg5
= static_cast< int >(val5
);
36269 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36270 if (!SWIG_IsOK(ecode6
)) {
36271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36273 arg6
= static_cast< int >(val6
);
36276 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36277 if (!SWIG_IsOK(res7
)) {
36278 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36287 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36302 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
= 0;
36304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36305 wxTreeItemId
*arg2
= 0 ;
36307 wxString
*arg4
= 0 ;
36308 int arg5
= (int) -1 ;
36309 int arg6
= (int) -1 ;
36310 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36311 wxTreeItemId result
;
36318 bool temp4
= false ;
36324 PyObject
* obj0
= 0 ;
36325 PyObject
* obj1
= 0 ;
36326 PyObject
* obj2
= 0 ;
36327 PyObject
* obj3
= 0 ;
36328 PyObject
* obj4
= 0 ;
36329 PyObject
* obj5
= 0 ;
36330 PyObject
* obj6
= 0 ;
36331 char * kwnames
[] = {
36332 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36337 if (!SWIG_IsOK(res1
)) {
36338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36342 if (!SWIG_IsOK(res2
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36348 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36349 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36350 if (!SWIG_IsOK(ecode3
)) {
36351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36353 arg3
= static_cast< size_t >(val3
);
36355 arg4
= wxString_in_helper(obj3
);
36356 if (arg4
== NULL
) SWIG_fail
;
36360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36361 if (!SWIG_IsOK(ecode5
)) {
36362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36364 arg5
= static_cast< int >(val5
);
36367 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36368 if (!SWIG_IsOK(ecode6
)) {
36369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36371 arg6
= static_cast< int >(val6
);
36374 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36375 if (!SWIG_IsOK(res7
)) {
36376 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36381 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36400 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36401 PyObject
*resultobj
= 0;
36402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36403 wxTreeItemId
*arg2
= 0 ;
36404 wxString
*arg3
= 0 ;
36405 int arg4
= (int) -1 ;
36406 int arg5
= (int) -1 ;
36407 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36408 wxTreeItemId result
;
36413 bool temp3
= false ;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 PyObject
* obj2
= 0 ;
36422 PyObject
* obj3
= 0 ;
36423 PyObject
* obj4
= 0 ;
36424 PyObject
* obj5
= 0 ;
36425 char * kwnames
[] = {
36426 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36431 if (!SWIG_IsOK(res1
)) {
36432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36434 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36436 if (!SWIG_IsOK(res2
)) {
36437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36442 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36444 arg3
= wxString_in_helper(obj2
);
36445 if (arg3
== NULL
) SWIG_fail
;
36449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36450 if (!SWIG_IsOK(ecode4
)) {
36451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36453 arg4
= static_cast< int >(val4
);
36456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36457 if (!SWIG_IsOK(ecode5
)) {
36458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36460 arg5
= static_cast< int >(val5
);
36463 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36464 if (!SWIG_IsOK(res6
)) {
36465 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36471 wxPyEndAllowThreads(__tstate
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36474 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36489 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36490 PyObject
*resultobj
= 0;
36491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36492 wxTreeItemId
*arg2
= 0 ;
36497 PyObject
* obj0
= 0 ;
36498 PyObject
* obj1
= 0 ;
36499 char * kwnames
[] = {
36500 (char *) "self",(char *) "item", NULL
36503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36505 if (!SWIG_IsOK(res1
)) {
36506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36508 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36510 if (!SWIG_IsOK(res2
)) {
36511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36516 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36519 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36520 wxPyEndAllowThreads(__tstate
);
36521 if (PyErr_Occurred()) SWIG_fail
;
36523 resultobj
= SWIG_Py_Void();
36530 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36531 PyObject
*resultobj
= 0;
36532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36533 wxTreeItemId
*arg2
= 0 ;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 char * kwnames
[] = {
36541 (char *) "self",(char *) "item", NULL
36544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36546 if (!SWIG_IsOK(res1
)) {
36547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36551 if (!SWIG_IsOK(res2
)) {
36552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36557 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_Py_Void();
36571 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36572 PyObject
*resultobj
= 0;
36573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36576 PyObject
*swig_obj
[1] ;
36578 if (!args
) SWIG_fail
;
36579 swig_obj
[0] = args
;
36580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36581 if (!SWIG_IsOK(res1
)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36584 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36587 (arg1
)->DeleteAllItems();
36588 wxPyEndAllowThreads(__tstate
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 resultobj
= SWIG_Py_Void();
36598 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36599 PyObject
*resultobj
= 0;
36600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36601 wxTreeItemId
*arg2
= 0 ;
36606 PyObject
* obj0
= 0 ;
36607 PyObject
* obj1
= 0 ;
36608 char * kwnames
[] = {
36609 (char *) "self",(char *) "item", NULL
36612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36614 if (!SWIG_IsOK(res1
)) {
36615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36619 if (!SWIG_IsOK(res2
)) {
36620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36625 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= SWIG_Py_Void();
36639 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
= 0;
36641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36642 wxTreeItemId
*arg2
= 0 ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 char * kwnames
[] = {
36650 (char *) "self",(char *) "item", NULL
36653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36655 if (!SWIG_IsOK(res1
)) {
36656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36658 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36660 if (!SWIG_IsOK(res2
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36666 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36673 resultobj
= SWIG_Py_Void();
36680 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36681 PyObject
*resultobj
= 0;
36682 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36685 PyObject
*swig_obj
[1] ;
36687 if (!args
) SWIG_fail
;
36688 swig_obj
[0] = args
;
36689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36690 if (!SWIG_IsOK(res1
)) {
36691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36693 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 (arg1
)->ExpandAll();
36697 wxPyEndAllowThreads(__tstate
);
36698 if (PyErr_Occurred()) SWIG_fail
;
36700 resultobj
= SWIG_Py_Void();
36707 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36708 PyObject
*resultobj
= 0;
36709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36710 wxTreeItemId
*arg2
= 0 ;
36715 PyObject
* obj0
= 0 ;
36716 PyObject
* obj1
= 0 ;
36717 char * kwnames
[] = {
36718 (char *) "self",(char *) "item", NULL
36721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36723 if (!SWIG_IsOK(res1
)) {
36724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36728 if (!SWIG_IsOK(res2
)) {
36729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 resultobj
= SWIG_Py_Void();
36748 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
= 0;
36750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36751 wxTreeItemId
*arg2
= 0 ;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 char * kwnames
[] = {
36759 (char *) "self",(char *) "item", NULL
36762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36764 if (!SWIG_IsOK(res1
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36767 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36769 if (!SWIG_IsOK(res2
)) {
36770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36775 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36778 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36779 wxPyEndAllowThreads(__tstate
);
36780 if (PyErr_Occurred()) SWIG_fail
;
36782 resultobj
= SWIG_Py_Void();
36789 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36790 PyObject
*resultobj
= 0;
36791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36792 wxTreeItemId
*arg2
= 0 ;
36797 PyObject
* obj0
= 0 ;
36798 PyObject
* obj1
= 0 ;
36799 char * kwnames
[] = {
36800 (char *) "self",(char *) "item", NULL
36803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36805 if (!SWIG_IsOK(res1
)) {
36806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36808 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36810 if (!SWIG_IsOK(res2
)) {
36811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36816 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36819 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36820 wxPyEndAllowThreads(__tstate
);
36821 if (PyErr_Occurred()) SWIG_fail
;
36823 resultobj
= SWIG_Py_Void();
36830 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36831 PyObject
*resultobj
= 0;
36832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36835 PyObject
*swig_obj
[1] ;
36837 if (!args
) SWIG_fail
;
36838 swig_obj
[0] = args
;
36839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36840 if (!SWIG_IsOK(res1
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 (arg1
)->Unselect();
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 resultobj
= SWIG_Py_Void();
36857 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
= 0;
36859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36860 wxTreeItemId
*arg2
= 0 ;
36865 PyObject
* obj0
= 0 ;
36866 PyObject
* obj1
= 0 ;
36867 char * kwnames
[] = {
36868 (char *) "self",(char *) "item", NULL
36871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36873 if (!SWIG_IsOK(res1
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36878 if (!SWIG_IsOK(res2
)) {
36879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36884 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= SWIG_Py_Void();
36898 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36899 PyObject
*resultobj
= 0;
36900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36903 PyObject
*swig_obj
[1] ;
36905 if (!args
) SWIG_fail
;
36906 swig_obj
[0] = args
;
36907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36908 if (!SWIG_IsOK(res1
)) {
36909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36911 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36914 (arg1
)->UnselectAll();
36915 wxPyEndAllowThreads(__tstate
);
36916 if (PyErr_Occurred()) SWIG_fail
;
36918 resultobj
= SWIG_Py_Void();
36925 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36926 PyObject
*resultobj
= 0;
36927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36928 wxTreeItemId
*arg2
= 0 ;
36929 bool arg3
= (bool) true ;
36936 PyObject
* obj0
= 0 ;
36937 PyObject
* obj1
= 0 ;
36938 PyObject
* obj2
= 0 ;
36939 char * kwnames
[] = {
36940 (char *) "self",(char *) "item",(char *) "select", NULL
36943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36945 if (!SWIG_IsOK(res1
)) {
36946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36948 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36950 if (!SWIG_IsOK(res2
)) {
36951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36956 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36958 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36959 if (!SWIG_IsOK(ecode3
)) {
36960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36962 arg3
= static_cast< bool >(val3
);
36965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36966 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_Py_Void();
36977 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
= 0;
36979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36980 wxTreeItemId
*arg2
= 0 ;
36985 PyObject
* obj0
= 0 ;
36986 PyObject
* obj1
= 0 ;
36987 char * kwnames
[] = {
36988 (char *) "self",(char *) "item", NULL
36991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36993 if (!SWIG_IsOK(res1
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36998 if (!SWIG_IsOK(res2
)) {
36999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37004 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37011 resultobj
= SWIG_Py_Void();
37018 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37019 PyObject
*resultobj
= 0;
37020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37021 wxTreeItemId
*arg2
= 0 ;
37026 PyObject
* obj0
= 0 ;
37027 PyObject
* obj1
= 0 ;
37028 char * kwnames
[] = {
37029 (char *) "self",(char *) "item", NULL
37032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37034 if (!SWIG_IsOK(res1
)) {
37035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37039 if (!SWIG_IsOK(res2
)) {
37040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37045 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37049 wxPyEndAllowThreads(__tstate
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37052 resultobj
= SWIG_Py_Void();
37059 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37060 PyObject
*resultobj
= 0;
37061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37062 wxTreeItemId
*arg2
= 0 ;
37067 PyObject
* obj0
= 0 ;
37068 PyObject
* obj1
= 0 ;
37069 char * kwnames
[] = {
37070 (char *) "self",(char *) "item", NULL
37073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37075 if (!SWIG_IsOK(res1
)) {
37076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37080 if (!SWIG_IsOK(res2
)) {
37081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37089 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37090 wxPyEndAllowThreads(__tstate
);
37091 if (PyErr_Occurred()) SWIG_fail
;
37093 resultobj
= SWIG_Py_Void();
37100 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37101 PyObject
*resultobj
= 0;
37102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37103 wxTreeItemId
*arg2
= 0 ;
37108 PyObject
* obj0
= 0 ;
37109 PyObject
* obj1
= 0 ;
37110 char * kwnames
[] = {
37111 (char *) "self",(char *) "item", NULL
37114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37116 if (!SWIG_IsOK(res1
)) {
37117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37119 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37121 if (!SWIG_IsOK(res2
)) {
37122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37127 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37130 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37131 wxPyEndAllowThreads(__tstate
);
37132 if (PyErr_Occurred()) SWIG_fail
;
37134 resultobj
= SWIG_Py_Void();
37141 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37142 PyObject
*resultobj
= 0;
37143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37144 wxTextCtrl
*result
= 0 ;
37147 PyObject
*swig_obj
[1] ;
37149 if (!args
) SWIG_fail
;
37150 swig_obj
[0] = args
;
37151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37152 if (!SWIG_IsOK(res1
)) {
37153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37155 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37158 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37159 wxPyEndAllowThreads(__tstate
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37163 resultobj
= wxPyMake_wxObject(result
, 0);
37171 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
= 0;
37173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37174 wxTreeItemId
*arg2
= 0 ;
37179 PyObject
* obj0
= 0 ;
37180 PyObject
* obj1
= 0 ;
37181 char * kwnames
[] = {
37182 (char *) "self",(char *) "item", NULL
37185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37187 if (!SWIG_IsOK(res1
)) {
37188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37190 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37192 if (!SWIG_IsOK(res2
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37198 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= SWIG_Py_Void();
37212 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37213 PyObject
*resultobj
= 0;
37214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37215 wxPoint
*arg2
= 0 ;
37217 wxTreeItemId result
;
37222 int res3
= SWIG_TMPOBJ
;
37223 PyObject
* obj0
= 0 ;
37224 PyObject
* obj1
= 0 ;
37225 char * kwnames
[] = {
37226 (char *) "self",(char *) "point", NULL
37230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37232 if (!SWIG_IsOK(res1
)) {
37233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37235 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37243 wxPyEndAllowThreads(__tstate
);
37244 if (PyErr_Occurred()) SWIG_fail
;
37246 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37247 if (SWIG_IsTmpObj(res3
)) {
37248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37250 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37259 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37260 PyObject
*resultobj
= 0;
37261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37262 wxTreeItemId
*arg2
= 0 ;
37263 bool arg3
= (bool) false ;
37264 PyObject
*result
= 0 ;
37271 PyObject
* obj0
= 0 ;
37272 PyObject
* obj1
= 0 ;
37273 PyObject
* obj2
= 0 ;
37274 char * kwnames
[] = {
37275 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37280 if (!SWIG_IsOK(res1
)) {
37281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37283 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37285 if (!SWIG_IsOK(res2
)) {
37286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37291 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37293 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37294 if (!SWIG_IsOK(ecode3
)) {
37295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37297 arg3
= static_cast< bool >(val3
);
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37302 wxPyEndAllowThreads(__tstate
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37305 resultobj
= result
;
37312 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37313 PyObject
*resultobj
= 0;
37314 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37315 SwigValueWrapper
<wxVisualAttributes
> result
;
37318 PyObject
* obj0
= 0 ;
37319 char * kwnames
[] = {
37320 (char *) "variant", NULL
37323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37326 if (!SWIG_IsOK(ecode1
)) {
37327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37329 arg1
= static_cast< wxWindowVariant
>(val1
);
37332 if (!wxPyCheckForApp()) SWIG_fail
;
37333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37334 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37335 wxPyEndAllowThreads(__tstate
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37338 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37345 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37346 PyObject
*resultobj
= 0;
37347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37353 PyObject
* obj0
= 0 ;
37354 PyObject
* obj1
= 0 ;
37355 char * kwnames
[] = {
37356 (char *) "self",(char *) "q", NULL
37359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37361 if (!SWIG_IsOK(res1
)) {
37362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37364 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37365 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37366 if (!SWIG_IsOK(ecode2
)) {
37367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37369 arg2
= static_cast< bool >(val2
);
37371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37372 (arg1
)->SetQuickBestSize(arg2
);
37373 wxPyEndAllowThreads(__tstate
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= SWIG_Py_Void();
37383 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37384 PyObject
*resultobj
= 0;
37385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37389 PyObject
*swig_obj
[1] ;
37391 if (!args
) SWIG_fail
;
37392 swig_obj
[0] = args
;
37393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37394 if (!SWIG_IsOK(res1
)) {
37395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37397 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37401 wxPyEndAllowThreads(__tstate
);
37402 if (PyErr_Occurred()) SWIG_fail
;
37405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37413 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37416 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37417 return SWIG_Py_Void();
37420 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37421 return SWIG_Python_InitShadowInstance(args
);
37424 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37425 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37430 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37431 PyObject
*pyobj
= 0;
37435 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37437 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37444 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37445 PyObject
*resultobj
= 0;
37446 wxWindow
*arg1
= (wxWindow
*) 0 ;
37447 int arg2
= (int) (int)-1 ;
37448 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37454 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37455 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37456 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37457 int arg8
= (int) 0 ;
37458 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37459 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37460 wxGenericDirCtrl
*result
= 0 ;
37465 bool temp3
= false ;
37470 bool temp7
= false ;
37473 bool temp9
= false ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 PyObject
* obj2
= 0 ;
37477 PyObject
* obj3
= 0 ;
37478 PyObject
* obj4
= 0 ;
37479 PyObject
* obj5
= 0 ;
37480 PyObject
* obj6
= 0 ;
37481 PyObject
* obj7
= 0 ;
37482 PyObject
* obj8
= 0 ;
37483 char * kwnames
[] = {
37484 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37489 if (!SWIG_IsOK(res1
)) {
37490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37495 if (!SWIG_IsOK(ecode2
)) {
37496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37498 arg2
= static_cast< int >(val2
);
37502 arg3
= wxString_in_helper(obj2
);
37503 if (arg3
== NULL
) SWIG_fail
;
37510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37520 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37521 if (!SWIG_IsOK(ecode6
)) {
37522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37524 arg6
= static_cast< long >(val6
);
37528 arg7
= wxString_in_helper(obj6
);
37529 if (arg7
== NULL
) SWIG_fail
;
37534 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37535 if (!SWIG_IsOK(ecode8
)) {
37536 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37538 arg8
= static_cast< int >(val8
);
37542 arg9
= wxString_in_helper(obj8
);
37543 if (arg9
== NULL
) SWIG_fail
;
37548 if (!wxPyCheckForApp()) SWIG_fail
;
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37585 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37586 PyObject
*resultobj
= 0;
37587 wxGenericDirCtrl
*result
= 0 ;
37589 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37591 if (!wxPyCheckForApp()) SWIG_fail
;
37592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37593 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37594 wxPyEndAllowThreads(__tstate
);
37595 if (PyErr_Occurred()) SWIG_fail
;
37597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37604 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37605 PyObject
*resultobj
= 0;
37606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37607 wxWindow
*arg2
= (wxWindow
*) 0 ;
37608 int arg3
= (int) (int)-1 ;
37609 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37610 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37611 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37612 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37613 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37614 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37615 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37616 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37617 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37618 int arg9
= (int) 0 ;
37619 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37620 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37628 bool temp4
= false ;
37633 bool temp8
= false ;
37636 bool temp10
= false ;
37637 PyObject
* obj0
= 0 ;
37638 PyObject
* obj1
= 0 ;
37639 PyObject
* obj2
= 0 ;
37640 PyObject
* obj3
= 0 ;
37641 PyObject
* obj4
= 0 ;
37642 PyObject
* obj5
= 0 ;
37643 PyObject
* obj6
= 0 ;
37644 PyObject
* obj7
= 0 ;
37645 PyObject
* obj8
= 0 ;
37646 PyObject
* obj9
= 0 ;
37647 char * kwnames
[] = {
37648 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37653 if (!SWIG_IsOK(res1
)) {
37654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37656 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37658 if (!SWIG_IsOK(res2
)) {
37659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37661 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37664 if (!SWIG_IsOK(ecode3
)) {
37665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37667 arg3
= static_cast< int >(val3
);
37671 arg4
= wxString_in_helper(obj3
);
37672 if (arg4
== NULL
) SWIG_fail
;
37679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37685 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37689 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37690 if (!SWIG_IsOK(ecode7
)) {
37691 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37693 arg7
= static_cast< long >(val7
);
37697 arg8
= wxString_in_helper(obj7
);
37698 if (arg8
== NULL
) SWIG_fail
;
37703 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37704 if (!SWIG_IsOK(ecode9
)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37707 arg9
= static_cast< int >(val9
);
37711 arg10
= wxString_in_helper(obj9
);
37712 if (arg10
== NULL
) SWIG_fail
;
37717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37755 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37756 PyObject
*resultobj
= 0;
37757 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37758 wxString
*arg2
= 0 ;
37762 bool temp2
= false ;
37763 PyObject
* obj0
= 0 ;
37764 PyObject
* obj1
= 0 ;
37765 char * kwnames
[] = {
37766 (char *) "self",(char *) "path", NULL
37769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37771 if (!SWIG_IsOK(res1
)) {
37772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37774 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37776 arg2
= wxString_in_helper(obj1
);
37777 if (arg2
== NULL
) SWIG_fail
;
37781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37782 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37803 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37804 PyObject
*resultobj
= 0;
37805 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37806 wxString
*arg2
= 0 ;
37810 bool temp2
= false ;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 char * kwnames
[] = {
37814 (char *) "self",(char *) "path", NULL
37817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37819 if (!SWIG_IsOK(res1
)) {
37820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37822 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37824 arg2
= wxString_in_helper(obj1
);
37825 if (arg2
== NULL
) SWIG_fail
;
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37831 wxPyEndAllowThreads(__tstate
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37851 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37852 PyObject
*resultobj
= 0;
37853 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37857 PyObject
*swig_obj
[1] ;
37859 if (!args
) SWIG_fail
;
37860 swig_obj
[0] = args
;
37861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37862 if (!SWIG_IsOK(res1
)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37865 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37869 wxPyEndAllowThreads(__tstate
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37885 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37886 PyObject
*resultobj
= 0;
37887 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37888 wxString
*arg2
= 0 ;
37891 bool temp2
= false ;
37892 PyObject
* obj0
= 0 ;
37893 PyObject
* obj1
= 0 ;
37894 char * kwnames
[] = {
37895 (char *) "self",(char *) "path", NULL
37898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37900 if (!SWIG_IsOK(res1
)) {
37901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37903 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37905 arg2
= wxString_in_helper(obj1
);
37906 if (arg2
== NULL
) SWIG_fail
;
37910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37911 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37912 wxPyEndAllowThreads(__tstate
);
37913 if (PyErr_Occurred()) SWIG_fail
;
37915 resultobj
= SWIG_Py_Void();
37930 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37931 PyObject
*resultobj
= 0;
37932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37936 PyObject
*swig_obj
[1] ;
37938 if (!args
) SWIG_fail
;
37939 swig_obj
[0] = args
;
37940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37941 if (!SWIG_IsOK(res1
)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37944 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37964 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37965 PyObject
*resultobj
= 0;
37966 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37970 PyObject
*swig_obj
[1] ;
37972 if (!args
) SWIG_fail
;
37973 swig_obj
[0] = args
;
37974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37975 if (!SWIG_IsOK(res1
)) {
37976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37978 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37982 wxPyEndAllowThreads(__tstate
);
37983 if (PyErr_Occurred()) SWIG_fail
;
37987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37998 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37999 PyObject
*resultobj
= 0;
38000 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38001 wxString
*arg2
= 0 ;
38004 bool temp2
= false ;
38005 PyObject
* obj0
= 0 ;
38006 PyObject
* obj1
= 0 ;
38007 char * kwnames
[] = {
38008 (char *) "self",(char *) "path", NULL
38011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38013 if (!SWIG_IsOK(res1
)) {
38014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38016 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38018 arg2
= wxString_in_helper(obj1
);
38019 if (arg2
== NULL
) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 (arg1
)->SetPath((wxString
const &)*arg2
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38028 resultobj
= SWIG_Py_Void();
38043 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38044 PyObject
*resultobj
= 0;
38045 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38051 PyObject
* obj0
= 0 ;
38052 PyObject
* obj1
= 0 ;
38053 char * kwnames
[] = {
38054 (char *) "self",(char *) "show", NULL
38057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38059 if (!SWIG_IsOK(res1
)) {
38060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38062 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38063 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38064 if (!SWIG_IsOK(ecode2
)) {
38065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38067 arg2
= static_cast< bool >(val2
);
38069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38070 (arg1
)->ShowHidden(arg2
);
38071 wxPyEndAllowThreads(__tstate
);
38072 if (PyErr_Occurred()) SWIG_fail
;
38074 resultobj
= SWIG_Py_Void();
38081 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38082 PyObject
*resultobj
= 0;
38083 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38087 PyObject
*swig_obj
[1] ;
38089 if (!args
) SWIG_fail
;
38090 swig_obj
[0] = args
;
38091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38092 if (!SWIG_IsOK(res1
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38095 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38098 result
= (bool)(arg1
)->GetShowHidden();
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38111 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38112 PyObject
*resultobj
= 0;
38113 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38117 PyObject
*swig_obj
[1] ;
38119 if (!args
) SWIG_fail
;
38120 swig_obj
[0] = args
;
38121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38122 if (!SWIG_IsOK(res1
)) {
38123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38125 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38129 wxPyEndAllowThreads(__tstate
);
38130 if (PyErr_Occurred()) SWIG_fail
;
38134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38145 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38146 PyObject
*resultobj
= 0;
38147 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38148 wxString
*arg2
= 0 ;
38151 bool temp2
= false ;
38152 PyObject
* obj0
= 0 ;
38153 PyObject
* obj1
= 0 ;
38154 char * kwnames
[] = {
38155 (char *) "self",(char *) "filter", NULL
38158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38160 if (!SWIG_IsOK(res1
)) {
38161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38163 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38165 arg2
= wxString_in_helper(obj1
);
38166 if (arg2
== NULL
) SWIG_fail
;
38170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38171 (arg1
)->SetFilter((wxString
const &)*arg2
);
38172 wxPyEndAllowThreads(__tstate
);
38173 if (PyErr_Occurred()) SWIG_fail
;
38175 resultobj
= SWIG_Py_Void();
38190 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38191 PyObject
*resultobj
= 0;
38192 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38196 PyObject
*swig_obj
[1] ;
38198 if (!args
) SWIG_fail
;
38199 swig_obj
[0] = args
;
38200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38201 if (!SWIG_IsOK(res1
)) {
38202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38204 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38207 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38208 wxPyEndAllowThreads(__tstate
);
38209 if (PyErr_Occurred()) SWIG_fail
;
38211 resultobj
= SWIG_From_int(static_cast< int >(result
));
38218 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38219 PyObject
*resultobj
= 0;
38220 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38226 PyObject
* obj0
= 0 ;
38227 PyObject
* obj1
= 0 ;
38228 char * kwnames
[] = {
38229 (char *) "self",(char *) "n", NULL
38232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38234 if (!SWIG_IsOK(res1
)) {
38235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38237 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38239 if (!SWIG_IsOK(ecode2
)) {
38240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38242 arg2
= static_cast< int >(val2
);
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 (arg1
)->SetFilterIndex(arg2
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= SWIG_Py_Void();
38256 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38257 PyObject
*resultobj
= 0;
38258 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38259 wxTreeItemId result
;
38262 PyObject
*swig_obj
[1] ;
38264 if (!args
) SWIG_fail
;
38265 swig_obj
[0] = args
;
38266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38267 if (!SWIG_IsOK(res1
)) {
38268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38270 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38273 result
= (arg1
)->GetRootId();
38274 wxPyEndAllowThreads(__tstate
);
38275 if (PyErr_Occurred()) SWIG_fail
;
38277 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38284 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38285 PyObject
*resultobj
= 0;
38286 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38287 wxPyTreeCtrl
*result
= 0 ;
38290 PyObject
*swig_obj
[1] ;
38292 if (!args
) SWIG_fail
;
38293 swig_obj
[0] = args
;
38294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38295 if (!SWIG_IsOK(res1
)) {
38296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38298 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38301 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38302 wxPyEndAllowThreads(__tstate
);
38303 if (PyErr_Occurred()) SWIG_fail
;
38306 resultobj
= wxPyMake_wxObject(result
, 0);
38314 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38315 PyObject
*resultobj
= 0;
38316 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38317 wxDirFilterListCtrl
*result
= 0 ;
38320 PyObject
*swig_obj
[1] ;
38322 if (!args
) SWIG_fail
;
38323 swig_obj
[0] = args
;
38324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38325 if (!SWIG_IsOK(res1
)) {
38326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38328 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38331 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38332 wxPyEndAllowThreads(__tstate
);
38333 if (PyErr_Occurred()) SWIG_fail
;
38335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38342 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38343 PyObject
*resultobj
= 0;
38344 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38345 wxTreeItemId arg2
;
38346 wxString
*arg3
= 0 ;
38348 wxTreeItemId result
;
38353 bool temp3
= false ;
38355 int res4
= SWIG_TMPOBJ
;
38356 PyObject
* obj0
= 0 ;
38357 PyObject
* obj1
= 0 ;
38358 PyObject
* obj2
= 0 ;
38359 char * kwnames
[] = {
38360 (char *) "self",(char *) "parentId",(char *) "path", NULL
38364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38366 if (!SWIG_IsOK(res1
)) {
38367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38369 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38372 if (!SWIG_IsOK(res2
)) {
38373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38378 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38380 if (SWIG_IsNewObj(res2
)) delete temp
;
38384 arg3
= wxString_in_helper(obj2
);
38385 if (arg3
== NULL
) SWIG_fail
;
38389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38390 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38395 if (SWIG_IsTmpObj(res4
)) {
38396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38398 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38415 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38416 PyObject
*resultobj
= 0;
38417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38420 PyObject
*swig_obj
[1] ;
38422 if (!args
) SWIG_fail
;
38423 swig_obj
[0] = args
;
38424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38425 if (!SWIG_IsOK(res1
)) {
38426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38428 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38431 (arg1
)->DoResize();
38432 wxPyEndAllowThreads(__tstate
);
38433 if (PyErr_Occurred()) SWIG_fail
;
38435 resultobj
= SWIG_Py_Void();
38442 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38443 PyObject
*resultobj
= 0;
38444 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38447 PyObject
*swig_obj
[1] ;
38449 if (!args
) SWIG_fail
;
38450 swig_obj
[0] = args
;
38451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38452 if (!SWIG_IsOK(res1
)) {
38453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38455 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38458 (arg1
)->ReCreateTree();
38459 wxPyEndAllowThreads(__tstate
);
38460 if (PyErr_Occurred()) SWIG_fail
;
38462 resultobj
= SWIG_Py_Void();
38469 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38472 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38473 return SWIG_Py_Void();
38476 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38477 return SWIG_Python_InitShadowInstance(args
);
38480 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38481 PyObject
*resultobj
= 0;
38482 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38483 int arg2
= (int) (int)-1 ;
38484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38488 long arg5
= (long) 0 ;
38489 wxDirFilterListCtrl
*result
= 0 ;
38498 PyObject
* obj0
= 0 ;
38499 PyObject
* obj1
= 0 ;
38500 PyObject
* obj2
= 0 ;
38501 PyObject
* obj3
= 0 ;
38502 PyObject
* obj4
= 0 ;
38503 char * kwnames
[] = {
38504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38509 if (!SWIG_IsOK(res1
)) {
38510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38512 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38515 if (!SWIG_IsOK(ecode2
)) {
38516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38518 arg2
= static_cast< int >(val2
);
38523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38534 if (!SWIG_IsOK(ecode5
)) {
38535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38537 arg5
= static_cast< long >(val5
);
38540 if (!wxPyCheckForApp()) SWIG_fail
;
38541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38542 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38543 wxPyEndAllowThreads(__tstate
);
38544 if (PyErr_Occurred()) SWIG_fail
;
38546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38553 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38554 PyObject
*resultobj
= 0;
38555 wxDirFilterListCtrl
*result
= 0 ;
38557 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38559 if (!wxPyCheckForApp()) SWIG_fail
;
38560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38561 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38562 wxPyEndAllowThreads(__tstate
);
38563 if (PyErr_Occurred()) SWIG_fail
;
38565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38572 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38573 PyObject
*resultobj
= 0;
38574 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38575 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38576 int arg3
= (int) (int)-1 ;
38577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38581 long arg6
= (long) 0 ;
38593 PyObject
* obj0
= 0 ;
38594 PyObject
* obj1
= 0 ;
38595 PyObject
* obj2
= 0 ;
38596 PyObject
* obj3
= 0 ;
38597 PyObject
* obj4
= 0 ;
38598 PyObject
* obj5
= 0 ;
38599 char * kwnames
[] = {
38600 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38605 if (!SWIG_IsOK(res1
)) {
38606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38608 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38610 if (!SWIG_IsOK(res2
)) {
38611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38613 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38616 if (!SWIG_IsOK(ecode3
)) {
38617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38619 arg3
= static_cast< int >(val3
);
38624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38634 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38635 if (!SWIG_IsOK(ecode6
)) {
38636 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38638 arg6
= static_cast< long >(val6
);
38641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38643 wxPyEndAllowThreads(__tstate
);
38644 if (PyErr_Occurred()) SWIG_fail
;
38647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38655 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38656 PyObject
*resultobj
= 0;
38657 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38658 wxString
*arg2
= 0 ;
38662 bool temp2
= false ;
38665 PyObject
* obj0
= 0 ;
38666 PyObject
* obj1
= 0 ;
38667 PyObject
* obj2
= 0 ;
38668 char * kwnames
[] = {
38669 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38674 if (!SWIG_IsOK(res1
)) {
38675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38677 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38679 arg2
= wxString_in_helper(obj1
);
38680 if (arg2
== NULL
) SWIG_fail
;
38683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38684 if (!SWIG_IsOK(ecode3
)) {
38685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38687 arg3
= static_cast< int >(val3
);
38689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38690 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38691 wxPyEndAllowThreads(__tstate
);
38692 if (PyErr_Occurred()) SWIG_fail
;
38694 resultobj
= SWIG_Py_Void();
38709 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38712 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38713 return SWIG_Py_Void();
38716 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38717 return SWIG_Python_InitShadowInstance(args
);
38720 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38721 PyObject
*resultobj
= 0;
38722 wxWindow
*arg1
= (wxWindow
*) 0 ;
38723 int arg2
= (int) (int)-1 ;
38724 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38725 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38726 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38727 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38728 long arg5
= (long) 0 ;
38729 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38730 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38731 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38732 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38733 wxPyControl
*result
= 0 ;
38744 bool temp7
= false ;
38745 PyObject
* obj0
= 0 ;
38746 PyObject
* obj1
= 0 ;
38747 PyObject
* obj2
= 0 ;
38748 PyObject
* obj3
= 0 ;
38749 PyObject
* obj4
= 0 ;
38750 PyObject
* obj5
= 0 ;
38751 PyObject
* obj6
= 0 ;
38752 char * kwnames
[] = {
38753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38758 if (!SWIG_IsOK(res1
)) {
38759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38764 if (!SWIG_IsOK(ecode2
)) {
38765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38767 arg2
= static_cast< int >(val2
);
38772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38782 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38783 if (!SWIG_IsOK(ecode5
)) {
38784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38786 arg5
= static_cast< long >(val5
);
38789 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38790 if (!SWIG_IsOK(res6
)) {
38791 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38796 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38800 arg7
= wxString_in_helper(obj6
);
38801 if (arg7
== NULL
) SWIG_fail
;
38806 if (!wxPyCheckForApp()) SWIG_fail
;
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38809 wxPyEndAllowThreads(__tstate
);
38810 if (PyErr_Occurred()) SWIG_fail
;
38812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38827 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38828 PyObject
*resultobj
= 0;
38829 wxPyControl
*result
= 0 ;
38831 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38833 if (!wxPyCheckForApp()) SWIG_fail
;
38834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38835 result
= (wxPyControl
*)new wxPyControl();
38836 wxPyEndAllowThreads(__tstate
);
38837 if (PyErr_Occurred()) SWIG_fail
;
38839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38846 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38847 PyObject
*resultobj
= 0;
38848 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38849 PyObject
*arg2
= (PyObject
*) 0 ;
38850 PyObject
*arg3
= (PyObject
*) 0 ;
38853 PyObject
* obj0
= 0 ;
38854 PyObject
* obj1
= 0 ;
38855 PyObject
* obj2
= 0 ;
38856 char * kwnames
[] = {
38857 (char *) "self",(char *) "self",(char *) "_class", NULL
38860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38862 if (!SWIG_IsOK(res1
)) {
38863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38865 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38870 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= SWIG_Py_Void();
38881 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38882 PyObject
*resultobj
= 0;
38883 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38884 wxDC
*arg2
= (wxDC
*) 0 ;
38890 PyObject
* obj0
= 0 ;
38891 PyObject
* obj1
= 0 ;
38892 char * kwnames
[] = {
38893 (char *) "self",(char *) "dc", NULL
38896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38901 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38903 if (!SWIG_IsOK(res2
)) {
38904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38906 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38909 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38910 wxPyEndAllowThreads(__tstate
);
38911 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38922 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38923 PyObject
*resultobj
= 0;
38924 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38939 PyObject
* obj0
= 0 ;
38940 PyObject
* obj1
= 0 ;
38941 PyObject
* obj2
= 0 ;
38942 PyObject
* obj3
= 0 ;
38943 PyObject
* obj4
= 0 ;
38944 char * kwnames
[] = {
38945 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38950 if (!SWIG_IsOK(res1
)) {
38951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38953 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38955 if (!SWIG_IsOK(ecode2
)) {
38956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38958 arg2
= static_cast< int >(val2
);
38959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38960 if (!SWIG_IsOK(ecode3
)) {
38961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38963 arg3
= static_cast< int >(val3
);
38964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38965 if (!SWIG_IsOK(ecode4
)) {
38966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38968 arg4
= static_cast< int >(val4
);
38969 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38970 if (!SWIG_IsOK(ecode5
)) {
38971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38973 arg5
= static_cast< int >(val5
);
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38976 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38980 resultobj
= SWIG_Py_Void();
38987 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38988 PyObject
*resultobj
= 0;
38989 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38994 int arg6
= (int) wxSIZE_AUTO
;
39007 PyObject
* obj0
= 0 ;
39008 PyObject
* obj1
= 0 ;
39009 PyObject
* obj2
= 0 ;
39010 PyObject
* obj3
= 0 ;
39011 PyObject
* obj4
= 0 ;
39012 PyObject
* obj5
= 0 ;
39013 char * kwnames
[] = {
39014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39019 if (!SWIG_IsOK(res1
)) {
39020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39022 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39024 if (!SWIG_IsOK(ecode2
)) {
39025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39027 arg2
= static_cast< int >(val2
);
39028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39029 if (!SWIG_IsOK(ecode3
)) {
39030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39032 arg3
= static_cast< int >(val3
);
39033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39034 if (!SWIG_IsOK(ecode4
)) {
39035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39037 arg4
= static_cast< int >(val4
);
39038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39039 if (!SWIG_IsOK(ecode5
)) {
39040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39042 arg5
= static_cast< int >(val5
);
39044 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39045 if (!SWIG_IsOK(ecode6
)) {
39046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39048 arg6
= static_cast< int >(val6
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= SWIG_Py_Void();
39063 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39064 PyObject
*resultobj
= 0;
39065 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39074 PyObject
* obj0
= 0 ;
39075 PyObject
* obj1
= 0 ;
39076 PyObject
* obj2
= 0 ;
39077 char * kwnames
[] = {
39078 (char *) "self",(char *) "width",(char *) "height", NULL
39081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39083 if (!SWIG_IsOK(res1
)) {
39084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39086 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39088 if (!SWIG_IsOK(ecode2
)) {
39089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39091 arg2
= static_cast< int >(val2
);
39092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39093 if (!SWIG_IsOK(ecode3
)) {
39094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39096 arg3
= static_cast< int >(val3
);
39098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39099 (arg1
)->DoSetClientSize(arg2
,arg3
);
39100 wxPyEndAllowThreads(__tstate
);
39101 if (PyErr_Occurred()) SWIG_fail
;
39103 resultobj
= SWIG_Py_Void();
39110 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39111 PyObject
*resultobj
= 0;
39112 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39121 PyObject
* obj0
= 0 ;
39122 PyObject
* obj1
= 0 ;
39123 PyObject
* obj2
= 0 ;
39124 char * kwnames
[] = {
39125 (char *) "self",(char *) "x",(char *) "y", NULL
39128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39130 if (!SWIG_IsOK(res1
)) {
39131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39133 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39135 if (!SWIG_IsOK(ecode2
)) {
39136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39138 arg2
= static_cast< int >(val2
);
39139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39140 if (!SWIG_IsOK(ecode3
)) {
39141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39143 arg3
= static_cast< int >(val3
);
39145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39146 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39147 wxPyEndAllowThreads(__tstate
);
39148 if (PyErr_Occurred()) SWIG_fail
;
39150 resultobj
= SWIG_Py_Void();
39157 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39158 PyObject
*resultobj
= 0;
39159 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39160 int *arg2
= (int *) 0 ;
39161 int *arg3
= (int *) 0 ;
39165 int res2
= SWIG_TMPOBJ
;
39167 int res3
= SWIG_TMPOBJ
;
39168 PyObject
*swig_obj
[1] ;
39172 if (!args
) SWIG_fail
;
39173 swig_obj
[0] = args
;
39174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39175 if (!SWIG_IsOK(res1
)) {
39176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39178 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= SWIG_Py_Void();
39186 if (SWIG_IsTmpObj(res2
)) {
39187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39189 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39192 if (SWIG_IsTmpObj(res3
)) {
39193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39195 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39204 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39205 PyObject
*resultobj
= 0;
39206 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39207 int *arg2
= (int *) 0 ;
39208 int *arg3
= (int *) 0 ;
39212 int res2
= SWIG_TMPOBJ
;
39214 int res3
= SWIG_TMPOBJ
;
39215 PyObject
*swig_obj
[1] ;
39219 if (!args
) SWIG_fail
;
39220 swig_obj
[0] = args
;
39221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39222 if (!SWIG_IsOK(res1
)) {
39223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39225 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39228 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39229 wxPyEndAllowThreads(__tstate
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39232 resultobj
= SWIG_Py_Void();
39233 if (SWIG_IsTmpObj(res2
)) {
39234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39236 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39239 if (SWIG_IsTmpObj(res3
)) {
39240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39242 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39251 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39252 PyObject
*resultobj
= 0;
39253 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39254 int *arg2
= (int *) 0 ;
39255 int *arg3
= (int *) 0 ;
39259 int res2
= SWIG_TMPOBJ
;
39261 int res3
= SWIG_TMPOBJ
;
39262 PyObject
*swig_obj
[1] ;
39266 if (!args
) SWIG_fail
;
39267 swig_obj
[0] = args
;
39268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39269 if (!SWIG_IsOK(res1
)) {
39270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39272 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39275 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39276 wxPyEndAllowThreads(__tstate
);
39277 if (PyErr_Occurred()) SWIG_fail
;
39279 resultobj
= SWIG_Py_Void();
39280 if (SWIG_IsTmpObj(res2
)) {
39281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39283 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39286 if (SWIG_IsTmpObj(res3
)) {
39287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39289 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39298 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39299 PyObject
*resultobj
= 0;
39300 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39304 PyObject
*swig_obj
[1] ;
39306 if (!args
) SWIG_fail
;
39307 swig_obj
[0] = args
;
39308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39309 if (!SWIG_IsOK(res1
)) {
39310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39312 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39315 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39326 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39327 PyObject
*resultobj
= 0;
39328 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39332 PyObject
*swig_obj
[1] ;
39334 if (!args
) SWIG_fail
;
39335 swig_obj
[0] = args
;
39336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39337 if (!SWIG_IsOK(res1
)) {
39338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39340 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39343 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39354 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39355 PyObject
*resultobj
= 0;
39356 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39357 SwigValueWrapper
<wxVisualAttributes
> result
;
39360 PyObject
*swig_obj
[1] ;
39362 if (!args
) SWIG_fail
;
39363 swig_obj
[0] = args
;
39364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39365 if (!SWIG_IsOK(res1
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39368 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 result
= (arg1
)->GetDefaultAttributes();
39372 wxPyEndAllowThreads(__tstate
);
39373 if (PyErr_Occurred()) SWIG_fail
;
39375 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39382 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39383 PyObject
*resultobj
= 0;
39384 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39387 PyObject
*swig_obj
[1] ;
39389 if (!args
) SWIG_fail
;
39390 swig_obj
[0] = args
;
39391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39392 if (!SWIG_IsOK(res1
)) {
39393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39395 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 (arg1
)->OnInternalIdle();
39399 wxPyEndAllowThreads(__tstate
);
39400 if (PyErr_Occurred()) SWIG_fail
;
39402 resultobj
= SWIG_Py_Void();
39409 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39412 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39413 return SWIG_Py_Void();
39416 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39417 return SWIG_Python_InitShadowInstance(args
);
39420 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39421 PyObject
*resultobj
= 0;
39422 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39423 int arg2
= (int) 0 ;
39424 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39425 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39426 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39427 wxHelpEvent
*result
= 0 ;
39435 PyObject
* obj0
= 0 ;
39436 PyObject
* obj1
= 0 ;
39437 PyObject
* obj2
= 0 ;
39438 PyObject
* obj3
= 0 ;
39439 char * kwnames
[] = {
39440 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39446 if (!SWIG_IsOK(ecode1
)) {
39447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39449 arg1
= static_cast< wxEventType
>(val1
);
39452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39453 if (!SWIG_IsOK(ecode2
)) {
39454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39456 arg2
= static_cast< int >(val2
);
39461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39466 if (!SWIG_IsOK(ecode4
)) {
39467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39469 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39474 wxPyEndAllowThreads(__tstate
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39484 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39485 PyObject
*resultobj
= 0;
39486 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39490 PyObject
*swig_obj
[1] ;
39492 if (!args
) SWIG_fail
;
39493 swig_obj
[0] = args
;
39494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39495 if (!SWIG_IsOK(res1
)) {
39496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39498 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39505 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39512 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39513 PyObject
*resultobj
= 0;
39514 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39515 wxPoint
*arg2
= 0 ;
39519 PyObject
* obj0
= 0 ;
39520 PyObject
* obj1
= 0 ;
39521 char * kwnames
[] = {
39522 (char *) "self",(char *) "pos", NULL
39525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39527 if (!SWIG_IsOK(res1
)) {
39528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39530 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39537 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39538 wxPyEndAllowThreads(__tstate
);
39539 if (PyErr_Occurred()) SWIG_fail
;
39541 resultobj
= SWIG_Py_Void();
39548 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39549 PyObject
*resultobj
= 0;
39550 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39551 wxString
*result
= 0 ;
39554 PyObject
*swig_obj
[1] ;
39556 if (!args
) SWIG_fail
;
39557 swig_obj
[0] = args
;
39558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39559 if (!SWIG_IsOK(res1
)) {
39560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39562 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39566 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39567 result
= (wxString
*) &_result_ref
;
39569 wxPyEndAllowThreads(__tstate
);
39570 if (PyErr_Occurred()) SWIG_fail
;
39574 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39576 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39585 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39586 PyObject
*resultobj
= 0;
39587 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39588 wxString
*arg2
= 0 ;
39591 bool temp2
= false ;
39592 PyObject
* obj0
= 0 ;
39593 PyObject
* obj1
= 0 ;
39594 char * kwnames
[] = {
39595 (char *) "self",(char *) "link", NULL
39598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39600 if (!SWIG_IsOK(res1
)) {
39601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39603 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39605 arg2
= wxString_in_helper(obj1
);
39606 if (arg2
== NULL
) SWIG_fail
;
39610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39611 (arg1
)->SetLink((wxString
const &)*arg2
);
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39615 resultobj
= SWIG_Py_Void();
39630 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39631 PyObject
*resultobj
= 0;
39632 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39633 wxString
*result
= 0 ;
39636 PyObject
*swig_obj
[1] ;
39638 if (!args
) SWIG_fail
;
39639 swig_obj
[0] = args
;
39640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39641 if (!SWIG_IsOK(res1
)) {
39642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39644 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39648 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39649 result
= (wxString
*) &_result_ref
;
39651 wxPyEndAllowThreads(__tstate
);
39652 if (PyErr_Occurred()) SWIG_fail
;
39656 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39658 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39667 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39668 PyObject
*resultobj
= 0;
39669 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39670 wxString
*arg2
= 0 ;
39673 bool temp2
= false ;
39674 PyObject
* obj0
= 0 ;
39675 PyObject
* obj1
= 0 ;
39676 char * kwnames
[] = {
39677 (char *) "self",(char *) "target", NULL
39680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39682 if (!SWIG_IsOK(res1
)) {
39683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39685 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39687 arg2
= wxString_in_helper(obj1
);
39688 if (arg2
== NULL
) SWIG_fail
;
39692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39693 (arg1
)->SetTarget((wxString
const &)*arg2
);
39694 wxPyEndAllowThreads(__tstate
);
39695 if (PyErr_Occurred()) SWIG_fail
;
39697 resultobj
= SWIG_Py_Void();
39712 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39713 PyObject
*resultobj
= 0;
39714 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39715 wxHelpEvent::Origin result
;
39718 PyObject
*swig_obj
[1] ;
39720 if (!args
) SWIG_fail
;
39721 swig_obj
[0] = args
;
39722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39723 if (!SWIG_IsOK(res1
)) {
39724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39726 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39729 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39730 wxPyEndAllowThreads(__tstate
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39733 resultobj
= SWIG_From_int(static_cast< int >(result
));
39740 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39741 PyObject
*resultobj
= 0;
39742 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39743 wxHelpEvent::Origin arg2
;
39748 PyObject
* obj0
= 0 ;
39749 PyObject
* obj1
= 0 ;
39750 char * kwnames
[] = {
39751 (char *) "self",(char *) "origin", NULL
39754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39756 if (!SWIG_IsOK(res1
)) {
39757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39759 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39761 if (!SWIG_IsOK(ecode2
)) {
39762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39764 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39767 (arg1
)->SetOrigin(arg2
);
39768 wxPyEndAllowThreads(__tstate
);
39769 if (PyErr_Occurred()) SWIG_fail
;
39771 resultobj
= SWIG_Py_Void();
39778 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39781 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39782 return SWIG_Py_Void();
39785 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39786 return SWIG_Python_InitShadowInstance(args
);
39789 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39790 PyObject
*resultobj
= 0;
39791 wxWindow
*arg1
= (wxWindow
*) NULL
;
39792 bool arg2
= (bool) true ;
39793 wxContextHelp
*result
= 0 ;
39798 PyObject
* obj0
= 0 ;
39799 PyObject
* obj1
= 0 ;
39800 char * kwnames
[] = {
39801 (char *) "window",(char *) "doNow", NULL
39804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39807 if (!SWIG_IsOK(res1
)) {
39808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39814 if (!SWIG_IsOK(ecode2
)) {
39815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39817 arg2
= static_cast< bool >(val2
);
39820 if (!wxPyCheckForApp()) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39823 wxPyEndAllowThreads(__tstate
);
39824 if (PyErr_Occurred()) SWIG_fail
;
39826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39833 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39834 PyObject
*resultobj
= 0;
39835 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39838 PyObject
*swig_obj
[1] ;
39840 if (!args
) SWIG_fail
;
39841 swig_obj
[0] = args
;
39842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39843 if (!SWIG_IsOK(res1
)) {
39844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39846 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39851 wxPyEndAllowThreads(__tstate
);
39852 if (PyErr_Occurred()) SWIG_fail
;
39854 resultobj
= SWIG_Py_Void();
39861 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39862 PyObject
*resultobj
= 0;
39863 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39864 wxWindow
*arg2
= (wxWindow
*) NULL
;
39870 PyObject
* obj0
= 0 ;
39871 PyObject
* obj1
= 0 ;
39872 char * kwnames
[] = {
39873 (char *) "self",(char *) "window", NULL
39876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39878 if (!SWIG_IsOK(res1
)) {
39879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39881 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39884 if (!SWIG_IsOK(res2
)) {
39885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39891 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39892 wxPyEndAllowThreads(__tstate
);
39893 if (PyErr_Occurred()) SWIG_fail
;
39896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39904 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39905 PyObject
*resultobj
= 0;
39906 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39910 PyObject
*swig_obj
[1] ;
39912 if (!args
) SWIG_fail
;
39913 swig_obj
[0] = args
;
39914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39915 if (!SWIG_IsOK(res1
)) {
39916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39918 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39921 result
= (bool)(arg1
)->EndContextHelp();
39922 wxPyEndAllowThreads(__tstate
);
39923 if (PyErr_Occurred()) SWIG_fail
;
39926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39934 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39937 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39938 return SWIG_Py_Void();
39941 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39942 return SWIG_Python_InitShadowInstance(args
);
39945 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39946 PyObject
*resultobj
= 0;
39947 wxWindow
*arg1
= (wxWindow
*) 0 ;
39948 int arg2
= (int) wxID_CONTEXT_HELP
;
39949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39953 long arg5
= (long) wxBU_AUTODRAW
;
39954 wxContextHelpButton
*result
= 0 ;
39963 PyObject
* obj0
= 0 ;
39964 PyObject
* obj1
= 0 ;
39965 PyObject
* obj2
= 0 ;
39966 PyObject
* obj3
= 0 ;
39967 PyObject
* obj4
= 0 ;
39968 char * kwnames
[] = {
39969 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39974 if (!SWIG_IsOK(res1
)) {
39975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39977 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39980 if (!SWIG_IsOK(ecode2
)) {
39981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39983 arg2
= static_cast< int >(val2
);
39988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39998 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39999 if (!SWIG_IsOK(ecode5
)) {
40000 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40002 arg5
= static_cast< long >(val5
);
40005 if (!wxPyCheckForApp()) SWIG_fail
;
40006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40007 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40008 wxPyEndAllowThreads(__tstate
);
40009 if (PyErr_Occurred()) SWIG_fail
;
40011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40018 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40021 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40022 return SWIG_Py_Void();
40025 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40026 return SWIG_Python_InitShadowInstance(args
);
40029 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40030 PyObject
*resultobj
= 0;
40031 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40034 PyObject
*swig_obj
[1] ;
40036 if (!args
) SWIG_fail
;
40037 swig_obj
[0] = args
;
40038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40039 if (!SWIG_IsOK(res1
)) {
40040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40042 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40047 wxPyEndAllowThreads(__tstate
);
40048 if (PyErr_Occurred()) SWIG_fail
;
40050 resultobj
= SWIG_Py_Void();
40057 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40058 PyObject
*resultobj
= 0;
40059 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40060 wxHelpProvider
*result
= 0 ;
40062 PyObject
* obj0
= 0 ;
40063 char * kwnames
[] = {
40064 (char *) "helpProvider", NULL
40067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40068 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40069 if (!SWIG_IsOK(res1
)) {
40070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40074 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40075 wxPyEndAllowThreads(__tstate
);
40076 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40085 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40086 PyObject
*resultobj
= 0;
40087 wxHelpProvider
*result
= 0 ;
40089 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40092 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40093 wxPyEndAllowThreads(__tstate
);
40094 if (PyErr_Occurred()) SWIG_fail
;
40096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40103 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40104 PyObject
*resultobj
= 0;
40105 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40106 wxWindow
*arg2
= (wxWindow
*) 0 ;
40112 PyObject
* obj0
= 0 ;
40113 PyObject
* obj1
= 0 ;
40114 char * kwnames
[] = {
40115 (char *) "self",(char *) "window", NULL
40118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40120 if (!SWIG_IsOK(res1
)) {
40121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40123 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40125 if (!SWIG_IsOK(res2
)) {
40126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40131 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40132 wxPyEndAllowThreads(__tstate
);
40133 if (PyErr_Occurred()) SWIG_fail
;
40137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40148 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40149 PyObject
*resultobj
= 0;
40150 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40151 wxWindow
*arg2
= (wxWindow
*) 0 ;
40157 PyObject
* obj0
= 0 ;
40158 PyObject
* obj1
= 0 ;
40159 char * kwnames
[] = {
40160 (char *) "self",(char *) "window", NULL
40163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40165 if (!SWIG_IsOK(res1
)) {
40166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40168 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40170 if (!SWIG_IsOK(res2
)) {
40171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40176 result
= (bool)(arg1
)->ShowHelp(arg2
);
40177 wxPyEndAllowThreads(__tstate
);
40178 if (PyErr_Occurred()) SWIG_fail
;
40181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40189 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40190 PyObject
*resultobj
= 0;
40191 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40192 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40193 wxPoint
*arg3
= 0 ;
40194 wxHelpEvent::Origin arg4
;
40203 PyObject
* obj0
= 0 ;
40204 PyObject
* obj1
= 0 ;
40205 PyObject
* obj2
= 0 ;
40206 PyObject
* obj3
= 0 ;
40207 char * kwnames
[] = {
40208 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40213 if (!SWIG_IsOK(res1
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40216 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40218 if (!SWIG_IsOK(res2
)) {
40219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40221 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40227 if (!SWIG_IsOK(ecode4
)) {
40228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40230 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40233 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40234 wxPyEndAllowThreads(__tstate
);
40235 if (PyErr_Occurred()) SWIG_fail
;
40238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40246 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40247 PyObject
*resultobj
= 0;
40248 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40249 wxWindow
*arg2
= (wxWindow
*) 0 ;
40250 wxString
*arg3
= 0 ;
40255 bool temp3
= false ;
40256 PyObject
* obj0
= 0 ;
40257 PyObject
* obj1
= 0 ;
40258 PyObject
* obj2
= 0 ;
40259 char * kwnames
[] = {
40260 (char *) "self",(char *) "window",(char *) "text", NULL
40263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40265 if (!SWIG_IsOK(res1
)) {
40266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40268 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40270 if (!SWIG_IsOK(res2
)) {
40271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40275 arg3
= wxString_in_helper(obj2
);
40276 if (arg3
== NULL
) SWIG_fail
;
40280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40281 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40282 wxPyEndAllowThreads(__tstate
);
40283 if (PyErr_Occurred()) SWIG_fail
;
40285 resultobj
= SWIG_Py_Void();
40300 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
= 0;
40302 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40304 wxString
*arg3
= 0 ;
40309 bool temp3
= false ;
40310 PyObject
* obj0
= 0 ;
40311 PyObject
* obj1
= 0 ;
40312 PyObject
* obj2
= 0 ;
40313 char * kwnames
[] = {
40314 (char *) "self",(char *) "id",(char *) "text", NULL
40317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40319 if (!SWIG_IsOK(res1
)) {
40320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40322 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40324 if (!SWIG_IsOK(ecode2
)) {
40325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40327 arg2
= static_cast< int >(val2
);
40329 arg3
= wxString_in_helper(obj2
);
40330 if (arg3
== NULL
) SWIG_fail
;
40334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40335 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40336 wxPyEndAllowThreads(__tstate
);
40337 if (PyErr_Occurred()) SWIG_fail
;
40339 resultobj
= SWIG_Py_Void();
40354 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40355 PyObject
*resultobj
= 0;
40356 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40357 wxWindow
*arg2
= (wxWindow
*) 0 ;
40362 PyObject
* obj0
= 0 ;
40363 PyObject
* obj1
= 0 ;
40364 char * kwnames
[] = {
40365 (char *) "self",(char *) "window", NULL
40368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40370 if (!SWIG_IsOK(res1
)) {
40371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40373 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40375 if (!SWIG_IsOK(res2
)) {
40376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40378 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40381 (arg1
)->RemoveHelp(arg2
);
40382 wxPyEndAllowThreads(__tstate
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40385 resultobj
= SWIG_Py_Void();
40392 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40393 PyObject
*resultobj
= 0;
40394 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40397 PyObject
*swig_obj
[1] ;
40399 if (!args
) SWIG_fail
;
40400 swig_obj
[0] = args
;
40401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40402 if (!SWIG_IsOK(res1
)) {
40403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40405 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40408 wxHelpProvider_Destroy(arg1
);
40409 wxPyEndAllowThreads(__tstate
);
40410 if (PyErr_Occurred()) SWIG_fail
;
40412 resultobj
= SWIG_Py_Void();
40419 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40422 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40423 return SWIG_Py_Void();
40426 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40427 PyObject
*resultobj
= 0;
40428 wxSimpleHelpProvider
*result
= 0 ;
40430 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40433 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40434 wxPyEndAllowThreads(__tstate
);
40435 if (PyErr_Occurred()) SWIG_fail
;
40437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40444 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40447 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40448 return SWIG_Py_Void();
40451 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40452 return SWIG_Python_InitShadowInstance(args
);
40455 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40456 PyObject
*resultobj
= 0;
40457 wxBitmap
*arg1
= 0 ;
40458 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40459 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40460 wxGenericDragImage
*result
= 0 ;
40465 PyObject
* obj0
= 0 ;
40466 PyObject
* obj1
= 0 ;
40467 char * kwnames
[] = {
40468 (char *) "image",(char *) "cursor", NULL
40471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40472 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40473 if (!SWIG_IsOK(res1
)) {
40474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40482 if (!SWIG_IsOK(res2
)) {
40483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40488 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40491 if (!wxPyCheckForApp()) SWIG_fail
;
40492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40493 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40494 wxPyEndAllowThreads(__tstate
);
40495 if (PyErr_Occurred()) SWIG_fail
;
40497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40504 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40505 PyObject
*resultobj
= 0;
40507 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40508 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40509 wxGenericDragImage
*result
= 0 ;
40514 PyObject
* obj0
= 0 ;
40515 PyObject
* obj1
= 0 ;
40516 char * kwnames
[] = {
40517 (char *) "image",(char *) "cursor", NULL
40520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40521 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40522 if (!SWIG_IsOK(res1
)) {
40523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40528 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40531 if (!SWIG_IsOK(res2
)) {
40532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40537 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40540 if (!wxPyCheckForApp()) SWIG_fail
;
40541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40542 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40543 wxPyEndAllowThreads(__tstate
);
40544 if (PyErr_Occurred()) SWIG_fail
;
40546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40553 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40554 PyObject
*resultobj
= 0;
40555 wxString
*arg1
= 0 ;
40556 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40557 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40558 wxGenericDragImage
*result
= 0 ;
40559 bool temp1
= false ;
40562 PyObject
* obj0
= 0 ;
40563 PyObject
* obj1
= 0 ;
40564 char * kwnames
[] = {
40565 (char *) "str",(char *) "cursor", NULL
40568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40570 arg1
= wxString_in_helper(obj0
);
40571 if (arg1
== NULL
) SWIG_fail
;
40575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40576 if (!SWIG_IsOK(res2
)) {
40577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40582 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40585 if (!wxPyCheckForApp()) SWIG_fail
;
40586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40587 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40588 wxPyEndAllowThreads(__tstate
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40606 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40607 PyObject
*resultobj
= 0;
40608 wxPyTreeCtrl
*arg1
= 0 ;
40609 wxTreeItemId
*arg2
= 0 ;
40610 wxGenericDragImage
*result
= 0 ;
40615 PyObject
* obj0
= 0 ;
40616 PyObject
* obj1
= 0 ;
40617 char * kwnames
[] = {
40618 (char *) "treeCtrl",(char *) "id", NULL
40621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40623 if (!SWIG_IsOK(res1
)) {
40624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40629 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40631 if (!SWIG_IsOK(res2
)) {
40632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40637 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40639 if (!wxPyCheckForApp()) SWIG_fail
;
40640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40641 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40642 wxPyEndAllowThreads(__tstate
);
40643 if (PyErr_Occurred()) SWIG_fail
;
40645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40652 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40653 PyObject
*resultobj
= 0;
40654 wxPyListCtrl
*arg1
= 0 ;
40656 wxGenericDragImage
*result
= 0 ;
40661 PyObject
* obj0
= 0 ;
40662 PyObject
* obj1
= 0 ;
40663 char * kwnames
[] = {
40664 (char *) "listCtrl",(char *) "id", NULL
40667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40668 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40669 if (!SWIG_IsOK(res1
)) {
40670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40675 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40676 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40677 if (!SWIG_IsOK(ecode2
)) {
40678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40680 arg2
= static_cast< long >(val2
);
40682 if (!wxPyCheckForApp()) SWIG_fail
;
40683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40684 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40685 wxPyEndAllowThreads(__tstate
);
40686 if (PyErr_Occurred()) SWIG_fail
;
40688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40695 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40696 PyObject
*resultobj
= 0;
40697 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40700 PyObject
*swig_obj
[1] ;
40702 if (!args
) SWIG_fail
;
40703 swig_obj
[0] = args
;
40704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40705 if (!SWIG_IsOK(res1
)) {
40706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40708 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40713 wxPyEndAllowThreads(__tstate
);
40714 if (PyErr_Occurred()) SWIG_fail
;
40716 resultobj
= SWIG_Py_Void();
40723 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40724 PyObject
*resultobj
= 0;
40725 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40726 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40731 PyObject
* obj0
= 0 ;
40732 PyObject
* obj1
= 0 ;
40733 char * kwnames
[] = {
40734 (char *) "self",(char *) "bitmap", NULL
40737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40739 if (!SWIG_IsOK(res1
)) {
40740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40742 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40744 if (!SWIG_IsOK(res2
)) {
40745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40747 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40750 (arg1
)->SetBackingBitmap(arg2
);
40751 wxPyEndAllowThreads(__tstate
);
40752 if (PyErr_Occurred()) SWIG_fail
;
40754 resultobj
= SWIG_Py_Void();
40761 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40762 PyObject
*resultobj
= 0;
40763 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40764 wxPoint
*arg2
= 0 ;
40765 wxWindow
*arg3
= (wxWindow
*) 0 ;
40766 bool arg4
= (bool) false ;
40767 wxRect
*arg5
= (wxRect
*) NULL
;
40778 PyObject
* obj0
= 0 ;
40779 PyObject
* obj1
= 0 ;
40780 PyObject
* obj2
= 0 ;
40781 PyObject
* obj3
= 0 ;
40782 PyObject
* obj4
= 0 ;
40783 char * kwnames
[] = {
40784 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40789 if (!SWIG_IsOK(res1
)) {
40790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40792 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40797 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40798 if (!SWIG_IsOK(res3
)) {
40799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40801 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40803 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40804 if (!SWIG_IsOK(ecode4
)) {
40805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40807 arg4
= static_cast< bool >(val4
);
40810 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40811 if (!SWIG_IsOK(res5
)) {
40812 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40814 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40818 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40819 wxPyEndAllowThreads(__tstate
);
40820 if (PyErr_Occurred()) SWIG_fail
;
40823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40831 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40832 PyObject
*resultobj
= 0;
40833 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40834 wxPoint
*arg2
= 0 ;
40835 wxWindow
*arg3
= (wxWindow
*) 0 ;
40836 wxWindow
*arg4
= (wxWindow
*) 0 ;
40845 PyObject
* obj0
= 0 ;
40846 PyObject
* obj1
= 0 ;
40847 PyObject
* obj2
= 0 ;
40848 PyObject
* obj3
= 0 ;
40849 char * kwnames
[] = {
40850 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40855 if (!SWIG_IsOK(res1
)) {
40856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40858 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40863 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40864 if (!SWIG_IsOK(res3
)) {
40865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40867 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40868 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40869 if (!SWIG_IsOK(res4
)) {
40870 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40872 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40875 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40876 wxPyEndAllowThreads(__tstate
);
40877 if (PyErr_Occurred()) SWIG_fail
;
40880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40888 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40889 PyObject
*resultobj
= 0;
40890 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40894 PyObject
*swig_obj
[1] ;
40896 if (!args
) SWIG_fail
;
40897 swig_obj
[0] = args
;
40898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40899 if (!SWIG_IsOK(res1
)) {
40900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40902 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40905 result
= (bool)(arg1
)->EndDrag();
40906 wxPyEndAllowThreads(__tstate
);
40907 if (PyErr_Occurred()) SWIG_fail
;
40910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40918 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40919 PyObject
*resultobj
= 0;
40920 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40921 wxPoint
*arg2
= 0 ;
40926 PyObject
* obj0
= 0 ;
40927 PyObject
* obj1
= 0 ;
40928 char * kwnames
[] = {
40929 (char *) "self",(char *) "pt", NULL
40932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40934 if (!SWIG_IsOK(res1
)) {
40935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40937 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40944 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40945 wxPyEndAllowThreads(__tstate
);
40946 if (PyErr_Occurred()) SWIG_fail
;
40949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40957 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40958 PyObject
*resultobj
= 0;
40959 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40963 PyObject
*swig_obj
[1] ;
40965 if (!args
) SWIG_fail
;
40966 swig_obj
[0] = args
;
40967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40968 if (!SWIG_IsOK(res1
)) {
40969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40971 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40974 result
= (bool)(arg1
)->Show();
40975 wxPyEndAllowThreads(__tstate
);
40976 if (PyErr_Occurred()) SWIG_fail
;
40979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40987 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40988 PyObject
*resultobj
= 0;
40989 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40993 PyObject
*swig_obj
[1] ;
40995 if (!args
) SWIG_fail
;
40996 swig_obj
[0] = args
;
40997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40998 if (!SWIG_IsOK(res1
)) {
40999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41001 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41004 result
= (bool)(arg1
)->Hide();
41005 wxPyEndAllowThreads(__tstate
);
41006 if (PyErr_Occurred()) SWIG_fail
;
41009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41017 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41018 PyObject
*resultobj
= 0;
41019 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41020 wxPoint
*arg2
= 0 ;
41025 PyObject
* obj0
= 0 ;
41026 PyObject
* obj1
= 0 ;
41027 char * kwnames
[] = {
41028 (char *) "self",(char *) "pos", NULL
41031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41033 if (!SWIG_IsOK(res1
)) {
41034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41036 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41043 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41044 wxPyEndAllowThreads(__tstate
);
41045 if (PyErr_Occurred()) SWIG_fail
;
41047 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41054 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41055 PyObject
*resultobj
= 0;
41056 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41058 wxPoint
*arg3
= 0 ;
41065 PyObject
* obj0
= 0 ;
41066 PyObject
* obj1
= 0 ;
41067 PyObject
* obj2
= 0 ;
41068 char * kwnames
[] = {
41069 (char *) "self",(char *) "dc",(char *) "pos", NULL
41072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41074 if (!SWIG_IsOK(res1
)) {
41075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41077 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41079 if (!SWIG_IsOK(res2
)) {
41080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41085 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41092 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41093 wxPyEndAllowThreads(__tstate
);
41094 if (PyErr_Occurred()) SWIG_fail
;
41097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41105 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41106 PyObject
*resultobj
= 0;
41107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41109 wxMemoryDC
*arg3
= 0 ;
41121 PyObject
* obj0
= 0 ;
41122 PyObject
* obj1
= 0 ;
41123 PyObject
* obj2
= 0 ;
41124 PyObject
* obj3
= 0 ;
41125 PyObject
* obj4
= 0 ;
41126 char * kwnames
[] = {
41127 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41132 if (!SWIG_IsOK(res1
)) {
41133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41135 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41137 if (!SWIG_IsOK(res2
)) {
41138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41143 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41144 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41145 if (!SWIG_IsOK(res3
)) {
41146 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41151 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41154 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41158 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41162 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41163 wxPyEndAllowThreads(__tstate
);
41164 if (PyErr_Occurred()) SWIG_fail
;
41167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41175 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41176 PyObject
*resultobj
= 0;
41177 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41178 wxPoint
*arg2
= 0 ;
41179 wxPoint
*arg3
= 0 ;
41191 PyObject
* obj0
= 0 ;
41192 PyObject
* obj1
= 0 ;
41193 PyObject
* obj2
= 0 ;
41194 PyObject
* obj3
= 0 ;
41195 PyObject
* obj4
= 0 ;
41196 char * kwnames
[] = {
41197 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41202 if (!SWIG_IsOK(res1
)) {
41203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41205 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41214 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41215 if (!SWIG_IsOK(ecode4
)) {
41216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41218 arg4
= static_cast< bool >(val4
);
41219 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41220 if (!SWIG_IsOK(ecode5
)) {
41221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41223 arg5
= static_cast< bool >(val5
);
41225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41226 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41227 wxPyEndAllowThreads(__tstate
);
41228 if (PyErr_Occurred()) SWIG_fail
;
41231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41239 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41242 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41243 return SWIG_Py_Void();
41246 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41247 return SWIG_Python_InitShadowInstance(args
);
41250 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41251 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41256 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41257 PyObject
*pyobj
= 0;
41261 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41263 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41270 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41271 PyObject
*resultobj
= 0;
41272 wxWindow
*arg1
= (wxWindow
*) 0 ;
41273 int arg2
= (int) -1 ;
41274 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41275 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41280 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41283 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41285 wxDatePickerCtrl
*result
= 0 ;
41298 bool temp8
= false ;
41299 PyObject
* obj0
= 0 ;
41300 PyObject
* obj1
= 0 ;
41301 PyObject
* obj2
= 0 ;
41302 PyObject
* obj3
= 0 ;
41303 PyObject
* obj4
= 0 ;
41304 PyObject
* obj5
= 0 ;
41305 PyObject
* obj6
= 0 ;
41306 PyObject
* obj7
= 0 ;
41307 char * kwnames
[] = {
41308 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41313 if (!SWIG_IsOK(res1
)) {
41314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41316 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41319 if (!SWIG_IsOK(ecode2
)) {
41320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41322 arg2
= static_cast< int >(val2
);
41325 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41326 if (!SWIG_IsOK(res3
)) {
41327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41332 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41337 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41343 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41347 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41348 if (!SWIG_IsOK(ecode6
)) {
41349 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41351 arg6
= static_cast< long >(val6
);
41354 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41355 if (!SWIG_IsOK(res7
)) {
41356 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41361 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41365 arg8
= wxString_in_helper(obj7
);
41366 if (arg8
== NULL
) SWIG_fail
;
41371 if (!wxPyCheckForApp()) SWIG_fail
;
41372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41373 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41374 wxPyEndAllowThreads(__tstate
);
41375 if (PyErr_Occurred()) SWIG_fail
;
41377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41392 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41393 PyObject
*resultobj
= 0;
41394 wxDatePickerCtrl
*result
= 0 ;
41396 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41398 if (!wxPyCheckForApp()) SWIG_fail
;
41399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41400 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41401 wxPyEndAllowThreads(__tstate
);
41402 if (PyErr_Occurred()) SWIG_fail
;
41404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41411 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41412 PyObject
*resultobj
= 0;
41413 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41414 wxWindow
*arg2
= (wxWindow
*) 0 ;
41415 int arg3
= (int) -1 ;
41416 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41417 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41418 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41419 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41420 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41421 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41422 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41423 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41424 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41425 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41426 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41442 bool temp9
= false ;
41443 PyObject
* obj0
= 0 ;
41444 PyObject
* obj1
= 0 ;
41445 PyObject
* obj2
= 0 ;
41446 PyObject
* obj3
= 0 ;
41447 PyObject
* obj4
= 0 ;
41448 PyObject
* obj5
= 0 ;
41449 PyObject
* obj6
= 0 ;
41450 PyObject
* obj7
= 0 ;
41451 PyObject
* obj8
= 0 ;
41452 char * kwnames
[] = {
41453 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41458 if (!SWIG_IsOK(res1
)) {
41459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41461 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41463 if (!SWIG_IsOK(res2
)) {
41464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41469 if (!SWIG_IsOK(ecode3
)) {
41470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41472 arg3
= static_cast< int >(val3
);
41475 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41476 if (!SWIG_IsOK(res4
)) {
41477 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41482 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41497 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41498 if (!SWIG_IsOK(ecode7
)) {
41499 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41501 arg7
= static_cast< long >(val7
);
41504 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41505 if (!SWIG_IsOK(res8
)) {
41506 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41511 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41515 arg9
= wxString_in_helper(obj8
);
41516 if (arg9
== NULL
) SWIG_fail
;
41521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41523 wxPyEndAllowThreads(__tstate
);
41524 if (PyErr_Occurred()) SWIG_fail
;
41527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41543 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41544 PyObject
*resultobj
= 0;
41545 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41546 wxDateTime
*arg2
= 0 ;
41551 PyObject
* obj0
= 0 ;
41552 PyObject
* obj1
= 0 ;
41553 char * kwnames
[] = {
41554 (char *) "self",(char *) "dt", NULL
41557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41559 if (!SWIG_IsOK(res1
)) {
41560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41562 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41564 if (!SWIG_IsOK(res2
)) {
41565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41570 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41573 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41574 wxPyEndAllowThreads(__tstate
);
41575 if (PyErr_Occurred()) SWIG_fail
;
41577 resultobj
= SWIG_Py_Void();
41584 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41585 PyObject
*resultobj
= 0;
41586 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41590 PyObject
*swig_obj
[1] ;
41592 if (!args
) SWIG_fail
;
41593 swig_obj
[0] = args
;
41594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41595 if (!SWIG_IsOK(res1
)) {
41596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41598 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41601 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41602 wxPyEndAllowThreads(__tstate
);
41603 if (PyErr_Occurred()) SWIG_fail
;
41605 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41612 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41613 PyObject
*resultobj
= 0;
41614 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41615 wxDateTime
*arg2
= 0 ;
41616 wxDateTime
*arg3
= 0 ;
41623 PyObject
* obj0
= 0 ;
41624 PyObject
* obj1
= 0 ;
41625 PyObject
* obj2
= 0 ;
41626 char * kwnames
[] = {
41627 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41632 if (!SWIG_IsOK(res1
)) {
41633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41635 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41637 if (!SWIG_IsOK(res2
)) {
41638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41643 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41644 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41645 if (!SWIG_IsOK(res3
)) {
41646 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41651 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41654 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41655 wxPyEndAllowThreads(__tstate
);
41656 if (PyErr_Occurred()) SWIG_fail
;
41658 resultobj
= SWIG_Py_Void();
41665 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41666 PyObject
*resultobj
= 0;
41667 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41671 PyObject
*swig_obj
[1] ;
41673 if (!args
) SWIG_fail
;
41674 swig_obj
[0] = args
;
41675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41676 if (!SWIG_IsOK(res1
)) {
41677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41679 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41682 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41683 wxPyEndAllowThreads(__tstate
);
41684 if (PyErr_Occurred()) SWIG_fail
;
41686 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41693 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41694 PyObject
*resultobj
= 0;
41695 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41699 PyObject
*swig_obj
[1] ;
41701 if (!args
) SWIG_fail
;
41702 swig_obj
[0] = args
;
41703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41704 if (!SWIG_IsOK(res1
)) {
41705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41707 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41710 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41711 wxPyEndAllowThreads(__tstate
);
41712 if (PyErr_Occurred()) SWIG_fail
;
41714 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41721 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41724 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41725 return SWIG_Py_Void();
41728 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41729 return SWIG_Python_InitShadowInstance(args
);
41732 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41733 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41738 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41739 PyObject
*pyobj
= 0;
41743 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41745 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41752 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41753 PyObject
*resultobj
= 0;
41754 wxWindow
*arg1
= (wxWindow
*) 0 ;
41756 wxString
*arg3
= 0 ;
41757 wxString
*arg4
= 0 ;
41758 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41759 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41760 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41761 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41762 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41763 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41765 wxHyperlinkCtrl
*result
= 0 ;
41770 bool temp3
= false ;
41771 bool temp4
= false ;
41776 bool temp8
= false ;
41777 PyObject
* obj0
= 0 ;
41778 PyObject
* obj1
= 0 ;
41779 PyObject
* obj2
= 0 ;
41780 PyObject
* obj3
= 0 ;
41781 PyObject
* obj4
= 0 ;
41782 PyObject
* obj5
= 0 ;
41783 PyObject
* obj6
= 0 ;
41784 PyObject
* obj7
= 0 ;
41785 char * kwnames
[] = {
41786 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41791 if (!SWIG_IsOK(res1
)) {
41792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41796 if (!SWIG_IsOK(ecode2
)) {
41797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41799 arg2
= static_cast< int >(val2
);
41801 arg3
= wxString_in_helper(obj2
);
41802 if (arg3
== NULL
) SWIG_fail
;
41806 arg4
= wxString_in_helper(obj3
);
41807 if (arg4
== NULL
) SWIG_fail
;
41813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41823 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41824 if (!SWIG_IsOK(ecode7
)) {
41825 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41827 arg7
= static_cast< long >(val7
);
41831 arg8
= wxString_in_helper(obj7
);
41832 if (arg8
== NULL
) SWIG_fail
;
41837 if (!wxPyCheckForApp()) SWIG_fail
;
41838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41839 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41840 wxPyEndAllowThreads(__tstate
);
41841 if (PyErr_Occurred()) SWIG_fail
;
41843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41874 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41875 PyObject
*resultobj
= 0;
41876 wxHyperlinkCtrl
*result
= 0 ;
41878 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41880 if (!wxPyCheckForApp()) SWIG_fail
;
41881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41882 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41883 wxPyEndAllowThreads(__tstate
);
41884 if (PyErr_Occurred()) SWIG_fail
;
41886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41893 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41894 PyObject
*resultobj
= 0;
41895 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41896 wxWindow
*arg2
= (wxWindow
*) 0 ;
41898 wxString
*arg4
= 0 ;
41899 wxString
*arg5
= 0 ;
41900 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41901 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41902 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41903 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41904 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41905 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41906 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41914 bool temp4
= false ;
41915 bool temp5
= false ;
41920 bool temp9
= false ;
41921 PyObject
* obj0
= 0 ;
41922 PyObject
* obj1
= 0 ;
41923 PyObject
* obj2
= 0 ;
41924 PyObject
* obj3
= 0 ;
41925 PyObject
* obj4
= 0 ;
41926 PyObject
* obj5
= 0 ;
41927 PyObject
* obj6
= 0 ;
41928 PyObject
* obj7
= 0 ;
41929 PyObject
* obj8
= 0 ;
41930 char * kwnames
[] = {
41931 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41936 if (!SWIG_IsOK(res1
)) {
41937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41939 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41941 if (!SWIG_IsOK(res2
)) {
41942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41946 if (!SWIG_IsOK(ecode3
)) {
41947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41949 arg3
= static_cast< int >(val3
);
41951 arg4
= wxString_in_helper(obj3
);
41952 if (arg4
== NULL
) SWIG_fail
;
41956 arg5
= wxString_in_helper(obj4
);
41957 if (arg5
== NULL
) SWIG_fail
;
41963 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41969 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41973 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41974 if (!SWIG_IsOK(ecode8
)) {
41975 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41977 arg8
= static_cast< long >(val8
);
41981 arg9
= wxString_in_helper(obj8
);
41982 if (arg9
== NULL
) SWIG_fail
;
41987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41989 wxPyEndAllowThreads(__tstate
);
41990 if (PyErr_Occurred()) SWIG_fail
;
41993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42025 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42026 PyObject
*resultobj
= 0;
42027 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42031 PyObject
*swig_obj
[1] ;
42033 if (!args
) SWIG_fail
;
42034 swig_obj
[0] = args
;
42035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42036 if (!SWIG_IsOK(res1
)) {
42037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42039 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42042 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42043 wxPyEndAllowThreads(__tstate
);
42044 if (PyErr_Occurred()) SWIG_fail
;
42046 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42053 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42054 PyObject
*resultobj
= 0;
42055 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42056 wxColour
*arg2
= 0 ;
42060 PyObject
* obj0
= 0 ;
42061 PyObject
* obj1
= 0 ;
42062 char * kwnames
[] = {
42063 (char *) "self",(char *) "colour", NULL
42066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42068 if (!SWIG_IsOK(res1
)) {
42069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42071 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42078 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42079 wxPyEndAllowThreads(__tstate
);
42080 if (PyErr_Occurred()) SWIG_fail
;
42082 resultobj
= SWIG_Py_Void();
42089 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42090 PyObject
*resultobj
= 0;
42091 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42095 PyObject
*swig_obj
[1] ;
42097 if (!args
) SWIG_fail
;
42098 swig_obj
[0] = args
;
42099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42100 if (!SWIG_IsOK(res1
)) {
42101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42103 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42106 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42107 wxPyEndAllowThreads(__tstate
);
42108 if (PyErr_Occurred()) SWIG_fail
;
42110 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42117 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42118 PyObject
*resultobj
= 0;
42119 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42120 wxColour
*arg2
= 0 ;
42124 PyObject
* obj0
= 0 ;
42125 PyObject
* obj1
= 0 ;
42126 char * kwnames
[] = {
42127 (char *) "self",(char *) "colour", NULL
42130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42132 if (!SWIG_IsOK(res1
)) {
42133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42135 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42142 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42143 wxPyEndAllowThreads(__tstate
);
42144 if (PyErr_Occurred()) SWIG_fail
;
42146 resultobj
= SWIG_Py_Void();
42153 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42154 PyObject
*resultobj
= 0;
42155 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42159 PyObject
*swig_obj
[1] ;
42161 if (!args
) SWIG_fail
;
42162 swig_obj
[0] = args
;
42163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42164 if (!SWIG_IsOK(res1
)) {
42165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42167 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42170 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42171 wxPyEndAllowThreads(__tstate
);
42172 if (PyErr_Occurred()) SWIG_fail
;
42174 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42181 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42182 PyObject
*resultobj
= 0;
42183 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42184 wxColour
*arg2
= 0 ;
42188 PyObject
* obj0
= 0 ;
42189 PyObject
* obj1
= 0 ;
42190 char * kwnames
[] = {
42191 (char *) "self",(char *) "colour", NULL
42194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42196 if (!SWIG_IsOK(res1
)) {
42197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42199 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42202 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42206 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42207 wxPyEndAllowThreads(__tstate
);
42208 if (PyErr_Occurred()) SWIG_fail
;
42210 resultobj
= SWIG_Py_Void();
42217 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42218 PyObject
*resultobj
= 0;
42219 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42223 PyObject
*swig_obj
[1] ;
42225 if (!args
) SWIG_fail
;
42226 swig_obj
[0] = args
;
42227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42228 if (!SWIG_IsOK(res1
)) {
42229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42231 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42234 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42235 wxPyEndAllowThreads(__tstate
);
42236 if (PyErr_Occurred()) SWIG_fail
;
42240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42251 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42252 PyObject
*resultobj
= 0;
42253 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42254 wxString
*arg2
= 0 ;
42257 bool temp2
= false ;
42258 PyObject
* obj0
= 0 ;
42259 PyObject
* obj1
= 0 ;
42260 char * kwnames
[] = {
42261 (char *) "self",(char *) "url", NULL
42264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42266 if (!SWIG_IsOK(res1
)) {
42267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42269 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42271 arg2
= wxString_in_helper(obj1
);
42272 if (arg2
== NULL
) SWIG_fail
;
42276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42277 (arg1
)->SetURL((wxString
const &)*arg2
);
42278 wxPyEndAllowThreads(__tstate
);
42279 if (PyErr_Occurred()) SWIG_fail
;
42281 resultobj
= SWIG_Py_Void();
42296 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42297 PyObject
*resultobj
= 0;
42298 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42299 bool arg2
= (bool) true ;
42304 PyObject
* obj0
= 0 ;
42305 PyObject
* obj1
= 0 ;
42306 char * kwnames
[] = {
42307 (char *) "self",(char *) "visited", NULL
42310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42312 if (!SWIG_IsOK(res1
)) {
42313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42315 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42318 if (!SWIG_IsOK(ecode2
)) {
42319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42321 arg2
= static_cast< bool >(val2
);
42324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42325 (arg1
)->SetVisited(arg2
);
42326 wxPyEndAllowThreads(__tstate
);
42327 if (PyErr_Occurred()) SWIG_fail
;
42329 resultobj
= SWIG_Py_Void();
42336 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42337 PyObject
*resultobj
= 0;
42338 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42342 PyObject
*swig_obj
[1] ;
42344 if (!args
) SWIG_fail
;
42345 swig_obj
[0] = args
;
42346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42347 if (!SWIG_IsOK(res1
)) {
42348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42350 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42353 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42354 wxPyEndAllowThreads(__tstate
);
42355 if (PyErr_Occurred()) SWIG_fail
;
42358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42366 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42369 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42370 return SWIG_Py_Void();
42373 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42374 return SWIG_Python_InitShadowInstance(args
);
42377 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42378 PyObject
*resultobj
= 0;
42379 wxObject
*arg1
= (wxObject
*) 0 ;
42381 wxString
*arg3
= 0 ;
42382 wxHyperlinkEvent
*result
= 0 ;
42387 bool temp3
= false ;
42388 PyObject
* obj0
= 0 ;
42389 PyObject
* obj1
= 0 ;
42390 PyObject
* obj2
= 0 ;
42391 char * kwnames
[] = {
42392 (char *) "generator",(char *) "id",(char *) "url", NULL
42395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42397 if (!SWIG_IsOK(res1
)) {
42398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42400 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42402 if (!SWIG_IsOK(ecode2
)) {
42403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42405 arg2
= static_cast< int >(val2
);
42407 arg3
= wxString_in_helper(obj2
);
42408 if (arg3
== NULL
) SWIG_fail
;
42412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42413 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42414 wxPyEndAllowThreads(__tstate
);
42415 if (PyErr_Occurred()) SWIG_fail
;
42417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42432 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42433 PyObject
*resultobj
= 0;
42434 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42438 PyObject
*swig_obj
[1] ;
42440 if (!args
) SWIG_fail
;
42441 swig_obj
[0] = args
;
42442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42443 if (!SWIG_IsOK(res1
)) {
42444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42446 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42449 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42450 wxPyEndAllowThreads(__tstate
);
42451 if (PyErr_Occurred()) SWIG_fail
;
42455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42466 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42467 PyObject
*resultobj
= 0;
42468 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42469 wxString
*arg2
= 0 ;
42472 bool temp2
= false ;
42473 PyObject
* obj0
= 0 ;
42474 PyObject
* obj1
= 0 ;
42475 char * kwnames
[] = {
42476 (char *) "self",(char *) "url", NULL
42479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42481 if (!SWIG_IsOK(res1
)) {
42482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42484 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42486 arg2
= wxString_in_helper(obj1
);
42487 if (arg2
== NULL
) SWIG_fail
;
42491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42492 (arg1
)->SetURL((wxString
const &)*arg2
);
42493 wxPyEndAllowThreads(__tstate
);
42494 if (PyErr_Occurred()) SWIG_fail
;
42496 resultobj
= SWIG_Py_Void();
42511 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42514 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42515 return SWIG_Py_Void();
42518 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42519 return SWIG_Python_InitShadowInstance(args
);
42522 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42523 PyObject
*resultobj
= 0;
42524 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42525 wxWindow
*arg2
= (wxWindow
*) 0 ;
42527 wxString
const &arg4_defvalue
= wxEmptyString
;
42528 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42529 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42530 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42531 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42532 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42533 long arg7
= (long) 0 ;
42534 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42535 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42536 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42537 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42545 bool temp4
= false ;
42552 bool temp9
= false ;
42553 PyObject
* obj0
= 0 ;
42554 PyObject
* obj1
= 0 ;
42555 PyObject
* obj2
= 0 ;
42556 PyObject
* obj3
= 0 ;
42557 PyObject
* obj4
= 0 ;
42558 PyObject
* obj5
= 0 ;
42559 PyObject
* obj6
= 0 ;
42560 PyObject
* obj7
= 0 ;
42561 PyObject
* obj8
= 0 ;
42562 char * kwnames
[] = {
42563 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42568 if (!SWIG_IsOK(res1
)) {
42569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42571 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42573 if (!SWIG_IsOK(res2
)) {
42574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42576 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42578 if (!SWIG_IsOK(ecode3
)) {
42579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42581 arg3
= static_cast< int >(val3
);
42584 arg4
= wxString_in_helper(obj3
);
42585 if (arg4
== NULL
) SWIG_fail
;
42592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42603 if (!SWIG_IsOK(ecode7
)) {
42604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42606 arg7
= static_cast< long >(val7
);
42609 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42610 if (!SWIG_IsOK(res8
)) {
42611 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42616 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42620 arg9
= wxString_in_helper(obj8
);
42621 if (arg9
== NULL
) SWIG_fail
;
42626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42627 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42628 wxPyEndAllowThreads(__tstate
);
42629 if (PyErr_Occurred()) SWIG_fail
;
42632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42656 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42657 PyObject
*resultobj
= 0;
42658 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42664 PyObject
* obj0
= 0 ;
42665 PyObject
* obj1
= 0 ;
42666 char * kwnames
[] = {
42667 (char *) "self",(char *) "newmargin", NULL
42670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42672 if (!SWIG_IsOK(res1
)) {
42673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42675 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42677 if (!SWIG_IsOK(ecode2
)) {
42678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42680 arg2
= static_cast< int >(val2
);
42682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42683 (arg1
)->SetInternalMargin(arg2
);
42684 wxPyEndAllowThreads(__tstate
);
42685 if (PyErr_Occurred()) SWIG_fail
;
42687 resultobj
= SWIG_Py_Void();
42694 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42695 PyObject
*resultobj
= 0;
42696 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42700 PyObject
*swig_obj
[1] ;
42702 if (!args
) SWIG_fail
;
42703 swig_obj
[0] = args
;
42704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42705 if (!SWIG_IsOK(res1
)) {
42706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42708 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42711 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42712 wxPyEndAllowThreads(__tstate
);
42713 if (PyErr_Occurred()) SWIG_fail
;
42715 resultobj
= SWIG_From_int(static_cast< int >(result
));
42722 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42723 PyObject
*resultobj
= 0;
42724 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42730 PyObject
* obj0
= 0 ;
42731 PyObject
* obj1
= 0 ;
42732 char * kwnames
[] = {
42733 (char *) "self",(char *) "prop", NULL
42736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42738 if (!SWIG_IsOK(res1
)) {
42739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42741 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42743 if (!SWIG_IsOK(ecode2
)) {
42744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42746 arg2
= static_cast< int >(val2
);
42748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42749 (arg1
)->SetTextCtrlProportion(arg2
);
42750 wxPyEndAllowThreads(__tstate
);
42751 if (PyErr_Occurred()) SWIG_fail
;
42753 resultobj
= SWIG_Py_Void();
42760 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42761 PyObject
*resultobj
= 0;
42762 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42766 PyObject
*swig_obj
[1] ;
42768 if (!args
) SWIG_fail
;
42769 swig_obj
[0] = args
;
42770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42771 if (!SWIG_IsOK(res1
)) {
42772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42774 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42777 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42778 wxPyEndAllowThreads(__tstate
);
42779 if (PyErr_Occurred()) SWIG_fail
;
42781 resultobj
= SWIG_From_int(static_cast< int >(result
));
42788 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42789 PyObject
*resultobj
= 0;
42790 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42796 PyObject
* obj0
= 0 ;
42797 PyObject
* obj1
= 0 ;
42798 char * kwnames
[] = {
42799 (char *) "self",(char *) "prop", NULL
42802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42804 if (!SWIG_IsOK(res1
)) {
42805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42807 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42809 if (!SWIG_IsOK(ecode2
)) {
42810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42812 arg2
= static_cast< int >(val2
);
42814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42815 (arg1
)->SetPickerCtrlProportion(arg2
);
42816 wxPyEndAllowThreads(__tstate
);
42817 if (PyErr_Occurred()) SWIG_fail
;
42819 resultobj
= SWIG_Py_Void();
42826 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42827 PyObject
*resultobj
= 0;
42828 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42832 PyObject
*swig_obj
[1] ;
42834 if (!args
) SWIG_fail
;
42835 swig_obj
[0] = args
;
42836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42837 if (!SWIG_IsOK(res1
)) {
42838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42840 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42843 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42844 wxPyEndAllowThreads(__tstate
);
42845 if (PyErr_Occurred()) SWIG_fail
;
42847 resultobj
= SWIG_From_int(static_cast< int >(result
));
42854 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42855 PyObject
*resultobj
= 0;
42856 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42860 PyObject
*swig_obj
[1] ;
42862 if (!args
) SWIG_fail
;
42863 swig_obj
[0] = args
;
42864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42865 if (!SWIG_IsOK(res1
)) {
42866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42868 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42871 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42872 wxPyEndAllowThreads(__tstate
);
42873 if (PyErr_Occurred()) SWIG_fail
;
42876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42884 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42885 PyObject
*resultobj
= 0;
42886 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42887 bool arg2
= (bool) true ;
42892 PyObject
* obj0
= 0 ;
42893 PyObject
* obj1
= 0 ;
42894 char * kwnames
[] = {
42895 (char *) "self",(char *) "grow", NULL
42898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42900 if (!SWIG_IsOK(res1
)) {
42901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42903 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42905 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42906 if (!SWIG_IsOK(ecode2
)) {
42907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42909 arg2
= static_cast< bool >(val2
);
42912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42913 (arg1
)->SetTextCtrlGrowable(arg2
);
42914 wxPyEndAllowThreads(__tstate
);
42915 if (PyErr_Occurred()) SWIG_fail
;
42917 resultobj
= SWIG_Py_Void();
42924 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42925 PyObject
*resultobj
= 0;
42926 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42930 PyObject
*swig_obj
[1] ;
42932 if (!args
) SWIG_fail
;
42933 swig_obj
[0] = args
;
42934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42935 if (!SWIG_IsOK(res1
)) {
42936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42938 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42941 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42942 wxPyEndAllowThreads(__tstate
);
42943 if (PyErr_Occurred()) SWIG_fail
;
42946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42954 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42955 PyObject
*resultobj
= 0;
42956 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42957 bool arg2
= (bool) true ;
42962 PyObject
* obj0
= 0 ;
42963 PyObject
* obj1
= 0 ;
42964 char * kwnames
[] = {
42965 (char *) "self",(char *) "grow", NULL
42968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42970 if (!SWIG_IsOK(res1
)) {
42971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42973 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42975 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42976 if (!SWIG_IsOK(ecode2
)) {
42977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42979 arg2
= static_cast< bool >(val2
);
42982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42983 (arg1
)->SetPickerCtrlGrowable(arg2
);
42984 wxPyEndAllowThreads(__tstate
);
42985 if (PyErr_Occurred()) SWIG_fail
;
42987 resultobj
= SWIG_Py_Void();
42994 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42995 PyObject
*resultobj
= 0;
42996 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43000 PyObject
*swig_obj
[1] ;
43002 if (!args
) SWIG_fail
;
43003 swig_obj
[0] = args
;
43004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43005 if (!SWIG_IsOK(res1
)) {
43006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43008 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43011 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43012 wxPyEndAllowThreads(__tstate
);
43013 if (PyErr_Occurred()) SWIG_fail
;
43016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43024 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43025 PyObject
*resultobj
= 0;
43026 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43027 wxTextCtrl
*result
= 0 ;
43030 PyObject
*swig_obj
[1] ;
43032 if (!args
) SWIG_fail
;
43033 swig_obj
[0] = args
;
43034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43035 if (!SWIG_IsOK(res1
)) {
43036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43038 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43041 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43042 wxPyEndAllowThreads(__tstate
);
43043 if (PyErr_Occurred()) SWIG_fail
;
43046 resultobj
= wxPyMake_wxObject(result
, 0);
43054 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43055 PyObject
*resultobj
= 0;
43056 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43057 wxControl
*result
= 0 ;
43060 PyObject
*swig_obj
[1] ;
43062 if (!args
) SWIG_fail
;
43063 swig_obj
[0] = args
;
43064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43065 if (!SWIG_IsOK(res1
)) {
43066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43068 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43071 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43072 wxPyEndAllowThreads(__tstate
);
43073 if (PyErr_Occurred()) SWIG_fail
;
43076 resultobj
= wxPyMake_wxObject(result
, 0);
43084 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43087 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43088 return SWIG_Py_Void();
43091 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43092 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43097 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43098 PyObject
*pyobj
= 0;
43102 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43104 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43111 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43112 PyObject
*resultobj
= 0;
43113 wxWindow
*arg1
= (wxWindow
*) 0 ;
43114 int arg2
= (int) -1 ;
43115 wxColour
const &arg3_defvalue
= *wxBLACK
;
43116 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43121 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43122 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43123 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43124 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43126 wxColourPickerCtrl
*result
= 0 ;
43138 bool temp8
= false ;
43139 PyObject
* obj0
= 0 ;
43140 PyObject
* obj1
= 0 ;
43141 PyObject
* obj2
= 0 ;
43142 PyObject
* obj3
= 0 ;
43143 PyObject
* obj4
= 0 ;
43144 PyObject
* obj5
= 0 ;
43145 PyObject
* obj6
= 0 ;
43146 PyObject
* obj7
= 0 ;
43147 char * kwnames
[] = {
43148 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43153 if (!SWIG_IsOK(res1
)) {
43154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43159 if (!SWIG_IsOK(ecode2
)) {
43160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43162 arg2
= static_cast< int >(val2
);
43167 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43183 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43184 if (!SWIG_IsOK(ecode6
)) {
43185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43187 arg6
= static_cast< long >(val6
);
43190 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43191 if (!SWIG_IsOK(res7
)) {
43192 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43197 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43201 arg8
= wxString_in_helper(obj7
);
43202 if (arg8
== NULL
) SWIG_fail
;
43207 if (!wxPyCheckForApp()) SWIG_fail
;
43208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43209 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43210 wxPyEndAllowThreads(__tstate
);
43211 if (PyErr_Occurred()) SWIG_fail
;
43213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43228 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43229 PyObject
*resultobj
= 0;
43230 wxColourPickerCtrl
*result
= 0 ;
43232 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43234 if (!wxPyCheckForApp()) SWIG_fail
;
43235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43236 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43237 wxPyEndAllowThreads(__tstate
);
43238 if (PyErr_Occurred()) SWIG_fail
;
43240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43247 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43248 PyObject
*resultobj
= 0;
43249 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43250 wxWindow
*arg2
= (wxWindow
*) 0 ;
43252 wxColour
const &arg4_defvalue
= *wxBLACK
;
43253 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43258 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43261 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43277 bool temp9
= false ;
43278 PyObject
* obj0
= 0 ;
43279 PyObject
* obj1
= 0 ;
43280 PyObject
* obj2
= 0 ;
43281 PyObject
* obj3
= 0 ;
43282 PyObject
* obj4
= 0 ;
43283 PyObject
* obj5
= 0 ;
43284 PyObject
* obj6
= 0 ;
43285 PyObject
* obj7
= 0 ;
43286 PyObject
* obj8
= 0 ;
43287 char * kwnames
[] = {
43288 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43293 if (!SWIG_IsOK(res1
)) {
43294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43296 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43298 if (!SWIG_IsOK(res2
)) {
43299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43303 if (!SWIG_IsOK(ecode3
)) {
43304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43306 arg3
= static_cast< int >(val3
);
43310 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43316 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43322 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43326 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43327 if (!SWIG_IsOK(ecode7
)) {
43328 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43330 arg7
= static_cast< long >(val7
);
43333 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43334 if (!SWIG_IsOK(res8
)) {
43335 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43340 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43344 arg9
= wxString_in_helper(obj8
);
43345 if (arg9
== NULL
) SWIG_fail
;
43350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43351 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43352 wxPyEndAllowThreads(__tstate
);
43353 if (PyErr_Occurred()) SWIG_fail
;
43356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43372 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43373 PyObject
*resultobj
= 0;
43374 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43378 PyObject
*swig_obj
[1] ;
43380 if (!args
) SWIG_fail
;
43381 swig_obj
[0] = args
;
43382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43383 if (!SWIG_IsOK(res1
)) {
43384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43386 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43389 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43390 wxPyEndAllowThreads(__tstate
);
43391 if (PyErr_Occurred()) SWIG_fail
;
43393 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43400 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43401 PyObject
*resultobj
= 0;
43402 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43403 wxColour
*arg2
= 0 ;
43407 PyObject
* obj0
= 0 ;
43408 PyObject
* obj1
= 0 ;
43409 char * kwnames
[] = {
43410 (char *) "self",(char *) "col", NULL
43413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43415 if (!SWIG_IsOK(res1
)) {
43416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43418 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43425 (arg1
)->SetColour((wxColour
const &)*arg2
);
43426 wxPyEndAllowThreads(__tstate
);
43427 if (PyErr_Occurred()) SWIG_fail
;
43429 resultobj
= SWIG_Py_Void();
43436 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43439 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43440 return SWIG_Py_Void();
43443 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43444 return SWIG_Python_InitShadowInstance(args
);
43447 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43448 PyObject
*resultobj
= 0;
43449 wxObject
*arg1
= (wxObject
*) 0 ;
43451 wxColour
*arg3
= 0 ;
43452 wxColourPickerEvent
*result
= 0 ;
43458 PyObject
* obj0
= 0 ;
43459 PyObject
* obj1
= 0 ;
43460 PyObject
* obj2
= 0 ;
43461 char * kwnames
[] = {
43462 (char *) "generator",(char *) "id",(char *) "col", NULL
43465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43467 if (!SWIG_IsOK(res1
)) {
43468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43470 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43472 if (!SWIG_IsOK(ecode2
)) {
43473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43475 arg2
= static_cast< int >(val2
);
43478 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43482 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43483 wxPyEndAllowThreads(__tstate
);
43484 if (PyErr_Occurred()) SWIG_fail
;
43486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43493 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43494 PyObject
*resultobj
= 0;
43495 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43499 PyObject
*swig_obj
[1] ;
43501 if (!args
) SWIG_fail
;
43502 swig_obj
[0] = args
;
43503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43504 if (!SWIG_IsOK(res1
)) {
43505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43507 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43510 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43511 wxPyEndAllowThreads(__tstate
);
43512 if (PyErr_Occurred()) SWIG_fail
;
43514 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43521 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43522 PyObject
*resultobj
= 0;
43523 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43524 wxColour
*arg2
= 0 ;
43528 PyObject
* obj0
= 0 ;
43529 PyObject
* obj1
= 0 ;
43530 char * kwnames
[] = {
43531 (char *) "self",(char *) "c", NULL
43534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43536 if (!SWIG_IsOK(res1
)) {
43537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43539 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43546 (arg1
)->SetColour((wxColour
const &)*arg2
);
43547 wxPyEndAllowThreads(__tstate
);
43548 if (PyErr_Occurred()) SWIG_fail
;
43550 resultobj
= SWIG_Py_Void();
43557 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43560 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43561 return SWIG_Py_Void();
43564 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43565 return SWIG_Python_InitShadowInstance(args
);
43568 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43569 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43574 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43575 PyObject
*pyobj
= 0;
43579 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43581 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43588 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43589 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43594 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43595 PyObject
*pyobj
= 0;
43599 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43601 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43608 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43609 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43614 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43615 PyObject
*pyobj
= 0;
43619 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43621 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43628 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43629 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43634 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43635 PyObject
*pyobj
= 0;
43639 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43641 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43648 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43649 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43654 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43655 PyObject
*pyobj
= 0;
43659 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43661 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43668 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43669 PyObject
*resultobj
= 0;
43670 wxWindow
*arg1
= (wxWindow
*) 0 ;
43671 int arg2
= (int) -1 ;
43672 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43673 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43674 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43676 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43677 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43678 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43679 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43680 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43681 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43682 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43683 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43684 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43685 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43686 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43687 wxFilePickerCtrl
*result
= 0 ;
43692 bool temp3
= false ;
43693 bool temp4
= false ;
43694 bool temp5
= false ;
43701 bool temp10
= false ;
43702 PyObject
* obj0
= 0 ;
43703 PyObject
* obj1
= 0 ;
43704 PyObject
* obj2
= 0 ;
43705 PyObject
* obj3
= 0 ;
43706 PyObject
* obj4
= 0 ;
43707 PyObject
* obj5
= 0 ;
43708 PyObject
* obj6
= 0 ;
43709 PyObject
* obj7
= 0 ;
43710 PyObject
* obj8
= 0 ;
43711 PyObject
* obj9
= 0 ;
43712 char * kwnames
[] = {
43713 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43718 if (!SWIG_IsOK(res1
)) {
43719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43724 if (!SWIG_IsOK(ecode2
)) {
43725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43727 arg2
= static_cast< int >(val2
);
43731 arg3
= wxString_in_helper(obj2
);
43732 if (arg3
== NULL
) SWIG_fail
;
43738 arg4
= wxString_in_helper(obj3
);
43739 if (arg4
== NULL
) SWIG_fail
;
43745 arg5
= wxString_in_helper(obj4
);
43746 if (arg5
== NULL
) SWIG_fail
;
43753 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43759 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43763 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43764 if (!SWIG_IsOK(ecode8
)) {
43765 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43767 arg8
= static_cast< long >(val8
);
43770 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43771 if (!SWIG_IsOK(res9
)) {
43772 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43777 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43781 arg10
= wxString_in_helper(obj9
);
43782 if (arg10
== NULL
) SWIG_fail
;
43787 if (!wxPyCheckForApp()) SWIG_fail
;
43788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43789 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
);
43790 wxPyEndAllowThreads(__tstate
);
43791 if (PyErr_Occurred()) SWIG_fail
;
43793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43832 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43833 PyObject
*resultobj
= 0;
43834 wxFilePickerCtrl
*result
= 0 ;
43836 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43838 if (!wxPyCheckForApp()) SWIG_fail
;
43839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43840 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43841 wxPyEndAllowThreads(__tstate
);
43842 if (PyErr_Occurred()) SWIG_fail
;
43844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43851 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43852 PyObject
*resultobj
= 0;
43853 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43854 wxWindow
*arg2
= (wxWindow
*) 0 ;
43855 int arg3
= (int) -1 ;
43856 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43857 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43858 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43859 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43860 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43861 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43862 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43863 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43864 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43865 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43866 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43867 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43868 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43869 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43870 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43878 bool temp4
= false ;
43879 bool temp5
= false ;
43880 bool temp6
= false ;
43887 bool temp11
= false ;
43888 PyObject
* obj0
= 0 ;
43889 PyObject
* obj1
= 0 ;
43890 PyObject
* obj2
= 0 ;
43891 PyObject
* obj3
= 0 ;
43892 PyObject
* obj4
= 0 ;
43893 PyObject
* obj5
= 0 ;
43894 PyObject
* obj6
= 0 ;
43895 PyObject
* obj7
= 0 ;
43896 PyObject
* obj8
= 0 ;
43897 PyObject
* obj9
= 0 ;
43898 PyObject
* obj10
= 0 ;
43899 char * kwnames
[] = {
43900 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43905 if (!SWIG_IsOK(res1
)) {
43906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43908 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43910 if (!SWIG_IsOK(res2
)) {
43911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43916 if (!SWIG_IsOK(ecode3
)) {
43917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43919 arg3
= static_cast< int >(val3
);
43923 arg4
= wxString_in_helper(obj3
);
43924 if (arg4
== NULL
) SWIG_fail
;
43930 arg5
= wxString_in_helper(obj4
);
43931 if (arg5
== NULL
) SWIG_fail
;
43937 arg6
= wxString_in_helper(obj5
);
43938 if (arg6
== NULL
) SWIG_fail
;
43945 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43951 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43955 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43956 if (!SWIG_IsOK(ecode9
)) {
43957 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43959 arg9
= static_cast< long >(val9
);
43962 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43963 if (!SWIG_IsOK(res10
)) {
43964 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43969 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43973 arg11
= wxString_in_helper(obj10
);
43974 if (arg11
== NULL
) SWIG_fail
;
43979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43980 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
);
43981 wxPyEndAllowThreads(__tstate
);
43982 if (PyErr_Occurred()) SWIG_fail
;
43985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44025 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44026 PyObject
*resultobj
= 0;
44027 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44031 PyObject
*swig_obj
[1] ;
44033 if (!args
) SWIG_fail
;
44034 swig_obj
[0] = args
;
44035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44036 if (!SWIG_IsOK(res1
)) {
44037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44039 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44042 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44043 wxPyEndAllowThreads(__tstate
);
44044 if (PyErr_Occurred()) SWIG_fail
;
44048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44059 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44060 PyObject
*resultobj
= 0;
44061 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44062 wxString
*arg2
= 0 ;
44065 bool temp2
= false ;
44066 PyObject
* obj0
= 0 ;
44067 PyObject
* obj1
= 0 ;
44068 char * kwnames
[] = {
44069 (char *) "self",(char *) "str", NULL
44072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44074 if (!SWIG_IsOK(res1
)) {
44075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44077 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44079 arg2
= wxString_in_helper(obj1
);
44080 if (arg2
== NULL
) SWIG_fail
;
44084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44085 (arg1
)->SetPath((wxString
const &)*arg2
);
44086 wxPyEndAllowThreads(__tstate
);
44087 if (PyErr_Occurred()) SWIG_fail
;
44089 resultobj
= SWIG_Py_Void();
44104 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44105 PyObject
*resultobj
= 0;
44106 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44107 wxString
*arg2
= 0 ;
44111 bool temp2
= false ;
44112 PyObject
* obj0
= 0 ;
44113 PyObject
* obj1
= 0 ;
44114 char * kwnames
[] = {
44115 (char *) "self",(char *) "path", NULL
44118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44120 if (!SWIG_IsOK(res1
)) {
44121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44123 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44125 arg2
= wxString_in_helper(obj1
);
44126 if (arg2
== NULL
) SWIG_fail
;
44130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44131 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44132 wxPyEndAllowThreads(__tstate
);
44133 if (PyErr_Occurred()) SWIG_fail
;
44136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44152 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44153 PyObject
*resultobj
= 0;
44154 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44158 PyObject
*swig_obj
[1] ;
44160 if (!args
) SWIG_fail
;
44161 swig_obj
[0] = args
;
44162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44163 if (!SWIG_IsOK(res1
)) {
44164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44166 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44169 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44170 wxPyEndAllowThreads(__tstate
);
44171 if (PyErr_Occurred()) SWIG_fail
;
44175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44186 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44189 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44190 return SWIG_Py_Void();
44193 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44194 return SWIG_Python_InitShadowInstance(args
);
44197 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44198 PyObject
*resultobj
= 0;
44199 wxWindow
*arg1
= (wxWindow
*) 0 ;
44200 int arg2
= (int) -1 ;
44201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44203 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44204 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44205 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44206 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44207 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44208 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44209 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44210 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44211 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44212 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44213 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44214 wxDirPickerCtrl
*result
= 0 ;
44219 bool temp3
= false ;
44220 bool temp4
= false ;
44227 bool temp9
= false ;
44228 PyObject
* obj0
= 0 ;
44229 PyObject
* obj1
= 0 ;
44230 PyObject
* obj2
= 0 ;
44231 PyObject
* obj3
= 0 ;
44232 PyObject
* obj4
= 0 ;
44233 PyObject
* obj5
= 0 ;
44234 PyObject
* obj6
= 0 ;
44235 PyObject
* obj7
= 0 ;
44236 PyObject
* obj8
= 0 ;
44237 char * kwnames
[] = {
44238 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44243 if (!SWIG_IsOK(res1
)) {
44244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44246 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44249 if (!SWIG_IsOK(ecode2
)) {
44250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44252 arg2
= static_cast< int >(val2
);
44256 arg3
= wxString_in_helper(obj2
);
44257 if (arg3
== NULL
) SWIG_fail
;
44263 arg4
= wxString_in_helper(obj3
);
44264 if (arg4
== NULL
) SWIG_fail
;
44271 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44277 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44281 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44282 if (!SWIG_IsOK(ecode7
)) {
44283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44285 arg7
= static_cast< long >(val7
);
44288 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44289 if (!SWIG_IsOK(res8
)) {
44290 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44295 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44299 arg9
= wxString_in_helper(obj8
);
44300 if (arg9
== NULL
) SWIG_fail
;
44305 if (!wxPyCheckForApp()) SWIG_fail
;
44306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44307 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
);
44308 wxPyEndAllowThreads(__tstate
);
44309 if (PyErr_Occurred()) SWIG_fail
;
44311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44342 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44343 PyObject
*resultobj
= 0;
44344 wxDirPickerCtrl
*result
= 0 ;
44346 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44348 if (!wxPyCheckForApp()) SWIG_fail
;
44349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44350 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44351 wxPyEndAllowThreads(__tstate
);
44352 if (PyErr_Occurred()) SWIG_fail
;
44354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44361 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44362 PyObject
*resultobj
= 0;
44363 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44364 wxWindow
*arg2
= (wxWindow
*) 0 ;
44365 int arg3
= (int) -1 ;
44366 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44367 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44368 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44369 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44370 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44371 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44372 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44373 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44374 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44375 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44376 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44377 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44378 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44386 bool temp4
= false ;
44387 bool temp5
= false ;
44394 bool temp10
= false ;
44395 PyObject
* obj0
= 0 ;
44396 PyObject
* obj1
= 0 ;
44397 PyObject
* obj2
= 0 ;
44398 PyObject
* obj3
= 0 ;
44399 PyObject
* obj4
= 0 ;
44400 PyObject
* obj5
= 0 ;
44401 PyObject
* obj6
= 0 ;
44402 PyObject
* obj7
= 0 ;
44403 PyObject
* obj8
= 0 ;
44404 PyObject
* obj9
= 0 ;
44405 char * kwnames
[] = {
44406 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44411 if (!SWIG_IsOK(res1
)) {
44412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44414 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44416 if (!SWIG_IsOK(res2
)) {
44417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44422 if (!SWIG_IsOK(ecode3
)) {
44423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44425 arg3
= static_cast< int >(val3
);
44429 arg4
= wxString_in_helper(obj3
);
44430 if (arg4
== NULL
) SWIG_fail
;
44436 arg5
= wxString_in_helper(obj4
);
44437 if (arg5
== NULL
) SWIG_fail
;
44444 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44450 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44454 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44455 if (!SWIG_IsOK(ecode8
)) {
44456 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44458 arg8
= static_cast< long >(val8
);
44461 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44462 if (!SWIG_IsOK(res9
)) {
44463 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44468 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44472 arg10
= wxString_in_helper(obj9
);
44473 if (arg10
== NULL
) SWIG_fail
;
44478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44479 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
);
44480 wxPyEndAllowThreads(__tstate
);
44481 if (PyErr_Occurred()) SWIG_fail
;
44484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44516 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44517 PyObject
*resultobj
= 0;
44518 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44522 PyObject
*swig_obj
[1] ;
44524 if (!args
) SWIG_fail
;
44525 swig_obj
[0] = args
;
44526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44527 if (!SWIG_IsOK(res1
)) {
44528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44530 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44533 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44534 wxPyEndAllowThreads(__tstate
);
44535 if (PyErr_Occurred()) SWIG_fail
;
44539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44550 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44551 PyObject
*resultobj
= 0;
44552 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44553 wxString
*arg2
= 0 ;
44556 bool temp2
= false ;
44557 PyObject
* obj0
= 0 ;
44558 PyObject
* obj1
= 0 ;
44559 char * kwnames
[] = {
44560 (char *) "self",(char *) "str", NULL
44563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44565 if (!SWIG_IsOK(res1
)) {
44566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44568 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44570 arg2
= wxString_in_helper(obj1
);
44571 if (arg2
== NULL
) SWIG_fail
;
44575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44576 (arg1
)->SetPath((wxString
const &)*arg2
);
44577 wxPyEndAllowThreads(__tstate
);
44578 if (PyErr_Occurred()) SWIG_fail
;
44580 resultobj
= SWIG_Py_Void();
44595 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44596 PyObject
*resultobj
= 0;
44597 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44598 wxString
*arg2
= 0 ;
44602 bool temp2
= false ;
44603 PyObject
* obj0
= 0 ;
44604 PyObject
* obj1
= 0 ;
44605 char * kwnames
[] = {
44606 (char *) "self",(char *) "path", NULL
44609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44611 if (!SWIG_IsOK(res1
)) {
44612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44614 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44616 arg2
= wxString_in_helper(obj1
);
44617 if (arg2
== NULL
) SWIG_fail
;
44621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44622 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44623 wxPyEndAllowThreads(__tstate
);
44624 if (PyErr_Occurred()) SWIG_fail
;
44627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44643 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44644 PyObject
*resultobj
= 0;
44645 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44649 PyObject
*swig_obj
[1] ;
44651 if (!args
) SWIG_fail
;
44652 swig_obj
[0] = args
;
44653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44654 if (!SWIG_IsOK(res1
)) {
44655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44657 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44660 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44661 wxPyEndAllowThreads(__tstate
);
44662 if (PyErr_Occurred()) SWIG_fail
;
44666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44677 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44680 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44681 return SWIG_Py_Void();
44684 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44685 return SWIG_Python_InitShadowInstance(args
);
44688 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44689 PyObject
*resultobj
= 0;
44691 wxObject
*arg2
= (wxObject
*) 0 ;
44693 wxString
*arg4
= 0 ;
44694 wxFileDirPickerEvent
*result
= 0 ;
44701 bool temp4
= false ;
44702 PyObject
* obj0
= 0 ;
44703 PyObject
* obj1
= 0 ;
44704 PyObject
* obj2
= 0 ;
44705 PyObject
* obj3
= 0 ;
44706 char * kwnames
[] = {
44707 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44712 if (!SWIG_IsOK(ecode1
)) {
44713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44715 arg1
= static_cast< wxEventType
>(val1
);
44716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44717 if (!SWIG_IsOK(res2
)) {
44718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44720 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44722 if (!SWIG_IsOK(ecode3
)) {
44723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44725 arg3
= static_cast< int >(val3
);
44727 arg4
= wxString_in_helper(obj3
);
44728 if (arg4
== NULL
) SWIG_fail
;
44732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44733 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44734 wxPyEndAllowThreads(__tstate
);
44735 if (PyErr_Occurred()) SWIG_fail
;
44737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44752 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44753 PyObject
*resultobj
= 0;
44754 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44758 PyObject
*swig_obj
[1] ;
44760 if (!args
) SWIG_fail
;
44761 swig_obj
[0] = args
;
44762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44763 if (!SWIG_IsOK(res1
)) {
44764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44766 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44769 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44770 wxPyEndAllowThreads(__tstate
);
44771 if (PyErr_Occurred()) SWIG_fail
;
44775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44786 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44787 PyObject
*resultobj
= 0;
44788 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44789 wxString
*arg2
= 0 ;
44792 bool temp2
= false ;
44793 PyObject
* obj0
= 0 ;
44794 PyObject
* obj1
= 0 ;
44795 char * kwnames
[] = {
44796 (char *) "self",(char *) "p", NULL
44799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44801 if (!SWIG_IsOK(res1
)) {
44802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44804 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44806 arg2
= wxString_in_helper(obj1
);
44807 if (arg2
== NULL
) SWIG_fail
;
44811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44812 (arg1
)->SetPath((wxString
const &)*arg2
);
44813 wxPyEndAllowThreads(__tstate
);
44814 if (PyErr_Occurred()) SWIG_fail
;
44816 resultobj
= SWIG_Py_Void();
44831 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44834 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44835 return SWIG_Py_Void();
44838 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44839 return SWIG_Python_InitShadowInstance(args
);
44842 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44843 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44848 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44849 PyObject
*pyobj
= 0;
44853 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44855 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44862 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44863 PyObject
*resultobj
= 0;
44864 wxWindow
*arg1
= (wxWindow
*) 0 ;
44865 int arg2
= (int) -1 ;
44866 wxFont
const &arg3_defvalue
= wxNullFont
;
44867 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44872 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44873 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44874 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44875 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44876 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44877 wxFontPickerCtrl
*result
= 0 ;
44890 bool temp8
= false ;
44891 PyObject
* obj0
= 0 ;
44892 PyObject
* obj1
= 0 ;
44893 PyObject
* obj2
= 0 ;
44894 PyObject
* obj3
= 0 ;
44895 PyObject
* obj4
= 0 ;
44896 PyObject
* obj5
= 0 ;
44897 PyObject
* obj6
= 0 ;
44898 PyObject
* obj7
= 0 ;
44899 char * kwnames
[] = {
44900 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44905 if (!SWIG_IsOK(res1
)) {
44906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44911 if (!SWIG_IsOK(ecode2
)) {
44912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44914 arg2
= static_cast< int >(val2
);
44917 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44918 if (!SWIG_IsOK(res3
)) {
44919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44924 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44929 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44935 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44939 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44940 if (!SWIG_IsOK(ecode6
)) {
44941 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44943 arg6
= static_cast< long >(val6
);
44946 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44947 if (!SWIG_IsOK(res7
)) {
44948 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44953 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44957 arg8
= wxString_in_helper(obj7
);
44958 if (arg8
== NULL
) SWIG_fail
;
44963 if (!wxPyCheckForApp()) SWIG_fail
;
44964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44965 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44966 wxPyEndAllowThreads(__tstate
);
44967 if (PyErr_Occurred()) SWIG_fail
;
44969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44984 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44985 PyObject
*resultobj
= 0;
44986 wxFontPickerCtrl
*result
= 0 ;
44988 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44990 if (!wxPyCheckForApp()) SWIG_fail
;
44991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44992 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44993 wxPyEndAllowThreads(__tstate
);
44994 if (PyErr_Occurred()) SWIG_fail
;
44996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45003 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45004 PyObject
*resultobj
= 0;
45005 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45006 wxWindow
*arg2
= (wxWindow
*) 0 ;
45007 int arg3
= (int) -1 ;
45008 wxFont
const &arg4_defvalue
= wxNullFont
;
45009 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45010 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45011 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45012 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45013 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45014 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45015 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45016 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45017 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45018 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45034 bool temp9
= false ;
45035 PyObject
* obj0
= 0 ;
45036 PyObject
* obj1
= 0 ;
45037 PyObject
* obj2
= 0 ;
45038 PyObject
* obj3
= 0 ;
45039 PyObject
* obj4
= 0 ;
45040 PyObject
* obj5
= 0 ;
45041 PyObject
* obj6
= 0 ;
45042 PyObject
* obj7
= 0 ;
45043 PyObject
* obj8
= 0 ;
45044 char * kwnames
[] = {
45045 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45050 if (!SWIG_IsOK(res1
)) {
45051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45053 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45055 if (!SWIG_IsOK(res2
)) {
45056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45058 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45061 if (!SWIG_IsOK(ecode3
)) {
45062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45064 arg3
= static_cast< int >(val3
);
45067 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45068 if (!SWIG_IsOK(res4
)) {
45069 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45074 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45079 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45085 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45089 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45090 if (!SWIG_IsOK(ecode7
)) {
45091 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45093 arg7
= static_cast< long >(val7
);
45096 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45097 if (!SWIG_IsOK(res8
)) {
45098 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45103 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45107 arg9
= wxString_in_helper(obj8
);
45108 if (arg9
== NULL
) SWIG_fail
;
45113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45115 wxPyEndAllowThreads(__tstate
);
45116 if (PyErr_Occurred()) SWIG_fail
;
45119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45135 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45136 PyObject
*resultobj
= 0;
45137 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45141 PyObject
*swig_obj
[1] ;
45143 if (!args
) SWIG_fail
;
45144 swig_obj
[0] = args
;
45145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45146 if (!SWIG_IsOK(res1
)) {
45147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45149 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45152 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45153 wxPyEndAllowThreads(__tstate
);
45154 if (PyErr_Occurred()) SWIG_fail
;
45156 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45163 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45164 PyObject
*resultobj
= 0;
45165 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45171 PyObject
* obj0
= 0 ;
45172 PyObject
* obj1
= 0 ;
45173 char * kwnames
[] = {
45174 (char *) "self",(char *) "f", NULL
45177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45179 if (!SWIG_IsOK(res1
)) {
45180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45182 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45184 if (!SWIG_IsOK(res2
)) {
45185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45190 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45193 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45194 wxPyEndAllowThreads(__tstate
);
45195 if (PyErr_Occurred()) SWIG_fail
;
45197 resultobj
= SWIG_Py_Void();
45204 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45205 PyObject
*resultobj
= 0;
45206 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45207 unsigned int arg2
;
45210 unsigned int val2
;
45212 PyObject
* obj0
= 0 ;
45213 PyObject
* obj1
= 0 ;
45214 char * kwnames
[] = {
45215 (char *) "self",(char *) "max", NULL
45218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45220 if (!SWIG_IsOK(res1
)) {
45221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45223 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45224 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45225 if (!SWIG_IsOK(ecode2
)) {
45226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45228 arg2
= static_cast< unsigned int >(val2
);
45230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45231 (arg1
)->SetMaxPointSize(arg2
);
45232 wxPyEndAllowThreads(__tstate
);
45233 if (PyErr_Occurred()) SWIG_fail
;
45235 resultobj
= SWIG_Py_Void();
45242 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45243 PyObject
*resultobj
= 0;
45244 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45245 unsigned int result
;
45248 PyObject
*swig_obj
[1] ;
45250 if (!args
) SWIG_fail
;
45251 swig_obj
[0] = args
;
45252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45253 if (!SWIG_IsOK(res1
)) {
45254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45256 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45259 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45260 wxPyEndAllowThreads(__tstate
);
45261 if (PyErr_Occurred()) SWIG_fail
;
45263 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45270 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45273 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45274 return SWIG_Py_Void();
45277 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45278 return SWIG_Python_InitShadowInstance(args
);
45281 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45282 PyObject
*resultobj
= 0;
45283 wxObject
*arg1
= (wxObject
*) 0 ;
45286 wxFontPickerEvent
*result
= 0 ;
45293 PyObject
* obj0
= 0 ;
45294 PyObject
* obj1
= 0 ;
45295 PyObject
* obj2
= 0 ;
45296 char * kwnames
[] = {
45297 (char *) "generator",(char *) "id",(char *) "f", NULL
45300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45302 if (!SWIG_IsOK(res1
)) {
45303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45305 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45307 if (!SWIG_IsOK(ecode2
)) {
45308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45310 arg2
= static_cast< int >(val2
);
45311 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45312 if (!SWIG_IsOK(res3
)) {
45313 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45318 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45321 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45322 wxPyEndAllowThreads(__tstate
);
45323 if (PyErr_Occurred()) SWIG_fail
;
45325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45332 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45333 PyObject
*resultobj
= 0;
45334 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45338 PyObject
*swig_obj
[1] ;
45340 if (!args
) SWIG_fail
;
45341 swig_obj
[0] = args
;
45342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45343 if (!SWIG_IsOK(res1
)) {
45344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45346 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45349 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45350 wxPyEndAllowThreads(__tstate
);
45351 if (PyErr_Occurred()) SWIG_fail
;
45353 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45360 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45361 PyObject
*resultobj
= 0;
45362 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45368 PyObject
* obj0
= 0 ;
45369 PyObject
* obj1
= 0 ;
45370 char * kwnames
[] = {
45371 (char *) "self",(char *) "c", NULL
45374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45376 if (!SWIG_IsOK(res1
)) {
45377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45379 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45381 if (!SWIG_IsOK(res2
)) {
45382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45387 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45390 (arg1
)->SetFont((wxFont
const &)*arg2
);
45391 wxPyEndAllowThreads(__tstate
);
45392 if (PyErr_Occurred()) SWIG_fail
;
45394 resultobj
= SWIG_Py_Void();
45401 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45404 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45405 return SWIG_Py_Void();
45408 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45409 return SWIG_Python_InitShadowInstance(args
);
45412 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45413 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45418 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45419 PyObject
*pyobj
= 0;
45423 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45425 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45432 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45433 PyObject
*resultobj
= 0;
45434 wxWindow
*arg1
= (wxWindow
*) 0 ;
45435 int arg2
= (int) -1 ;
45436 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45437 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45442 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45443 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45444 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45445 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45447 wxCollapsiblePane
*result
= 0 ;
45452 bool temp3
= false ;
45459 bool temp8
= false ;
45460 PyObject
* obj0
= 0 ;
45461 PyObject
* obj1
= 0 ;
45462 PyObject
* obj2
= 0 ;
45463 PyObject
* obj3
= 0 ;
45464 PyObject
* obj4
= 0 ;
45465 PyObject
* obj5
= 0 ;
45466 PyObject
* obj6
= 0 ;
45467 PyObject
* obj7
= 0 ;
45468 char * kwnames
[] = {
45469 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45474 if (!SWIG_IsOK(res1
)) {
45475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45480 if (!SWIG_IsOK(ecode2
)) {
45481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45483 arg2
= static_cast< int >(val2
);
45487 arg3
= wxString_in_helper(obj2
);
45488 if (arg3
== NULL
) SWIG_fail
;
45495 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45501 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45505 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45506 if (!SWIG_IsOK(ecode6
)) {
45507 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45509 arg6
= static_cast< long >(val6
);
45512 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45513 if (!SWIG_IsOK(res7
)) {
45514 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45519 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45523 arg8
= wxString_in_helper(obj7
);
45524 if (arg8
== NULL
) SWIG_fail
;
45529 if (!wxPyCheckForApp()) SWIG_fail
;
45530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45531 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45532 wxPyEndAllowThreads(__tstate
);
45533 if (PyErr_Occurred()) SWIG_fail
;
45535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45558 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45559 PyObject
*resultobj
= 0;
45560 wxCollapsiblePane
*result
= 0 ;
45562 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45564 if (!wxPyCheckForApp()) SWIG_fail
;
45565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45566 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45567 wxPyEndAllowThreads(__tstate
);
45568 if (PyErr_Occurred()) SWIG_fail
;
45570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45577 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45578 PyObject
*resultobj
= 0;
45579 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45580 wxWindow
*arg2
= (wxWindow
*) 0 ;
45581 int arg3
= (int) -1 ;
45582 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45583 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45584 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45585 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45586 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45587 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45588 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45589 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45590 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45591 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45592 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45600 bool temp4
= false ;
45607 bool temp9
= false ;
45608 PyObject
* obj0
= 0 ;
45609 PyObject
* obj1
= 0 ;
45610 PyObject
* obj2
= 0 ;
45611 PyObject
* obj3
= 0 ;
45612 PyObject
* obj4
= 0 ;
45613 PyObject
* obj5
= 0 ;
45614 PyObject
* obj6
= 0 ;
45615 PyObject
* obj7
= 0 ;
45616 PyObject
* obj8
= 0 ;
45617 char * kwnames
[] = {
45618 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45623 if (!SWIG_IsOK(res1
)) {
45624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45626 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45628 if (!SWIG_IsOK(res2
)) {
45629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45634 if (!SWIG_IsOK(ecode3
)) {
45635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45637 arg3
= static_cast< int >(val3
);
45641 arg4
= wxString_in_helper(obj3
);
45642 if (arg4
== NULL
) SWIG_fail
;
45649 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45655 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45659 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45660 if (!SWIG_IsOK(ecode7
)) {
45661 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45663 arg7
= static_cast< long >(val7
);
45666 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45667 if (!SWIG_IsOK(res8
)) {
45668 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45673 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45677 arg9
= wxString_in_helper(obj8
);
45678 if (arg9
== NULL
) SWIG_fail
;
45683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45685 wxPyEndAllowThreads(__tstate
);
45686 if (PyErr_Occurred()) SWIG_fail
;
45689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45713 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45714 PyObject
*resultobj
= 0;
45715 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45716 bool arg2
= (bool) true ;
45721 PyObject
* obj0
= 0 ;
45722 PyObject
* obj1
= 0 ;
45723 char * kwnames
[] = {
45724 (char *) "self",(char *) "collapse", NULL
45727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45729 if (!SWIG_IsOK(res1
)) {
45730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45732 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45735 if (!SWIG_IsOK(ecode2
)) {
45736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45738 arg2
= static_cast< bool >(val2
);
45741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45742 (arg1
)->Collapse(arg2
);
45743 wxPyEndAllowThreads(__tstate
);
45744 if (PyErr_Occurred()) SWIG_fail
;
45746 resultobj
= SWIG_Py_Void();
45753 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45754 PyObject
*resultobj
= 0;
45755 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45758 PyObject
*swig_obj
[1] ;
45760 if (!args
) SWIG_fail
;
45761 swig_obj
[0] = args
;
45762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45763 if (!SWIG_IsOK(res1
)) {
45764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45766 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45770 wxPyEndAllowThreads(__tstate
);
45771 if (PyErr_Occurred()) SWIG_fail
;
45773 resultobj
= SWIG_Py_Void();
45780 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45781 PyObject
*resultobj
= 0;
45782 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45786 PyObject
*swig_obj
[1] ;
45788 if (!args
) SWIG_fail
;
45789 swig_obj
[0] = args
;
45790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45791 if (!SWIG_IsOK(res1
)) {
45792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45794 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45797 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45798 wxPyEndAllowThreads(__tstate
);
45799 if (PyErr_Occurred()) SWIG_fail
;
45802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45810 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45811 PyObject
*resultobj
= 0;
45812 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45816 PyObject
*swig_obj
[1] ;
45818 if (!args
) SWIG_fail
;
45819 swig_obj
[0] = args
;
45820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45821 if (!SWIG_IsOK(res1
)) {
45822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45824 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45827 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45828 wxPyEndAllowThreads(__tstate
);
45829 if (PyErr_Occurred()) SWIG_fail
;
45832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45840 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45841 PyObject
*resultobj
= 0;
45842 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45843 wxWindow
*result
= 0 ;
45846 PyObject
*swig_obj
[1] ;
45848 if (!args
) SWIG_fail
;
45849 swig_obj
[0] = args
;
45850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45851 if (!SWIG_IsOK(res1
)) {
45852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45854 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45857 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45858 wxPyEndAllowThreads(__tstate
);
45859 if (PyErr_Occurred()) SWIG_fail
;
45862 resultobj
= wxPyMake_wxObject(result
, 0);
45870 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45873 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45874 return SWIG_Py_Void();
45877 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45878 return SWIG_Python_InitShadowInstance(args
);
45881 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45882 PyObject
*resultobj
= 0;
45883 wxObject
*arg1
= (wxObject
*) 0 ;
45886 wxCollapsiblePaneEvent
*result
= 0 ;
45893 PyObject
* obj0
= 0 ;
45894 PyObject
* obj1
= 0 ;
45895 PyObject
* obj2
= 0 ;
45896 char * kwnames
[] = {
45897 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45902 if (!SWIG_IsOK(res1
)) {
45903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45905 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45907 if (!SWIG_IsOK(ecode2
)) {
45908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45910 arg2
= static_cast< int >(val2
);
45911 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45912 if (!SWIG_IsOK(ecode3
)) {
45913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45915 arg3
= static_cast< bool >(val3
);
45917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45918 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45919 wxPyEndAllowThreads(__tstate
);
45920 if (PyErr_Occurred()) SWIG_fail
;
45922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45929 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45930 PyObject
*resultobj
= 0;
45931 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45935 PyObject
*swig_obj
[1] ;
45937 if (!args
) SWIG_fail
;
45938 swig_obj
[0] = args
;
45939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45940 if (!SWIG_IsOK(res1
)) {
45941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45943 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45946 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45947 wxPyEndAllowThreads(__tstate
);
45948 if (PyErr_Occurred()) SWIG_fail
;
45951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45959 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45960 PyObject
*resultobj
= 0;
45961 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45967 PyObject
* obj0
= 0 ;
45968 PyObject
* obj1
= 0 ;
45969 char * kwnames
[] = {
45970 (char *) "self",(char *) "c", NULL
45973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45975 if (!SWIG_IsOK(res1
)) {
45976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45978 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45979 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45980 if (!SWIG_IsOK(ecode2
)) {
45981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45983 arg2
= static_cast< bool >(val2
);
45985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45986 (arg1
)->SetCollapsed(arg2
);
45987 wxPyEndAllowThreads(__tstate
);
45988 if (PyErr_Occurred()) SWIG_fail
;
45990 resultobj
= SWIG_Py_Void();
45997 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46000 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46001 return SWIG_Py_Void();
46004 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46005 return SWIG_Python_InitShadowInstance(args
);
46008 static PyMethodDef SwigMethods
[] = {
46009 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46011 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46013 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46014 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46016 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46017 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46019 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46021 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46022 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46023 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46024 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46025 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46032 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46033 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46034 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46035 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46037 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46039 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46040 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46042 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46044 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46045 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46047 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46048 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46050 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46052 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46054 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46055 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46057 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46059 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46061 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46062 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46063 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46065 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46066 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46069 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46070 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46074 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46076 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46077 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46078 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46079 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46080 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46081 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46082 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46083 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46084 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46086 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46087 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46089 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46092 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46094 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46095 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46096 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46098 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46100 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46102 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46103 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46105 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46108 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46109 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46111 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46113 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46114 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46116 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46117 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46119 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46123 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46124 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46126 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46128 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46132 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46133 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46135 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46146 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46151 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46157 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46158 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46160 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46164 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46165 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46166 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46168 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46169 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46179 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46180 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46181 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46182 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46183 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46184 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46185 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46187 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46188 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46189 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46190 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46191 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46192 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46193 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46194 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46195 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46196 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46198 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46199 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46201 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46203 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46205 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46210 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46211 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46212 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46213 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46214 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46215 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46216 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46217 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46222 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46223 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46232 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46238 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46239 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46240 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46241 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46242 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46243 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46244 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46245 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46246 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46247 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46249 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46250 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46251 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46253 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46255 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46259 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46260 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46262 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46263 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46264 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46265 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46266 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46268 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46270 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46271 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46272 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46273 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46274 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46277 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46278 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46280 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46282 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46283 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46284 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46289 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46291 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46292 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46294 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46296 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46300 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46301 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46304 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46305 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46307 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46309 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46310 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46312 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46315 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46316 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46318 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46326 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46327 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46334 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46335 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46337 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46339 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46342 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46343 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46345 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46347 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46350 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46351 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46356 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46357 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46359 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46361 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46362 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46364 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46365 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46366 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46369 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46370 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46372 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46375 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46377 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46378 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46379 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46381 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46382 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46387 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46392 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46394 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46396 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46398 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46399 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46402 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46410 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46412 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46414 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46416 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46417 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46419 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46421 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46424 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46428 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46429 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46432 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46434 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46436 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46437 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46438 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46440 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46441 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46443 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46445 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46446 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46447 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46449 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46450 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46452 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46460 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46461 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46462 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46464 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46465 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46467 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46469 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46470 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46471 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46472 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46475 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46476 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46477 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46478 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46479 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46480 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46481 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46482 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46483 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46484 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46485 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46486 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46487 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46488 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46489 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46490 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46491 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46492 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46494 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46501 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46503 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46505 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46513 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46518 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46519 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46536 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46537 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46538 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46539 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46542 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46543 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46545 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46546 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46549 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46550 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46551 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46553 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46556 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46557 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46559 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46563 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46564 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46565 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46566 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46567 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46568 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46570 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46571 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46572 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46573 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46574 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46575 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46576 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46590 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46591 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46592 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46593 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46594 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46595 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46596 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46597 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46598 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46599 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46600 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46601 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46602 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46603 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46604 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46605 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46606 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46607 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46608 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46609 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46610 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46611 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46612 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46613 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46614 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46615 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46616 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46617 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46618 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46619 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46620 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46621 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46622 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46623 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46624 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46625 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46627 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46628 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46629 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46630 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46631 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46632 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46633 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46634 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46635 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46636 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46637 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46638 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46639 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46640 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46641 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46642 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46643 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46644 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46645 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46646 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46647 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46648 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46649 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46650 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46652 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46653 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46655 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46662 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46663 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46664 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46679 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46680 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46681 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46683 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46684 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46686 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46692 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46693 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46698 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46700 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46701 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46724 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46726 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46727 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46729 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46733 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46735 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46739 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46740 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46741 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46742 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46743 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46746 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46747 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46748 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46749 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46751 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46752 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46754 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46756 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46757 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46758 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46759 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46760 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46762 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46764 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46766 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46767 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46769 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46771 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46774 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46775 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46776 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46778 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46781 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46782 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46784 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46786 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46787 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46815 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46816 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46817 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46824 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46834 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46837 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46841 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46843 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46849 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46855 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46856 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46857 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46859 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46863 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46865 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46866 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46869 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46870 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46872 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46874 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46875 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46876 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46878 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46879 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46880 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46881 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46883 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46886 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46887 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46889 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46896 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46897 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46898 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46899 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46900 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46901 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46902 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46903 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46904 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46906 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46908 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46910 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46912 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46914 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46915 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46917 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46919 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46920 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46921 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46923 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46924 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46925 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46927 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46934 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46935 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46936 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46937 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46938 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46944 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46948 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46950 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46951 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46956 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46957 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46959 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46962 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46964 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46965 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46966 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46967 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46969 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46971 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46973 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46975 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46977 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46980 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46981 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46982 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46984 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46986 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46987 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46990 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46992 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46994 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46995 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46997 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46999 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47000 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47001 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47002 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47004 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47006 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47008 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47009 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47011 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47013 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47014 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47016 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47018 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47021 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47022 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47023 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47025 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47027 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47030 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47031 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47032 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47034 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47036 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47037 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47039 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47041 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47044 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47045 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47046 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47048 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47050 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47051 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47053 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47056 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47057 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47058 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47059 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47060 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47061 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47063 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47065 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47066 { NULL
, NULL
, 0, NULL
}
47070 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47072 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47073 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47075 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47076 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47078 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47079 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47081 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47082 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47084 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47085 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47087 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47088 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47090 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47091 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47093 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47094 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47096 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47099 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47102 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47105 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47106 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47108 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47111 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47114 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47117 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47118 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47120 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47121 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47123 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47124 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47126 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47127 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47129 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47130 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47132 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47135 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47136 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47138 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47139 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47141 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47144 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47145 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47147 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47150 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47151 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47153 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47154 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47156 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47157 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47159 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47160 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47162 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47163 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47165 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47166 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47168 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47171 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47174 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47175 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47177 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47178 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47180 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47183 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47186 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47187 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47189 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47190 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47192 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47193 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47195 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47196 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47198 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47201 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47202 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47204 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47205 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47207 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47208 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47210 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47211 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47213 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47214 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47216 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47217 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47219 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47222 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47223 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47225 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47226 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47228 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47229 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47231 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47232 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47234 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47235 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47237 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47238 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47240 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47241 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47243 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47244 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47246 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47247 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47249 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47250 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47252 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47253 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47255 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47256 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47258 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47259 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47261 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47262 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47264 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47265 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47267 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47268 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47270 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47271 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47273 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47274 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47276 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47277 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47279 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47280 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47282 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47283 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47285 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47286 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47288 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47289 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47291 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47292 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47294 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47295 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47297 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47298 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47300 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47301 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47303 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47304 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47306 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47307 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47309 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47310 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47312 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47313 return (void *)((wxControl
*) ((wxGauge
*) x
));
47315 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47316 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47318 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47319 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47321 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47322 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47324 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47325 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47327 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47328 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47330 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47331 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47333 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47334 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47336 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47337 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47339 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47340 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47342 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47343 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47345 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47346 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47348 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47349 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47351 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47352 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47354 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47355 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47357 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47358 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47360 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47361 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47363 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47364 return (void *)((wxControl
*) ((wxSlider
*) x
));
47366 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47367 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47369 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47370 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47372 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47373 return (void *)((wxControl
*) ((wxButton
*) x
));
47375 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47376 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47378 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47379 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47381 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47382 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47384 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47385 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47387 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47388 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47390 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47391 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47393 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47394 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47396 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47397 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47399 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47400 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47402 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47403 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47405 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47406 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47408 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47409 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47411 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47412 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47414 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47415 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47417 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47418 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47420 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47421 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47423 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47424 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47426 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47427 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47429 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47430 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47432 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47433 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47435 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47436 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47438 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47439 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47441 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47442 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47444 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47445 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47447 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47450 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47451 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47453 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47456 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47457 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47459 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47460 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47462 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47465 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47468 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47469 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47471 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47474 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47477 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47480 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47481 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47483 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47484 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47486 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47489 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47492 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47495 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47498 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47501 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47502 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47504 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47507 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47510 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47513 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47516 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47519 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47522 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47525 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47528 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47531 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47534 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47537 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47540 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47543 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47546 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47549 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47552 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47555 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47558 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47561 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47564 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47567 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47570 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47573 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47576 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47579 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47582 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47585 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47588 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47591 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47594 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47597 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47600 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47601 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47603 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47604 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47606 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47607 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47609 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47610 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47612 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47613 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47615 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47618 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47621 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47624 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47627 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47630 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47633 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47636 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47639 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47642 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) ((wxSizer
*) x
));
47645 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47648 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47651 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47654 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47657 static void *_p_wxEventTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) ((wxEvent
*) x
));
47660 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47663 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47666 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47669 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47672 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47675 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47678 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47681 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47684 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47687 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47690 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47693 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47696 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47699 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47702 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47705 static void *_p_wxControlTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47708 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47711 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47714 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47717 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47720 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47723 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47726 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47729 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47732 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47735 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47738 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47741 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47742 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47744 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47747 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47750 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47753 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47756 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47759 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47760 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47762 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47765 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47768 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47771 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47772 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47774 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47777 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47780 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47781 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47783 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47786 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47787 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47789 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47792 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47793 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47795 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47796 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47798 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47799 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47801 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47802 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47804 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47805 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47807 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47808 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47810 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47813 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47814 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47816 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
47817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47819 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47822 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47823 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47825 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47828 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47831 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47834 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47837 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47838 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47840 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47841 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47843 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47844 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47846 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47847 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47849 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47850 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47852 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47853 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47855 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47856 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47858 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47861 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47864 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47865 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47867 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47868 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47870 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47873 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47876 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47879 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47882 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47885 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47888 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47891 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47892 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47894 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47895 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47897 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47900 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47903 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47906 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47909 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47910 return (void *)((wxObject
*) ((wxListItem
*) x
));
47912 static void *_p_wxImageTo_p_wxObject(void *x
) {
47913 return (void *)((wxObject
*) ((wxImage
*) x
));
47915 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47916 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47918 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47921 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47922 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47924 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47927 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47930 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47933 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47936 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47939 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47942 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47943 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47945 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47946 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47948 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47949 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47951 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47952 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47954 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47955 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47957 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47960 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47961 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47963 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
47964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47966 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47969 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47970 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47972 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47975 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47976 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47978 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47979 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47981 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47982 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47984 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47987 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47990 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47993 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47994 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47996 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47999 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48000 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48002 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48003 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48005 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48008 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48011 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48014 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48017 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48020 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48023 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48026 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48029 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48030 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48032 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48035 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48038 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48039 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48041 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48042 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48044 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48045 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48047 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48048 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48050 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48051 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48053 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48054 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48056 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48057 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48059 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48060 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48062 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48063 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48065 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48066 return (void *)((wxWindow
*) ((wxControl
*) x
));
48068 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48069 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48071 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48072 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48074 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48075 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48077 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48078 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48080 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48081 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48083 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48084 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48086 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48087 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48089 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48090 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48092 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48093 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48095 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48096 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48098 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48099 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48101 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48102 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48104 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48105 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48107 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48108 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48110 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48111 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48113 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48114 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48116 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48117 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48119 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48120 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48122 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48123 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48125 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48126 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48128 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48129 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48131 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48132 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48134 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48135 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48137 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48138 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48140 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48141 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48143 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48144 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48146 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48147 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48149 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48150 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48152 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48153 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48155 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48156 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48158 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48159 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48161 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48162 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48164 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48165 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48167 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48168 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48170 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48171 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48173 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48174 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48176 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48177 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48179 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48180 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48182 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48183 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48185 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48186 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48188 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48189 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48191 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48192 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48194 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48195 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48197 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48198 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48200 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48201 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48203 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48204 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48206 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48207 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48209 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48210 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48212 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48213 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48215 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48216 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48218 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48219 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48221 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48222 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48224 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48225 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48227 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48228 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48230 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48231 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48233 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48234 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48236 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48237 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48239 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48240 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48242 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48243 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48245 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48246 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48248 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48249 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48251 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48252 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48254 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48255 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48257 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48258 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48260 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48261 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48263 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48264 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48266 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48267 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48269 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48270 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48272 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48273 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48275 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48276 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48278 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48279 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48281 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48282 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48284 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48285 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48287 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48288 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48289 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};
48290 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48291 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48292 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48293 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48294 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48295 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48296 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48297 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48298 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48299 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48300 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48301 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48302 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48303 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48304 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48305 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48306 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48307 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48308 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48309 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48310 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48311 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48312 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48313 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48314 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48315 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48316 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48317 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48318 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48319 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48320 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48321 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48322 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48323 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48324 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48325 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48326 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48327 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48328 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48329 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48330 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48331 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48332 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48333 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48334 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48335 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48336 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48337 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48338 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48339 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48340 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48341 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48342 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48343 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48344 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48345 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48346 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48347 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48348 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48349 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48350 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48351 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48352 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48353 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48354 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48355 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48356 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48357 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48358 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48359 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48360 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48361 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48362 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48363 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48364 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48365 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48366 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48367 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48368 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48369 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48370 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48371 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48372 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48373 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48374 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48375 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48376 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48377 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48378 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48379 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48380 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48381 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48382 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48383 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48384 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48385 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48386 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48387 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48388 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48389 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48390 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48391 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48392 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48393 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48394 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48395 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48396 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48397 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48398 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48399 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48400 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48401 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48402 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48403 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48404 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48405 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48406 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48407 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48408 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48409 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48410 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48411 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48412 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48413 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48414 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48415 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48416 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48417 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48418 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48419 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48420 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48421 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48422 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48423 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48424 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48425 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48426 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48427 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48428 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48429 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48430 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48431 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48432 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48433 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48434 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48435 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48436 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48437 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48438 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48439 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48440 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48441 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48442 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48443 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48444 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48445 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48446 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48447 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48448 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48449 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48450 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48451 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48452 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48453 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48454 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48455 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48456 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48457 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48458 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48459 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48460 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48461 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48462 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48463 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48464 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48466 static swig_type_info
*swig_type_initial
[] = {
48469 &_swigt__p_form_ops_t
,
48472 &_swigt__p_unsigned_char
,
48473 &_swigt__p_unsigned_int
,
48474 &_swigt__p_unsigned_long
,
48476 &_swigt__p_wxANIHandler
,
48477 &_swigt__p_wxAcceleratorTable
,
48478 &_swigt__p_wxActivateEvent
,
48479 &_swigt__p_wxArrayInt
,
48480 &_swigt__p_wxArrayString
,
48481 &_swigt__p_wxBMPHandler
,
48482 &_swigt__p_wxBitmap
,
48483 &_swigt__p_wxBitmapButton
,
48484 &_swigt__p_wxBookCtrlBase
,
48485 &_swigt__p_wxBookCtrlBaseEvent
,
48486 &_swigt__p_wxBoxSizer
,
48487 &_swigt__p_wxButton
,
48488 &_swigt__p_wxCURHandler
,
48489 &_swigt__p_wxCheckBox
,
48490 &_swigt__p_wxCheckListBox
,
48491 &_swigt__p_wxChildFocusEvent
,
48492 &_swigt__p_wxChoice
,
48493 &_swigt__p_wxChoicebook
,
48494 &_swigt__p_wxChoicebookEvent
,
48495 &_swigt__p_wxClipboardTextEvent
,
48496 &_swigt__p_wxCloseEvent
,
48497 &_swigt__p_wxCollapsiblePane
,
48498 &_swigt__p_wxCollapsiblePaneEvent
,
48499 &_swigt__p_wxColour
,
48500 &_swigt__p_wxColourPickerCtrl
,
48501 &_swigt__p_wxColourPickerEvent
,
48502 &_swigt__p_wxComboBox
,
48503 &_swigt__p_wxCommandEvent
,
48504 &_swigt__p_wxContextHelp
,
48505 &_swigt__p_wxContextHelpButton
,
48506 &_swigt__p_wxContextMenuEvent
,
48507 &_swigt__p_wxControl
,
48508 &_swigt__p_wxControlWithItems
,
48509 &_swigt__p_wxCursor
,
48511 &_swigt__p_wxDateEvent
,
48512 &_swigt__p_wxDatePickerCtrl
,
48513 &_swigt__p_wxDateTime
,
48514 &_swigt__p_wxDirFilterListCtrl
,
48515 &_swigt__p_wxDirPickerCtrl
,
48516 &_swigt__p_wxDisplayChangedEvent
,
48517 &_swigt__p_wxDropFilesEvent
,
48518 &_swigt__p_wxDuplexMode
,
48519 &_swigt__p_wxEraseEvent
,
48520 &_swigt__p_wxEvent
,
48521 &_swigt__p_wxEvtHandler
,
48522 &_swigt__p_wxFSFile
,
48523 &_swigt__p_wxFileDirPickerEvent
,
48524 &_swigt__p_wxFilePickerCtrl
,
48525 &_swigt__p_wxFileSystem
,
48526 &_swigt__p_wxFlexGridSizer
,
48527 &_swigt__p_wxFocusEvent
,
48529 &_swigt__p_wxFontPickerCtrl
,
48530 &_swigt__p_wxFontPickerEvent
,
48531 &_swigt__p_wxGBSizerItem
,
48532 &_swigt__p_wxGIFHandler
,
48533 &_swigt__p_wxGauge
,
48534 &_swigt__p_wxGenericDirCtrl
,
48535 &_swigt__p_wxGenericDragImage
,
48536 &_swigt__p_wxGridBagSizer
,
48537 &_swigt__p_wxGridSizer
,
48538 &_swigt__p_wxHelpEvent
,
48539 &_swigt__p_wxHelpProvider
,
48540 &_swigt__p_wxHyperlinkCtrl
,
48541 &_swigt__p_wxHyperlinkEvent
,
48542 &_swigt__p_wxICOHandler
,
48544 &_swigt__p_wxIconizeEvent
,
48545 &_swigt__p_wxIdleEvent
,
48546 &_swigt__p_wxImage
,
48547 &_swigt__p_wxImageHandler
,
48548 &_swigt__p_wxImageList
,
48549 &_swigt__p_wxIndividualLayoutConstraint
,
48550 &_swigt__p_wxInitDialogEvent
,
48551 &_swigt__p_wxItemContainer
,
48552 &_swigt__p_wxJPEGHandler
,
48553 &_swigt__p_wxKeyEvent
,
48554 &_swigt__p_wxLayoutConstraints
,
48555 &_swigt__p_wxListBox
,
48556 &_swigt__p_wxListEvent
,
48557 &_swigt__p_wxListItem
,
48558 &_swigt__p_wxListItemAttr
,
48559 &_swigt__p_wxListView
,
48560 &_swigt__p_wxListbook
,
48561 &_swigt__p_wxListbookEvent
,
48562 &_swigt__p_wxMaximizeEvent
,
48563 &_swigt__p_wxMemoryDC
,
48565 &_swigt__p_wxMenuBar
,
48566 &_swigt__p_wxMenuEvent
,
48567 &_swigt__p_wxMenuItem
,
48568 &_swigt__p_wxMouseCaptureChangedEvent
,
48569 &_swigt__p_wxMouseCaptureLostEvent
,
48570 &_swigt__p_wxMouseEvent
,
48571 &_swigt__p_wxMoveEvent
,
48572 &_swigt__p_wxNavigationKeyEvent
,
48573 &_swigt__p_wxNcPaintEvent
,
48574 &_swigt__p_wxNotebook
,
48575 &_swigt__p_wxNotebookEvent
,
48576 &_swigt__p_wxNotifyEvent
,
48577 &_swigt__p_wxObject
,
48578 &_swigt__p_wxPCXHandler
,
48579 &_swigt__p_wxPNGHandler
,
48580 &_swigt__p_wxPNMHandler
,
48581 &_swigt__p_wxPaintEvent
,
48582 &_swigt__p_wxPaletteChangedEvent
,
48583 &_swigt__p_wxPaperSize
,
48584 &_swigt__p_wxPickerBase
,
48585 &_swigt__p_wxPoint
,
48586 &_swigt__p_wxPyApp
,
48587 &_swigt__p_wxPyCommandEvent
,
48588 &_swigt__p_wxPyControl
,
48589 &_swigt__p_wxPyEvent
,
48590 &_swigt__p_wxPyImageHandler
,
48591 &_swigt__p_wxPyListCtrl
,
48592 &_swigt__p_wxPySizer
,
48593 &_swigt__p_wxPyTreeCtrl
,
48594 &_swigt__p_wxPyTreeItemData
,
48595 &_swigt__p_wxPyValidator
,
48596 &_swigt__p_wxQueryNewPaletteEvent
,
48597 &_swigt__p_wxRadioBox
,
48598 &_swigt__p_wxRadioButton
,
48600 &_swigt__p_wxScrollBar
,
48601 &_swigt__p_wxScrollEvent
,
48602 &_swigt__p_wxScrollWinEvent
,
48603 &_swigt__p_wxSetCursorEvent
,
48604 &_swigt__p_wxShowEvent
,
48605 &_swigt__p_wxSimpleHelpProvider
,
48607 &_swigt__p_wxSizeEvent
,
48608 &_swigt__p_wxSizer
,
48609 &_swigt__p_wxSizerItem
,
48610 &_swigt__p_wxSlider
,
48611 &_swigt__p_wxSpinButton
,
48612 &_swigt__p_wxSpinCtrl
,
48613 &_swigt__p_wxSpinEvent
,
48614 &_swigt__p_wxStaticBitmap
,
48615 &_swigt__p_wxStaticBox
,
48616 &_swigt__p_wxStaticBoxSizer
,
48617 &_swigt__p_wxStaticLine
,
48618 &_swigt__p_wxStaticText
,
48619 &_swigt__p_wxStdDialogButtonSizer
,
48620 &_swigt__p_wxString
,
48621 &_swigt__p_wxSysColourChangedEvent
,
48622 &_swigt__p_wxTGAHandler
,
48623 &_swigt__p_wxTIFFHandler
,
48624 &_swigt__p_wxTextAttr
,
48625 &_swigt__p_wxTextCtrl
,
48626 &_swigt__p_wxTextUrlEvent
,
48627 &_swigt__p_wxToggleButton
,
48628 &_swigt__p_wxToolBar
,
48629 &_swigt__p_wxToolBarBase
,
48630 &_swigt__p_wxToolBarToolBase
,
48631 &_swigt__p_wxToolbook
,
48632 &_swigt__p_wxToolbookEvent
,
48633 &_swigt__p_wxTreeEvent
,
48634 &_swigt__p_wxTreeItemId
,
48635 &_swigt__p_wxTreebook
,
48636 &_swigt__p_wxTreebookEvent
,
48637 &_swigt__p_wxUpdateUIEvent
,
48638 &_swigt__p_wxValidator
,
48639 &_swigt__p_wxVisualAttributes
,
48640 &_swigt__p_wxWindow
,
48641 &_swigt__p_wxWindowBase
,
48642 &_swigt__p_wxWindowCreateEvent
,
48643 &_swigt__p_wxWindowDestroyEvent
,
48644 &_swigt__p_wxXPMHandler
,
48647 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48648 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48649 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48650 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48651 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48658 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48659 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}};
48660 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}};
48661 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}};
48662 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}};
48663 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48664 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48665 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}};
48666 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48668 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48669 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48671 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48672 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48673 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48676 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48677 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48680 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48681 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48685 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48686 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_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}};
48687 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}};
48688 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48689 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48690 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48691 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48692 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48693 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48694 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48695 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48697 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48698 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48699 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48705 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48706 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48708 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48710 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48711 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48713 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48714 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48720 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
48721 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48723 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48724 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48725 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
48726 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48727 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48728 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48729 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48730 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48731 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48732 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48734 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48735 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}};
48736 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48737 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48738 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48739 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48740 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}};
48741 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48742 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}};
48743 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48744 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48745 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48746 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48747 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48748 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48749 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48750 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48751 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48752 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48753 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}};
48754 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48755 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48756 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48757 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48758 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48759 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48760 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48761 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48762 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48763 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48764 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48765 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48766 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48767 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48768 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48769 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48770 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48771 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48772 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48773 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48774 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48775 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48776 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48777 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48778 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48779 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48780 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48781 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48782 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48783 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48784 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48785 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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
48786 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48787 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}};
48788 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48789 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48790 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}};
48791 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48792 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48793 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48794 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48795 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48796 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48797 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48798 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48799 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48800 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48801 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48802 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48803 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48804 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48805 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48806 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48807 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48808 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48809 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48810 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48811 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48812 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48813 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}};
48814 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48815 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48816 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48817 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48818 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48819 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48820 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48821 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}};
48822 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48823 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
48824 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48826 static swig_cast_info
*swig_cast_initial
[] = {
48829 _swigc__p_form_ops_t
,
48832 _swigc__p_unsigned_char
,
48833 _swigc__p_unsigned_int
,
48834 _swigc__p_unsigned_long
,
48836 _swigc__p_wxANIHandler
,
48837 _swigc__p_wxAcceleratorTable
,
48838 _swigc__p_wxActivateEvent
,
48839 _swigc__p_wxArrayInt
,
48840 _swigc__p_wxArrayString
,
48841 _swigc__p_wxBMPHandler
,
48842 _swigc__p_wxBitmap
,
48843 _swigc__p_wxBitmapButton
,
48844 _swigc__p_wxBookCtrlBase
,
48845 _swigc__p_wxBookCtrlBaseEvent
,
48846 _swigc__p_wxBoxSizer
,
48847 _swigc__p_wxButton
,
48848 _swigc__p_wxCURHandler
,
48849 _swigc__p_wxCheckBox
,
48850 _swigc__p_wxCheckListBox
,
48851 _swigc__p_wxChildFocusEvent
,
48852 _swigc__p_wxChoice
,
48853 _swigc__p_wxChoicebook
,
48854 _swigc__p_wxChoicebookEvent
,
48855 _swigc__p_wxClipboardTextEvent
,
48856 _swigc__p_wxCloseEvent
,
48857 _swigc__p_wxCollapsiblePane
,
48858 _swigc__p_wxCollapsiblePaneEvent
,
48859 _swigc__p_wxColour
,
48860 _swigc__p_wxColourPickerCtrl
,
48861 _swigc__p_wxColourPickerEvent
,
48862 _swigc__p_wxComboBox
,
48863 _swigc__p_wxCommandEvent
,
48864 _swigc__p_wxContextHelp
,
48865 _swigc__p_wxContextHelpButton
,
48866 _swigc__p_wxContextMenuEvent
,
48867 _swigc__p_wxControl
,
48868 _swigc__p_wxControlWithItems
,
48869 _swigc__p_wxCursor
,
48871 _swigc__p_wxDateEvent
,
48872 _swigc__p_wxDatePickerCtrl
,
48873 _swigc__p_wxDateTime
,
48874 _swigc__p_wxDirFilterListCtrl
,
48875 _swigc__p_wxDirPickerCtrl
,
48876 _swigc__p_wxDisplayChangedEvent
,
48877 _swigc__p_wxDropFilesEvent
,
48878 _swigc__p_wxDuplexMode
,
48879 _swigc__p_wxEraseEvent
,
48881 _swigc__p_wxEvtHandler
,
48882 _swigc__p_wxFSFile
,
48883 _swigc__p_wxFileDirPickerEvent
,
48884 _swigc__p_wxFilePickerCtrl
,
48885 _swigc__p_wxFileSystem
,
48886 _swigc__p_wxFlexGridSizer
,
48887 _swigc__p_wxFocusEvent
,
48889 _swigc__p_wxFontPickerCtrl
,
48890 _swigc__p_wxFontPickerEvent
,
48891 _swigc__p_wxGBSizerItem
,
48892 _swigc__p_wxGIFHandler
,
48894 _swigc__p_wxGenericDirCtrl
,
48895 _swigc__p_wxGenericDragImage
,
48896 _swigc__p_wxGridBagSizer
,
48897 _swigc__p_wxGridSizer
,
48898 _swigc__p_wxHelpEvent
,
48899 _swigc__p_wxHelpProvider
,
48900 _swigc__p_wxHyperlinkCtrl
,
48901 _swigc__p_wxHyperlinkEvent
,
48902 _swigc__p_wxICOHandler
,
48904 _swigc__p_wxIconizeEvent
,
48905 _swigc__p_wxIdleEvent
,
48907 _swigc__p_wxImageHandler
,
48908 _swigc__p_wxImageList
,
48909 _swigc__p_wxIndividualLayoutConstraint
,
48910 _swigc__p_wxInitDialogEvent
,
48911 _swigc__p_wxItemContainer
,
48912 _swigc__p_wxJPEGHandler
,
48913 _swigc__p_wxKeyEvent
,
48914 _swigc__p_wxLayoutConstraints
,
48915 _swigc__p_wxListBox
,
48916 _swigc__p_wxListEvent
,
48917 _swigc__p_wxListItem
,
48918 _swigc__p_wxListItemAttr
,
48919 _swigc__p_wxListView
,
48920 _swigc__p_wxListbook
,
48921 _swigc__p_wxListbookEvent
,
48922 _swigc__p_wxMaximizeEvent
,
48923 _swigc__p_wxMemoryDC
,
48925 _swigc__p_wxMenuBar
,
48926 _swigc__p_wxMenuEvent
,
48927 _swigc__p_wxMenuItem
,
48928 _swigc__p_wxMouseCaptureChangedEvent
,
48929 _swigc__p_wxMouseCaptureLostEvent
,
48930 _swigc__p_wxMouseEvent
,
48931 _swigc__p_wxMoveEvent
,
48932 _swigc__p_wxNavigationKeyEvent
,
48933 _swigc__p_wxNcPaintEvent
,
48934 _swigc__p_wxNotebook
,
48935 _swigc__p_wxNotebookEvent
,
48936 _swigc__p_wxNotifyEvent
,
48937 _swigc__p_wxObject
,
48938 _swigc__p_wxPCXHandler
,
48939 _swigc__p_wxPNGHandler
,
48940 _swigc__p_wxPNMHandler
,
48941 _swigc__p_wxPaintEvent
,
48942 _swigc__p_wxPaletteChangedEvent
,
48943 _swigc__p_wxPaperSize
,
48944 _swigc__p_wxPickerBase
,
48947 _swigc__p_wxPyCommandEvent
,
48948 _swigc__p_wxPyControl
,
48949 _swigc__p_wxPyEvent
,
48950 _swigc__p_wxPyImageHandler
,
48951 _swigc__p_wxPyListCtrl
,
48952 _swigc__p_wxPySizer
,
48953 _swigc__p_wxPyTreeCtrl
,
48954 _swigc__p_wxPyTreeItemData
,
48955 _swigc__p_wxPyValidator
,
48956 _swigc__p_wxQueryNewPaletteEvent
,
48957 _swigc__p_wxRadioBox
,
48958 _swigc__p_wxRadioButton
,
48960 _swigc__p_wxScrollBar
,
48961 _swigc__p_wxScrollEvent
,
48962 _swigc__p_wxScrollWinEvent
,
48963 _swigc__p_wxSetCursorEvent
,
48964 _swigc__p_wxShowEvent
,
48965 _swigc__p_wxSimpleHelpProvider
,
48967 _swigc__p_wxSizeEvent
,
48969 _swigc__p_wxSizerItem
,
48970 _swigc__p_wxSlider
,
48971 _swigc__p_wxSpinButton
,
48972 _swigc__p_wxSpinCtrl
,
48973 _swigc__p_wxSpinEvent
,
48974 _swigc__p_wxStaticBitmap
,
48975 _swigc__p_wxStaticBox
,
48976 _swigc__p_wxStaticBoxSizer
,
48977 _swigc__p_wxStaticLine
,
48978 _swigc__p_wxStaticText
,
48979 _swigc__p_wxStdDialogButtonSizer
,
48980 _swigc__p_wxString
,
48981 _swigc__p_wxSysColourChangedEvent
,
48982 _swigc__p_wxTGAHandler
,
48983 _swigc__p_wxTIFFHandler
,
48984 _swigc__p_wxTextAttr
,
48985 _swigc__p_wxTextCtrl
,
48986 _swigc__p_wxTextUrlEvent
,
48987 _swigc__p_wxToggleButton
,
48988 _swigc__p_wxToolBar
,
48989 _swigc__p_wxToolBarBase
,
48990 _swigc__p_wxToolBarToolBase
,
48991 _swigc__p_wxToolbook
,
48992 _swigc__p_wxToolbookEvent
,
48993 _swigc__p_wxTreeEvent
,
48994 _swigc__p_wxTreeItemId
,
48995 _swigc__p_wxTreebook
,
48996 _swigc__p_wxTreebookEvent
,
48997 _swigc__p_wxUpdateUIEvent
,
48998 _swigc__p_wxValidator
,
48999 _swigc__p_wxVisualAttributes
,
49000 _swigc__p_wxWindow
,
49001 _swigc__p_wxWindowBase
,
49002 _swigc__p_wxWindowCreateEvent
,
49003 _swigc__p_wxWindowDestroyEvent
,
49004 _swigc__p_wxXPMHandler
,
49008 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49010 static swig_const_info swig_const_table
[] = {
49011 {0, 0, 0, 0.0, 0, 0}};
49016 /* -----------------------------------------------------------------------------
49017 * Type initialization:
49018 * This problem is tough by the requirement that no dynamic
49019 * memory is used. Also, since swig_type_info structures store pointers to
49020 * swig_cast_info structures and swig_cast_info structures store pointers back
49021 * to swig_type_info structures, we need some lookup code at initialization.
49022 * The idea is that swig generates all the structures that are needed.
49023 * The runtime then collects these partially filled structures.
49024 * The SWIG_InitializeModule function takes these initial arrays out of
49025 * swig_module, and does all the lookup, filling in the swig_module.types
49026 * array with the correct data and linking the correct swig_cast_info
49027 * structures together.
49029 * The generated swig_type_info structures are assigned staticly to an initial
49030 * array. We just loop though that array, and handle each type individually.
49031 * First we lookup if this type has been already loaded, and if so, use the
49032 * loaded structure instead of the generated one. Then we have to fill in the
49033 * cast linked list. The cast data is initially stored in something like a
49034 * two-dimensional array. Each row corresponds to a type (there are the same
49035 * number of rows as there are in the swig_type_initial array). Each entry in
49036 * a column is one of the swig_cast_info structures for that type.
49037 * The cast_initial array is actually an array of arrays, because each row has
49038 * a variable number of columns. So to actually build the cast linked list,
49039 * we find the array of casts associated with the type, and loop through it
49040 * adding the casts to the list. The one last trick we need to do is making
49041 * sure the type pointer in the swig_cast_info struct is correct.
49043 * First off, we lookup the cast->type name to see if it is already loaded.
49044 * There are three cases to handle:
49045 * 1) If the cast->type has already been loaded AND the type we are adding
49046 * casting info to has not been loaded (it is in this module), THEN we
49047 * replace the cast->type pointer with the type pointer that has already
49049 * 2) If BOTH types (the one we are adding casting info to, and the
49050 * cast->type) are loaded, THEN the cast info has already been loaded by
49051 * the previous module so we just ignore it.
49052 * 3) Finally, if cast->type has not already been loaded, then we add that
49053 * swig_cast_info to the linked list (because the cast->type) pointer will
49055 * ----------------------------------------------------------------------------- */
49065 #define SWIGRUNTIME_DEBUG
49069 SWIG_InitializeModule(void *clientdata
) {
49071 swig_module_info
*module_head
;
49072 static int init_run
= 0;
49074 clientdata
= clientdata
;
49076 if (init_run
) return;
49079 /* Initialize the swig_module */
49080 swig_module
.type_initial
= swig_type_initial
;
49081 swig_module
.cast_initial
= swig_cast_initial
;
49083 /* Try and load any already created modules */
49084 module_head
= SWIG_GetModule(clientdata
);
49086 swig_module
.next
= module_head
->next
;
49087 module_head
->next
= &swig_module
;
49089 /* This is the first module loaded */
49090 swig_module
.next
= &swig_module
;
49091 SWIG_SetModule(clientdata
, &swig_module
);
49094 /* Now work on filling in swig_module.types */
49095 #ifdef SWIGRUNTIME_DEBUG
49096 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49098 for (i
= 0; i
< swig_module
.size
; ++i
) {
49099 swig_type_info
*type
= 0;
49100 swig_type_info
*ret
;
49101 swig_cast_info
*cast
;
49103 #ifdef SWIGRUNTIME_DEBUG
49104 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49107 /* if there is another module already loaded */
49108 if (swig_module
.next
!= &swig_module
) {
49109 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49112 /* Overwrite clientdata field */
49113 #ifdef SWIGRUNTIME_DEBUG
49114 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49116 if (swig_module
.type_initial
[i
]->clientdata
) {
49117 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49118 #ifdef SWIGRUNTIME_DEBUG
49119 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49123 type
= swig_module
.type_initial
[i
];
49126 /* Insert casting types */
49127 cast
= swig_module
.cast_initial
[i
];
49128 while (cast
->type
) {
49129 /* Don't need to add information already in the list */
49131 #ifdef SWIGRUNTIME_DEBUG
49132 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49134 if (swig_module
.next
!= &swig_module
) {
49135 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49136 #ifdef SWIGRUNTIME_DEBUG
49137 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49141 if (type
== swig_module
.type_initial
[i
]) {
49142 #ifdef SWIGRUNTIME_DEBUG
49143 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49148 /* Check for casting already in the list */
49149 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49150 #ifdef SWIGRUNTIME_DEBUG
49151 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49153 if (!ocast
) ret
= 0;
49158 #ifdef SWIGRUNTIME_DEBUG
49159 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49162 type
->cast
->prev
= cast
;
49163 cast
->next
= type
->cast
;
49169 /* Set entry in modules->types array equal to the type */
49170 swig_module
.types
[i
] = type
;
49172 swig_module
.types
[i
] = 0;
49174 #ifdef SWIGRUNTIME_DEBUG
49175 printf("**** SWIG_InitializeModule: Cast List ******\n");
49176 for (i
= 0; i
< swig_module
.size
; ++i
) {
49178 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49179 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49180 while (cast
->type
) {
49181 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49185 printf("---- Total casts: %d\n",j
);
49187 printf("**** SWIG_InitializeModule: Cast List ******\n");
49191 /* This function will propagate the clientdata field of type to
49192 * any new swig_type_info structures that have been added into the list
49193 * of equivalent types. It is like calling
49194 * SWIG_TypeClientData(type, clientdata) a second time.
49197 SWIG_PropagateClientData(void) {
49199 swig_cast_info
*equiv
;
49200 static int init_run
= 0;
49202 if (init_run
) return;
49205 for (i
= 0; i
< swig_module
.size
; i
++) {
49206 if (swig_module
.types
[i
]->clientdata
) {
49207 equiv
= swig_module
.types
[i
]->cast
;
49209 if (!equiv
->converter
) {
49210 if (equiv
->type
&& !equiv
->type
->clientdata
)
49211 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49213 equiv
= equiv
->next
;
49233 /* Python-specific SWIG API */
49234 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49235 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49236 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49238 /* -----------------------------------------------------------------------------
49239 * global variable support code.
49240 * ----------------------------------------------------------------------------- */
49242 typedef struct swig_globalvar
{
49243 char *name
; /* Name of global variable */
49244 PyObject
*(*get_attr
)(void); /* Return the current value */
49245 int (*set_attr
)(PyObject
*); /* Set the value */
49246 struct swig_globalvar
*next
;
49249 typedef struct swig_varlinkobject
{
49251 swig_globalvar
*vars
;
49252 } swig_varlinkobject
;
49254 SWIGINTERN PyObject
*
49255 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49256 return PyString_FromString("<Swig global variables>");
49259 SWIGINTERN PyObject
*
49260 swig_varlink_str(swig_varlinkobject
*v
) {
49261 PyObject
*str
= PyString_FromString("(");
49262 swig_globalvar
*var
;
49263 for (var
= v
->vars
; var
; var
=var
->next
) {
49264 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49265 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49267 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49272 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49273 PyObject
*str
= swig_varlink_str(v
);
49274 fprintf(fp
,"Swig global variables ");
49275 fprintf(fp
,"%s\n", PyString_AsString(str
));
49281 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49282 swig_globalvar
*var
= v
->vars
;
49284 swig_globalvar
*n
= var
->next
;
49291 SWIGINTERN PyObject
*
49292 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49293 PyObject
*res
= NULL
;
49294 swig_globalvar
*var
= v
->vars
;
49296 if (strcmp(var
->name
,n
) == 0) {
49297 res
= (*var
->get_attr
)();
49302 if (res
== NULL
&& !PyErr_Occurred()) {
49303 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49309 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49311 swig_globalvar
*var
= v
->vars
;
49313 if (strcmp(var
->name
,n
) == 0) {
49314 res
= (*var
->set_attr
)(p
);
49319 if (res
== 1 && !PyErr_Occurred()) {
49320 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49325 SWIGINTERN PyTypeObject
*
49326 swig_varlink_type(void) {
49327 static char varlink__doc__
[] = "Swig var link object";
49328 static PyTypeObject varlink_type
;
49329 static int type_init
= 0;
49331 const PyTypeObject tmp
49333 PyObject_HEAD_INIT(NULL
)
49334 0, /* Number of items in variable part (ob_size) */
49335 (char *)"swigvarlink", /* Type name (tp_name) */
49336 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49337 0, /* Itemsize (tp_itemsize) */
49338 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49339 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49340 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49341 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49342 0, /* tp_compare */
49343 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49344 0, /* tp_as_number */
49345 0, /* tp_as_sequence */
49346 0, /* tp_as_mapping */
49349 (reprfunc
)swig_varlink_str
, /* tp_str */
49350 0, /* tp_getattro */
49351 0, /* tp_setattro */
49352 0, /* tp_as_buffer */
49354 varlink__doc__
, /* tp_doc */
49355 0, /* tp_traverse */
49357 0, /* tp_richcompare */
49358 0, /* tp_weaklistoffset */
49359 #if PY_VERSION_HEX >= 0x02020000
49360 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49362 #if PY_VERSION_HEX >= 0x02030000
49365 #ifdef COUNT_ALLOCS
49366 0,0,0,0 /* tp_alloc -> tp_next */
49369 varlink_type
= tmp
;
49370 varlink_type
.ob_type
= &PyType_Type
;
49373 return &varlink_type
;
49376 /* Create a variable linking object for use later */
49377 SWIGINTERN PyObject
*
49378 SWIG_Python_newvarlink(void) {
49379 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49383 return ((PyObject
*) result
);
49387 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49388 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49389 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49391 size_t size
= strlen(name
)+1;
49392 gv
->name
= (char *)malloc(size
);
49394 strncpy(gv
->name
,name
,size
);
49395 gv
->get_attr
= get_attr
;
49396 gv
->set_attr
= set_attr
;
49397 gv
->next
= v
->vars
;
49403 SWIGINTERN PyObject
*
49405 static PyObject
*_SWIG_globals
= 0;
49406 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49407 return _SWIG_globals
;
49410 /* -----------------------------------------------------------------------------
49411 * constants/methods manipulation
49412 * ----------------------------------------------------------------------------- */
49414 /* Install Constants */
49416 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49419 for (i
= 0; constants
[i
].type
; ++i
) {
49420 switch(constants
[i
].type
) {
49421 case SWIG_PY_POINTER
:
49422 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49424 case SWIG_PY_BINARY
:
49425 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49432 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49438 /* -----------------------------------------------------------------------------*/
49439 /* Fix SwigMethods to carry the callback ptrs when needed */
49440 /* -----------------------------------------------------------------------------*/
49443 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49444 swig_const_info
*const_table
,
49445 swig_type_info
**types
,
49446 swig_type_info
**types_initial
) {
49448 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49449 const char *c
= methods
[i
].ml_doc
;
49450 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49452 swig_const_info
*ci
= 0;
49453 const char *name
= c
+ 10;
49454 for (j
= 0; const_table
[j
].type
; ++j
) {
49455 if (strncmp(const_table
[j
].name
, name
,
49456 strlen(const_table
[j
].name
)) == 0) {
49457 ci
= &(const_table
[j
]);
49462 size_t shift
= (ci
->ptype
) - types
;
49463 swig_type_info
*ty
= types_initial
[shift
];
49464 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49465 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49466 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49469 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49471 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49473 strncpy(buff
, "swig_ptr: ", 10);
49475 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49476 methods
[i
].ml_doc
= ndoc
;
49488 /* -----------------------------------------------------------------------------*
49489 * Partial Init method
49490 * -----------------------------------------------------------------------------*/
49495 SWIGEXPORT
void SWIG_init(void) {
49498 /* Fix SwigMethods to carry the callback ptrs when needed */
49499 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49501 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49502 d
= PyModule_GetDict(m
);
49504 SWIG_InitializeModule(0);
49505 SWIG_InstallConstants(d
,swig_const_table
);
49508 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49509 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49510 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49511 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49512 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49513 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49514 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49515 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49516 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49517 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49518 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49519 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49520 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49521 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49522 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49523 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49524 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49525 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49526 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49527 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49528 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49529 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49530 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49531 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49532 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49533 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49534 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49535 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49536 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49537 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49538 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49539 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49540 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49541 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49542 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49543 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49544 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49545 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49546 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49547 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49548 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49549 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49550 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49551 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49552 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49553 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49554 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49555 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49556 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49557 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49558 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49559 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49560 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49561 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49562 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49563 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49564 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49565 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49566 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49567 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49568 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49569 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49570 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49571 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49572 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49573 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49574 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49575 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49576 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49577 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49578 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49579 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49580 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49581 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49582 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49584 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49585 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49586 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49587 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49588 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49589 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49590 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49591 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49592 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49593 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49594 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49595 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49596 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49597 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49598 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49599 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49600 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49601 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49602 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49603 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49604 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49605 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49606 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49607 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49608 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49609 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49610 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49611 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49612 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49613 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49614 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49615 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49616 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49617 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49618 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49619 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49620 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49621 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49622 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49623 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49624 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49625 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49626 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49627 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49628 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49629 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49630 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49631 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49632 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49633 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49634 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49635 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49636 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49637 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49638 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49639 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49640 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49641 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49642 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49643 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49644 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49645 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49646 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49647 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49648 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49649 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49650 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49651 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49652 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49653 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49654 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49655 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49656 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49657 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49658 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49659 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49660 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49661 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49662 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49663 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49664 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49665 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49666 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49667 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49668 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49669 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49670 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49671 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49672 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49673 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49674 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49675 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49676 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49677 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49678 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49679 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49680 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49681 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49682 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49683 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49684 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49685 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49686 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49687 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49688 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49689 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49690 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49691 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49692 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49693 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49694 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49695 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49696 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49697 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49698 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49699 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49700 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49701 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49702 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49703 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49704 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49705 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49706 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49707 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49708 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49709 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49710 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49711 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49712 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49713 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49714 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49715 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49716 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49717 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49718 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49719 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49720 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49721 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49722 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49723 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49724 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49725 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49726 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49727 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49728 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49729 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49730 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49731 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49732 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49733 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49734 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49735 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49736 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49737 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49738 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49739 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49740 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49741 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49742 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49743 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49744 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49745 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49746 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49747 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49748 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49749 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49750 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49751 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49753 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49754 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49755 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49756 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49757 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49758 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49759 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49760 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49761 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49762 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49763 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49764 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49765 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49766 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49767 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49769 // Map renamed classes back to their common name for OOR
49770 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49772 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49773 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49774 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49775 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49776 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49777 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49778 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49779 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49780 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49781 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49782 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49783 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49784 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49785 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49786 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49787 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49788 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49789 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49790 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49791 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49792 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49793 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49794 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49795 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49796 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49797 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49798 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49799 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49800 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49801 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49802 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49803 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49804 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49805 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49808 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49810 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49811 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49812 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49814 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49815 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49816 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49817 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49818 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49819 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49820 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49821 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49822 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49823 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49824 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49825 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49826 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49827 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49829 // Map renamed classes back to their common name for OOR
49830 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49831 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49833 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49834 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49835 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49836 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49837 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49838 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49839 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49840 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49841 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49842 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49843 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49845 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49847 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49848 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49849 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49850 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49851 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49852 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49853 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49854 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49855 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49856 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49857 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49858 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49859 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49860 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49861 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49862 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49863 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49864 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49865 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49866 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49867 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49868 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49869 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49870 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49871 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49872 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49873 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49874 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49875 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49876 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49877 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49878 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49879 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49880 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49881 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49882 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49883 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49884 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49885 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49886 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49887 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49888 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49889 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
49890 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
49891 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
49892 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
49893 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));