1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3391 class wxSearchCtrl
: public wxTextCtrl
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow
*, wxWindowID
,
3401 const wxString
& name
)
3402 { wxPyRaiseNotImplemented(); }
3404 bool Create( wxWindow
*, wxWindowID
,
3410 const wxString
& name
) {}
3412 virtual void SetMenu( wxMenu
* ) {}
3413 virtual wxMenu
* GetMenu() { return NULL
; }
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3423 virtual void SetDescriptiveText(const wxString
& text
);
3424 virtual wxString
GetDescriptiveText() const;
3428 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3429 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3430 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3434 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3435 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3440 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3441 PyObject
*pyobj
= 0;
3445 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3447 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3454 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
= 0;
3456 wxWindow
*arg1
= (wxWindow
*) 0 ;
3457 int arg2
= (int) -1 ;
3458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3464 long arg6
= (long) 0 ;
3465 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3466 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3467 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3469 wxButton
*result
= 0 ;
3474 bool temp3
= false ;
3481 bool temp8
= false ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3485 PyObject
* obj3
= 0 ;
3486 PyObject
* obj4
= 0 ;
3487 PyObject
* obj5
= 0 ;
3488 PyObject
* obj6
= 0 ;
3489 PyObject
* obj7
= 0 ;
3490 char * kwnames
[] = {
3491 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3496 if (!SWIG_IsOK(res1
)) {
3497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3502 if (!SWIG_IsOK(ecode2
)) {
3503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3505 arg2
= static_cast< int >(val2
);
3509 arg3
= wxString_in_helper(obj2
);
3510 if (arg3
== NULL
) SWIG_fail
;
3517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3528 if (!SWIG_IsOK(ecode6
)) {
3529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3531 arg6
= static_cast< long >(val6
);
3534 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3535 if (!SWIG_IsOK(res7
)) {
3536 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3541 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3545 arg8
= wxString_in_helper(obj7
);
3546 if (arg8
== NULL
) SWIG_fail
;
3551 if (!wxPyCheckForApp()) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3580 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3581 PyObject
*resultobj
= 0;
3582 wxButton
*result
= 0 ;
3584 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3586 if (!wxPyCheckForApp()) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (wxButton
*)new wxButton();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3599 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
= 0;
3601 wxButton
*arg1
= (wxButton
*) 0 ;
3602 wxWindow
*arg2
= (wxWindow
*) 0 ;
3603 int arg3
= (int) -1 ;
3604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3606 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3607 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3608 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3609 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3610 long arg7
= (long) 0 ;
3611 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3612 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3613 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3614 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3622 bool temp4
= false ;
3629 bool temp9
= false ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3632 PyObject
* obj2
= 0 ;
3633 PyObject
* obj3
= 0 ;
3634 PyObject
* obj4
= 0 ;
3635 PyObject
* obj5
= 0 ;
3636 PyObject
* obj6
= 0 ;
3637 PyObject
* obj7
= 0 ;
3638 PyObject
* obj8
= 0 ;
3639 char * kwnames
[] = {
3640 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3645 if (!SWIG_IsOK(res1
)) {
3646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3648 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3650 if (!SWIG_IsOK(res2
)) {
3651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3656 if (!SWIG_IsOK(ecode3
)) {
3657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3659 arg3
= static_cast< int >(val3
);
3663 arg4
= wxString_in_helper(obj3
);
3664 if (arg4
== NULL
) SWIG_fail
;
3671 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3677 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3681 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3682 if (!SWIG_IsOK(ecode7
)) {
3683 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3685 arg7
= static_cast< long >(val7
);
3688 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3689 if (!SWIG_IsOK(res8
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3695 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3699 arg9
= wxString_in_helper(obj8
);
3700 if (arg9
== NULL
) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3735 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3736 PyObject
*resultobj
= 0;
3737 wxButton
*arg1
= (wxButton
*) 0 ;
3740 PyObject
*swig_obj
[1] ;
3742 if (!args
) SWIG_fail
;
3744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3745 if (!SWIG_IsOK(res1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3748 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 (arg1
)->SetDefault();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_Py_Void();
3762 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3763 PyObject
*resultobj
= 0;
3766 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= wxButton::GetDefaultSize();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3780 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
= 0;
3782 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3783 SwigValueWrapper
<wxVisualAttributes
> result
;
3786 PyObject
* obj0
= 0 ;
3787 char * kwnames
[] = {
3788 (char *) "variant", NULL
3791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3794 if (!SWIG_IsOK(ecode1
)) {
3795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3797 arg1
= static_cast< wxWindowVariant
>(val1
);
3800 if (!wxPyCheckForApp()) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= wxButton::GetClassDefaultAttributes(arg1
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3813 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3816 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3817 return SWIG_Py_Void();
3820 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3821 return SWIG_Python_InitShadowInstance(args
);
3824 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
= 0;
3826 wxWindow
*arg1
= (wxWindow
*) 0 ;
3827 int arg2
= (int) -1 ;
3828 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3829 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3834 long arg6
= (long) wxBU_AUTODRAW
;
3835 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3836 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3837 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3838 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3839 wxBitmapButton
*result
= 0 ;
3852 bool temp8
= false ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3855 PyObject
* obj2
= 0 ;
3856 PyObject
* obj3
= 0 ;
3857 PyObject
* obj4
= 0 ;
3858 PyObject
* obj5
= 0 ;
3859 PyObject
* obj6
= 0 ;
3860 PyObject
* obj7
= 0 ;
3861 char * kwnames
[] = {
3862 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3867 if (!SWIG_IsOK(res1
)) {
3868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3873 if (!SWIG_IsOK(ecode2
)) {
3874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3876 arg2
= static_cast< int >(val2
);
3879 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3880 if (!SWIG_IsOK(res3
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3886 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3901 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3902 if (!SWIG_IsOK(ecode6
)) {
3903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3905 arg6
= static_cast< long >(val6
);
3908 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3909 if (!SWIG_IsOK(res7
)) {
3910 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3915 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3919 arg8
= wxString_in_helper(obj7
);
3920 if (arg8
== NULL
) SWIG_fail
;
3925 if (!wxPyCheckForApp()) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3946 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3947 PyObject
*resultobj
= 0;
3948 wxBitmapButton
*result
= 0 ;
3950 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3952 if (!wxPyCheckForApp()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (wxBitmapButton
*)new wxBitmapButton();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3965 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
= 0;
3967 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3968 wxWindow
*arg2
= (wxWindow
*) 0 ;
3969 int arg3
= (int) -1 ;
3970 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3971 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3972 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3973 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3974 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3975 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3976 long arg7
= (long) wxBU_AUTODRAW
;
3977 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3978 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3979 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3980 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3996 bool temp9
= false ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
3999 PyObject
* obj2
= 0 ;
4000 PyObject
* obj3
= 0 ;
4001 PyObject
* obj4
= 0 ;
4002 PyObject
* obj5
= 0 ;
4003 PyObject
* obj6
= 0 ;
4004 PyObject
* obj7
= 0 ;
4005 PyObject
* obj8
= 0 ;
4006 char * kwnames
[] = {
4007 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4012 if (!SWIG_IsOK(res1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4015 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4017 if (!SWIG_IsOK(res2
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4023 if (!SWIG_IsOK(ecode3
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4026 arg3
= static_cast< int >(val3
);
4029 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4030 if (!SWIG_IsOK(res4
)) {
4031 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4036 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4041 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4047 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4051 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4052 if (!SWIG_IsOK(ecode7
)) {
4053 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4055 arg7
= static_cast< long >(val7
);
4058 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4059 if (!SWIG_IsOK(res8
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4065 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4069 arg9
= wxString_in_helper(obj8
);
4070 if (arg9
== NULL
) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapLabel();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapDisabled();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapFocus();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 PyObject
*swig_obj
[1] ;
4189 if (!args
) SWIG_fail
;
4191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4192 if (!SWIG_IsOK(res1
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4195 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (arg1
)->GetBitmapSelected();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4209 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4210 PyObject
*resultobj
= 0;
4211 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4215 PyObject
*swig_obj
[1] ;
4217 if (!args
) SWIG_fail
;
4219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4220 if (!SWIG_IsOK(res1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4223 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (arg1
)->GetBitmapHover();
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4237 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4240 wxBitmap
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "bitmap", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
= 0;
4280 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4281 wxBitmap
*arg2
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "bitmap", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4299 if (!SWIG_IsOK(res2
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4322 wxBitmap
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "bitmap", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4363 wxBitmap
*arg2
= 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4370 char * kwnames
[] = {
4371 (char *) "self",(char *) "bitmap", NULL
4374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4379 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4381 if (!SWIG_IsOK(res2
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4387 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= SWIG_Py_Void();
4401 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
= 0;
4403 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4404 wxBitmap
*arg2
= 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "hover", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4422 if (!SWIG_IsOK(res2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4428 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_Py_Void();
4442 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
= 0;
4444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4455 PyObject
* obj2
= 0 ;
4456 char * kwnames
[] = {
4457 (char *) "self",(char *) "x",(char *) "y", NULL
4460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4462 if (!SWIG_IsOK(res1
)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4465 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4467 if (!SWIG_IsOK(ecode2
)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4470 arg2
= static_cast< int >(val2
);
4471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4472 if (!SWIG_IsOK(ecode3
)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4475 arg3
= static_cast< int >(val3
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 (arg1
)->SetMargins(arg2
,arg3
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_Py_Void();
4489 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 PyObject
*resultobj
= 0;
4491 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4495 PyObject
*swig_obj
[1] ;
4497 if (!args
) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4503 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_From_int(static_cast< int >(result
));
4517 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4518 PyObject
*resultobj
= 0;
4519 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4523 PyObject
*swig_obj
[1] ;
4525 if (!args
) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4531 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_From_int(static_cast< int >(result
));
4545 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4548 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4549 return SWIG_Py_Void();
4552 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4553 return SWIG_Python_InitShadowInstance(args
);
4556 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4557 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4562 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4563 PyObject
*pyobj
= 0;
4567 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4569 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4576 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= 0;
4578 wxWindow
*arg1
= (wxWindow
*) 0 ;
4579 int arg2
= (int) -1 ;
4580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4586 long arg6
= (long) 0 ;
4587 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4588 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4589 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4591 wxCheckBox
*result
= 0 ;
4596 bool temp3
= false ;
4603 bool temp8
= false ;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4606 PyObject
* obj2
= 0 ;
4607 PyObject
* obj3
= 0 ;
4608 PyObject
* obj4
= 0 ;
4609 PyObject
* obj5
= 0 ;
4610 PyObject
* obj6
= 0 ;
4611 PyObject
* obj7
= 0 ;
4612 char * kwnames
[] = {
4613 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4618 if (!SWIG_IsOK(res1
)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4624 if (!SWIG_IsOK(ecode2
)) {
4625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4627 arg2
= static_cast< int >(val2
);
4631 arg3
= wxString_in_helper(obj2
);
4632 if (arg3
== NULL
) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4650 if (!SWIG_IsOK(ecode6
)) {
4651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4653 arg6
= static_cast< long >(val6
);
4656 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4657 if (!SWIG_IsOK(res7
)) {
4658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4663 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4667 arg8
= wxString_in_helper(obj7
);
4668 if (arg8
== NULL
) SWIG_fail
;
4673 if (!wxPyCheckForApp()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4702 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 PyObject
*resultobj
= 0;
4704 wxCheckBox
*result
= 0 ;
4706 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (wxCheckBox
*)new wxCheckBox();
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4721 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
= 0;
4723 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4724 wxWindow
*arg2
= (wxWindow
*) 0 ;
4725 int arg3
= (int) -1 ;
4726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4732 long arg7
= (long) 0 ;
4733 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4734 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4735 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4736 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4744 bool temp4
= false ;
4751 bool temp9
= false ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4755 PyObject
* obj3
= 0 ;
4756 PyObject
* obj4
= 0 ;
4757 PyObject
* obj5
= 0 ;
4758 PyObject
* obj6
= 0 ;
4759 PyObject
* obj7
= 0 ;
4760 PyObject
* obj8
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4770 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res2
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4778 if (!SWIG_IsOK(ecode3
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4781 arg3
= static_cast< int >(val3
);
4785 arg4
= wxString_in_helper(obj3
);
4786 if (arg4
== NULL
) SWIG_fail
;
4793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4803 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4804 if (!SWIG_IsOK(ecode7
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4807 arg7
= static_cast< long >(val7
);
4810 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4811 if (!SWIG_IsOK(res8
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4817 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4821 arg9
= wxString_in_helper(obj8
);
4822 if (arg9
== NULL
) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4863 PyObject
*swig_obj
[1] ;
4865 if (!args
) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4871 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (bool)(arg1
)->GetValue();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4887 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4888 PyObject
*resultobj
= 0;
4889 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4893 PyObject
*swig_obj
[1] ;
4895 if (!args
) SWIG_fail
;
4897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4898 if (!SWIG_IsOK(res1
)) {
4899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4901 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (bool)(arg1
)->IsChecked();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4917 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4927 char * kwnames
[] = {
4928 (char *) "self",(char *) "state", NULL
4931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4936 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4941 arg2
= static_cast< bool >(val2
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetValue(arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= SWIG_Py_Void();
4955 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4958 wxCheckBoxState result
;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4969 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_From_int(static_cast< int >(result
));
4983 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
= 0;
4985 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4986 wxCheckBoxState arg2
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 char * kwnames
[] = {
4994 (char *) "self",(char *) "state", NULL
4997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5002 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5004 if (!SWIG_IsOK(ecode2
)) {
5005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5007 arg2
= static_cast< wxCheckBoxState
>(val2
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->Set3StateValue(arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5035 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 PyObject
*resultobj
= 0;
5053 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5057 PyObject
*swig_obj
[1] ;
5059 if (!args
) SWIG_fail
;
5061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5062 if (!SWIG_IsOK(res1
)) {
5063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5065 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5081 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
= 0;
5083 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5084 SwigValueWrapper
<wxVisualAttributes
> result
;
5087 PyObject
* obj0
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "variant", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5095 if (!SWIG_IsOK(ecode1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5098 arg1
= static_cast< wxWindowVariant
>(val1
);
5101 if (!wxPyCheckForApp()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5114 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5117 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5118 return SWIG_Py_Void();
5121 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5122 return SWIG_Python_InitShadowInstance(args
);
5125 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5126 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5131 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5132 PyObject
*pyobj
= 0;
5136 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5138 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5145 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxWindow
*arg1
= (wxWindow
*) 0 ;
5148 int arg2
= (int) -1 ;
5149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5153 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5154 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5155 long arg6
= (long) 0 ;
5156 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5157 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5158 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5160 wxChoice
*result
= 0 ;
5167 bool temp5
= false ;
5172 bool temp8
= false ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5175 PyObject
* obj2
= 0 ;
5176 PyObject
* obj3
= 0 ;
5177 PyObject
* obj4
= 0 ;
5178 PyObject
* obj5
= 0 ;
5179 PyObject
* obj6
= 0 ;
5180 PyObject
* obj7
= 0 ;
5181 char * kwnames
[] = {
5182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5193 if (!SWIG_IsOK(ecode2
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5196 arg2
= static_cast< int >(val2
);
5201 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5207 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5212 if (! PySequence_Check(obj4
)) {
5213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5216 arg5
= new wxArrayString
;
5218 int i
, len
=PySequence_Length(obj4
);
5219 for (i
=0; i
<len
; i
++) {
5220 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5221 wxString
* s
= wxString_in_helper(item
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5230 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5231 if (!SWIG_IsOK(ecode6
)) {
5232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5234 arg6
= static_cast< long >(val6
);
5237 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5238 if (!SWIG_IsOK(res7
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5244 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5248 arg8
= wxString_in_helper(obj7
);
5249 if (arg8
== NULL
) SWIG_fail
;
5254 if (!wxPyCheckForApp()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5262 if (temp5
) delete arg5
;
5271 if (temp5
) delete arg5
;
5281 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxChoice
*result
= 0 ;
5285 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5287 if (!wxPyCheckForApp()) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (wxChoice
*)new wxChoice();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5300 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxChoice
*arg1
= (wxChoice
*) 0 ;
5303 wxWindow
*arg2
= (wxWindow
*) 0 ;
5304 int arg3
= (int) -1 ;
5305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5309 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5310 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5311 long arg7
= (long) 0 ;
5312 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5313 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5314 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5315 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5325 bool temp6
= false ;
5330 bool temp9
= false ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5339 PyObject
* obj8
= 0 ;
5340 char * kwnames
[] = {
5341 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5349 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5351 if (!SWIG_IsOK(res2
)) {
5352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5357 if (!SWIG_IsOK(ecode3
)) {
5358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5360 arg3
= static_cast< int >(val3
);
5365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5376 if (! PySequence_Check(obj5
)) {
5377 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5380 arg6
= new wxArrayString
;
5382 int i
, len
=PySequence_Length(obj5
);
5383 for (i
=0; i
<len
; i
++) {
5384 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5385 wxString
* s
= wxString_in_helper(item
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5394 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5395 if (!SWIG_IsOK(ecode7
)) {
5396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5398 arg7
= static_cast< long >(val7
);
5401 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5402 if (!SWIG_IsOK(res8
)) {
5403 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5408 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5412 arg9
= wxString_in_helper(obj8
);
5413 if (arg9
== NULL
) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5427 if (temp6
) delete arg6
;
5436 if (temp6
) delete arg6
;
5446 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5447 PyObject
*resultobj
= 0;
5448 wxChoice
*arg1
= (wxChoice
*) 0 ;
5452 PyObject
*swig_obj
[1] ;
5454 if (!args
) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5460 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_From_int(static_cast< int >(result
));
5474 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5477 SwigValueWrapper
<wxVisualAttributes
> result
;
5480 PyObject
* obj0
= 0 ;
5481 char * kwnames
[] = {
5482 (char *) "variant", NULL
5485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5488 if (!SWIG_IsOK(ecode1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5491 arg1
= static_cast< wxWindowVariant
>(val1
);
5494 if (!wxPyCheckForApp()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5507 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5510 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5511 return SWIG_Py_Void();
5514 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5515 return SWIG_Python_InitShadowInstance(args
);
5518 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5519 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5524 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5525 PyObject
*pyobj
= 0;
5529 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5531 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5538 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
= 0;
5540 wxWindow
*arg1
= (wxWindow
*) 0 ;
5541 int arg2
= (int) -1 ;
5542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5548 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5549 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5550 long arg7
= (long) 0 ;
5551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5553 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5555 wxComboBox
*result
= 0 ;
5560 bool temp3
= false ;
5563 bool temp6
= false ;
5568 bool temp9
= false ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 PyObject
* obj2
= 0 ;
5572 PyObject
* obj3
= 0 ;
5573 PyObject
* obj4
= 0 ;
5574 PyObject
* obj5
= 0 ;
5575 PyObject
* obj6
= 0 ;
5576 PyObject
* obj7
= 0 ;
5577 PyObject
* obj8
= 0 ;
5578 char * kwnames
[] = {
5579 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5597 arg3
= wxString_in_helper(obj2
);
5598 if (arg3
== NULL
) SWIG_fail
;
5605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5616 if (! PySequence_Check(obj5
)) {
5617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5620 arg6
= new wxArrayString
;
5622 int i
, len
=PySequence_Length(obj5
);
5623 for (i
=0; i
<len
; i
++) {
5624 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5625 wxString
* s
= wxString_in_helper(item
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5634 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5635 if (!SWIG_IsOK(ecode7
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5638 arg7
= static_cast< long >(val7
);
5641 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5642 if (!SWIG_IsOK(res8
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5648 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5652 arg9
= wxString_in_helper(obj8
);
5653 if (arg9
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 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
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5670 if (temp6
) delete arg6
;
5683 if (temp6
) delete arg6
;
5693 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 PyObject
*resultobj
= 0;
5695 wxComboBox
*result
= 0 ;
5697 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5699 if (!wxPyCheckForApp()) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (wxComboBox
*)new wxComboBox();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5712 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
= 0;
5714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5715 wxWindow
*arg2
= (wxWindow
*) 0 ;
5716 int arg3
= (int) -1 ;
5717 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5721 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5722 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5723 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5724 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5725 long arg8
= (long) 0 ;
5726 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5727 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5728 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5729 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5737 bool temp4
= false ;
5740 bool temp7
= false ;
5745 bool temp10
= false ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 PyObject
* obj2
= 0 ;
5749 PyObject
* obj3
= 0 ;
5750 PyObject
* obj4
= 0 ;
5751 PyObject
* obj5
= 0 ;
5752 PyObject
* obj6
= 0 ;
5753 PyObject
* obj7
= 0 ;
5754 PyObject
* obj8
= 0 ;
5755 PyObject
* obj9
= 0 ;
5756 char * kwnames
[] = {
5757 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5765 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5767 if (!SWIG_IsOK(res2
)) {
5768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5773 if (!SWIG_IsOK(ecode3
)) {
5774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5776 arg3
= static_cast< int >(val3
);
5780 arg4
= wxString_in_helper(obj3
);
5781 if (arg4
== NULL
) SWIG_fail
;
5788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5799 if (! PySequence_Check(obj6
)) {
5800 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5803 arg7
= new wxArrayString
;
5805 int i
, len
=PySequence_Length(obj6
);
5806 for (i
=0; i
<len
; i
++) {
5807 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5808 wxString
* s
= wxString_in_helper(item
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5817 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5818 if (!SWIG_IsOK(ecode8
)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5821 arg8
= static_cast< long >(val8
);
5824 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5825 if (!SWIG_IsOK(res9
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5831 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5835 arg10
= wxString_in_helper(obj9
);
5836 if (arg10
== NULL
) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 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
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5854 if (temp7
) delete arg7
;
5867 if (temp7
) delete arg7
;
5877 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5878 PyObject
*resultobj
= 0;
5879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5883 PyObject
*swig_obj
[1] ;
5885 if (!args
) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5891 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= ((wxComboBox
const *)arg1
)->GetValue();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5911 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5914 wxString
*arg2
= 0 ;
5917 bool temp2
= false ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "value", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5929 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5931 arg2
= wxString_in_helper(obj1
);
5932 if (arg2
== NULL
) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetValue((wxString
const &)*arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_Py_Void();
5956 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5957 PyObject
*resultobj
= 0;
5958 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5961 PyObject
*swig_obj
[1] ;
5963 if (!args
) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_Py_Void();
5983 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5984 PyObject
*resultobj
= 0;
5985 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
*swig_obj
[1] ;
5990 if (!args
) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_Py_Void();
6010 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6011 PyObject
*resultobj
= 0;
6012 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6015 PyObject
*swig_obj
[1] ;
6017 if (!args
) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6023 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_Py_Void();
6037 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
= 0;
6039 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6047 char * kwnames
[] = {
6048 (char *) "self",(char *) "pos", NULL
6051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6056 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6057 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6058 if (!SWIG_IsOK(ecode2
)) {
6059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6061 arg2
= static_cast< long >(val2
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->SetInsertionPoint(arg2
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_Py_Void();
6075 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6081 PyObject
*swig_obj
[1] ;
6083 if (!args
) SWIG_fail
;
6085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6086 if (!SWIG_IsOK(res1
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6089 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_From_long(static_cast< long >(result
));
6103 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6104 PyObject
*resultobj
= 0;
6105 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6109 PyObject
*swig_obj
[1] ;
6111 if (!args
) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6117 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_From_long(static_cast< long >(result
));
6131 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
= 0;
6133 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6136 wxString
*arg4
= 0 ;
6143 bool temp4
= false ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6147 PyObject
* obj3
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6162 arg2
= static_cast< long >(val2
);
6163 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 arg4
= wxString_in_helper(obj3
);
6170 if (arg4
== NULL
) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_Py_Void();
6194 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
= 0;
6196 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6208 char * kwnames
[] = {
6209 (char *) "self",(char *) "from",(char *) "to", NULL
6212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6217 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6219 if (!SWIG_IsOK(ecode2
)) {
6220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6222 arg2
= static_cast< long >(val2
);
6223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6224 if (!SWIG_IsOK(ecode3
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6227 arg3
= static_cast< long >(val3
);
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->SetSelection(arg2
,arg3
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_Py_Void();
6241 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6242 PyObject
*resultobj
= 0;
6243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6247 PyObject
*swig_obj
[1] ;
6249 if (!args
) SWIG_fail
;
6251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6252 if (!SWIG_IsOK(res1
)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6255 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_From_int(static_cast< int >(result
));
6269 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6272 wxString
*arg2
= 0 ;
6276 bool temp2
= false ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "string", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6288 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6290 arg2
= wxString_in_helper(obj1
);
6291 if (arg2
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6317 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "editable", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6337 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6338 if (!SWIG_IsOK(ecode2
)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6341 arg2
= static_cast< bool >(val2
);
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 (arg1
)->SetEditable(arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_Py_Void();
6355 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6356 PyObject
*resultobj
= 0;
6357 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6360 PyObject
*swig_obj
[1] ;
6362 if (!args
) SWIG_fail
;
6364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6365 if (!SWIG_IsOK(res1
)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6368 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetInsertionPointEnd();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_Py_Void();
6382 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
= 0;
6384 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "self",(char *) "from",(char *) "to", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6405 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6406 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6407 if (!SWIG_IsOK(ecode2
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6410 arg2
= static_cast< long >(val2
);
6411 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6412 if (!SWIG_IsOK(ecode3
)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6415 arg3
= static_cast< long >(val3
);
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 (arg1
)->Remove(arg2
,arg3
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_Py_Void();
6429 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6443 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6459 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6472 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_Py_Void();
6486 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 PyObject
*resultobj
= 0;
6488 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6499 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_Py_Void();
6513 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6514 PyObject
*resultobj
= 0;
6515 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6518 PyObject
*swig_obj
[1] ;
6520 if (!args
) SWIG_fail
;
6522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6523 if (!SWIG_IsOK(res1
)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6526 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 (arg1
)->SelectAll();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_Py_Void();
6540 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6546 PyObject
*swig_obj
[1] ;
6548 if (!args
) SWIG_fail
;
6550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6551 if (!SWIG_IsOK(res1
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6554 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6570 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6571 PyObject
*resultobj
= 0;
6572 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6576 PyObject
*swig_obj
[1] ;
6578 if (!args
) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6584 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6600 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6601 PyObject
*resultobj
= 0;
6602 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6606 PyObject
*swig_obj
[1] ;
6608 if (!args
) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6614 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6630 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6631 PyObject
*resultobj
= 0;
6632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6636 PyObject
*swig_obj
[1] ;
6638 if (!args
) SWIG_fail
;
6640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6641 if (!SWIG_IsOK(res1
)) {
6642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6644 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6660 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6661 PyObject
*resultobj
= 0;
6662 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6666 PyObject
*swig_obj
[1] ;
6668 if (!args
) SWIG_fail
;
6670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6671 if (!SWIG_IsOK(res1
)) {
6672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6674 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= 0;
6692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6693 SwigValueWrapper
<wxVisualAttributes
> result
;
6696 PyObject
* obj0
= 0 ;
6697 char * kwnames
[] = {
6698 (char *) "variant", NULL
6701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6704 if (!SWIG_IsOK(ecode1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6707 arg1
= static_cast< wxWindowVariant
>(val1
);
6710 if (!wxPyCheckForApp()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6723 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6726 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6727 return SWIG_Py_Void();
6730 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6731 return SWIG_Python_InitShadowInstance(args
);
6734 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6735 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6740 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6741 PyObject
*pyobj
= 0;
6745 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6747 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6754 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
= 0;
6756 wxWindow
*arg1
= (wxWindow
*) 0 ;
6757 int arg2
= (int) -1 ;
6758 int arg3
= (int) 100 ;
6759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6763 long arg6
= (long) wxGA_HORIZONTAL
;
6764 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6765 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6766 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6768 wxGauge
*result
= 0 ;
6781 bool temp8
= false ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 PyObject
* obj2
= 0 ;
6785 PyObject
* obj3
= 0 ;
6786 PyObject
* obj4
= 0 ;
6787 PyObject
* obj5
= 0 ;
6788 PyObject
* obj6
= 0 ;
6789 PyObject
* obj7
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6805 arg2
= static_cast< int >(val2
);
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6812 arg3
= static_cast< int >(val3
);
6817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6827 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6828 if (!SWIG_IsOK(ecode6
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6831 arg6
= static_cast< long >(val6
);
6834 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6835 if (!SWIG_IsOK(res7
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6841 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6845 arg8
= wxString_in_helper(obj7
);
6846 if (arg8
== NULL
) SWIG_fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6872 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6873 PyObject
*resultobj
= 0;
6874 wxGauge
*result
= 0 ;
6876 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxGauge
*)new wxGauge();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6891 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= 0;
6893 wxGauge
*arg1
= (wxGauge
*) 0 ;
6894 wxWindow
*arg2
= (wxWindow
*) 0 ;
6895 int arg3
= (int) -1 ;
6896 int arg4
= (int) 100 ;
6897 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6898 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6899 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6900 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6901 long arg7
= (long) wxGA_HORIZONTAL
;
6902 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6903 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6904 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6905 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6921 bool temp9
= false ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6925 PyObject
* obj3
= 0 ;
6926 PyObject
* obj4
= 0 ;
6927 PyObject
* obj5
= 0 ;
6928 PyObject
* obj6
= 0 ;
6929 PyObject
* obj7
= 0 ;
6930 PyObject
* obj8
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6940 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6942 if (!SWIG_IsOK(res2
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6945 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6948 if (!SWIG_IsOK(ecode3
)) {
6949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6951 arg3
= static_cast< int >(val3
);
6954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6955 if (!SWIG_IsOK(ecode4
)) {
6956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6958 arg4
= static_cast< int >(val4
);
6963 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6969 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6973 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6974 if (!SWIG_IsOK(ecode7
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6977 arg7
= static_cast< long >(val7
);
6980 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6981 if (!SWIG_IsOK(res8
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6987 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6991 arg9
= wxString_in_helper(obj8
);
6992 if (arg9
== NULL
) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7019 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= 0;
7021 wxGauge
*arg1
= (wxGauge
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 char * kwnames
[] = {
7030 (char *) "self",(char *) "range", NULL
7033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7035 if (!SWIG_IsOK(res1
)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7038 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7040 if (!SWIG_IsOK(ecode2
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7043 arg2
= static_cast< int >(val2
);
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetRange(arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_Py_Void();
7057 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 PyObject
*resultobj
= 0;
7059 wxGauge
*arg1
= (wxGauge
*) 0 ;
7063 PyObject
*swig_obj
[1] ;
7065 if (!args
) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7071 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_From_int(static_cast< int >(result
));
7085 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxGauge
*arg1
= (wxGauge
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 char * kwnames
[] = {
7096 (char *) "self",(char *) "pos", NULL
7099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7101 if (!SWIG_IsOK(res1
)) {
7102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7104 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7106 if (!SWIG_IsOK(ecode2
)) {
7107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7109 arg2
= static_cast< int >(val2
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetValue(arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_Py_Void();
7123 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 PyObject
*resultobj
= 0;
7125 wxGauge
*arg1
= (wxGauge
*) 0 ;
7129 PyObject
*swig_obj
[1] ;
7131 if (!args
) SWIG_fail
;
7133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7134 if (!SWIG_IsOK(res1
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7137 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_From_int(static_cast< int >(result
));
7151 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 PyObject
*resultobj
= 0;
7153 wxGauge
*arg1
= (wxGauge
*) 0 ;
7156 PyObject
*swig_obj
[1] ;
7158 if (!args
) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7164 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_Py_Void();
7178 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7179 PyObject
*resultobj
= 0;
7180 wxGauge
*arg1
= (wxGauge
*) 0 ;
7184 PyObject
*swig_obj
[1] ;
7186 if (!args
) SWIG_fail
;
7188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7189 if (!SWIG_IsOK(res1
)) {
7190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7192 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7208 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7210 wxGauge
*arg1
= (wxGauge
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 char * kwnames
[] = {
7219 (char *) "self",(char *) "w", NULL
7222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7224 if (!SWIG_IsOK(res1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7227 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7229 if (!SWIG_IsOK(ecode2
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7232 arg2
= static_cast< int >(val2
);
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetShadowWidth(arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_Py_Void();
7246 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7247 PyObject
*resultobj
= 0;
7248 wxGauge
*arg1
= (wxGauge
*) 0 ;
7252 PyObject
*swig_obj
[1] ;
7254 if (!args
) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7260 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_From_int(static_cast< int >(result
));
7274 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= 0;
7276 wxGauge
*arg1
= (wxGauge
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 char * kwnames
[] = {
7285 (char *) "self",(char *) "w", NULL
7288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7293 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 (arg1
)->SetBezelFace(arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_Py_Void();
7312 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 PyObject
*resultobj
= 0;
7314 wxGauge
*arg1
= (wxGauge
*) 0 ;
7318 PyObject
*swig_obj
[1] ;
7320 if (!args
) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7326 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_From_int(static_cast< int >(result
));
7340 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
= 0;
7342 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7343 SwigValueWrapper
<wxVisualAttributes
> result
;
7346 PyObject
* obj0
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "variant", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7354 if (!SWIG_IsOK(ecode1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7357 arg1
= static_cast< wxWindowVariant
>(val1
);
7360 if (!wxPyCheckForApp()) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7373 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7376 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7377 return SWIG_Py_Void();
7380 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 return SWIG_Python_InitShadowInstance(args
);
7384 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7385 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7390 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7391 PyObject
*pyobj
= 0;
7395 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7397 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7404 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7405 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7410 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7411 PyObject
*pyobj
= 0;
7415 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7417 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7424 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7425 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7430 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7431 PyObject
*pyobj
= 0;
7435 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7437 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7444 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7445 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7450 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7451 PyObject
*pyobj
= 0;
7455 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7457 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7464 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
= 0;
7466 wxWindow
*arg1
= (wxWindow
*) 0 ;
7467 int arg2
= (int) -1 ;
7468 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7474 long arg6
= (long) 0 ;
7475 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7477 wxStaticBox
*result
= 0 ;
7482 bool temp3
= false ;
7487 bool temp7
= false ;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7490 PyObject
* obj2
= 0 ;
7491 PyObject
* obj3
= 0 ;
7492 PyObject
* obj4
= 0 ;
7493 PyObject
* obj5
= 0 ;
7494 PyObject
* obj6
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7507 if (!SWIG_IsOK(ecode2
)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7510 arg2
= static_cast< int >(val2
);
7514 arg3
= wxString_in_helper(obj2
);
7515 if (arg3
== NULL
) SWIG_fail
;
7522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7532 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7533 if (!SWIG_IsOK(ecode6
)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7536 arg6
= static_cast< long >(val6
);
7540 arg7
= wxString_in_helper(obj6
);
7541 if (arg7
== NULL
) SWIG_fail
;
7546 if (!wxPyCheckForApp()) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7575 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7576 PyObject
*resultobj
= 0;
7577 wxStaticBox
*result
= 0 ;
7579 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7581 if (!wxPyCheckForApp()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxStaticBox
*)new wxStaticBox();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7594 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7596 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7597 wxWindow
*arg2
= (wxWindow
*) 0 ;
7598 int arg3
= (int) -1 ;
7599 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7600 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7605 long arg7
= (long) 0 ;
7606 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7615 bool temp4
= false ;
7620 bool temp8
= false ;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7624 PyObject
* obj3
= 0 ;
7625 PyObject
* obj4
= 0 ;
7626 PyObject
* obj5
= 0 ;
7627 PyObject
* obj6
= 0 ;
7628 PyObject
* obj7
= 0 ;
7629 char * kwnames
[] = {
7630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7638 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7640 if (!SWIG_IsOK(res2
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7646 if (!SWIG_IsOK(ecode3
)) {
7647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7649 arg3
= static_cast< int >(val3
);
7653 arg4
= wxString_in_helper(obj3
);
7654 if (arg4
== NULL
) SWIG_fail
;
7661 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7667 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7671 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7672 if (!SWIG_IsOK(ecode7
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7675 arg7
= static_cast< long >(val7
);
7679 arg8
= wxString_in_helper(obj7
);
7680 if (arg8
== NULL
) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
= 0;
7717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7718 SwigValueWrapper
<wxVisualAttributes
> result
;
7721 PyObject
* obj0
= 0 ;
7722 char * kwnames
[] = {
7723 (char *) "variant", NULL
7726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7729 if (!SWIG_IsOK(ecode1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7732 arg1
= static_cast< wxWindowVariant
>(val1
);
7735 if (!wxPyCheckForApp()) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7748 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7751 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7752 return SWIG_Py_Void();
7755 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7756 return SWIG_Python_InitShadowInstance(args
);
7759 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxWindow
*arg1
= (wxWindow
*) 0 ;
7762 int arg2
= (int) -1 ;
7763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7767 long arg5
= (long) wxLI_HORIZONTAL
;
7768 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7770 wxStaticLine
*result
= 0 ;
7779 bool temp6
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 PyObject
* obj4
= 0 ;
7785 PyObject
* obj5
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7798 if (!SWIG_IsOK(ecode2
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7801 arg2
= static_cast< int >(val2
);
7806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7817 if (!SWIG_IsOK(ecode5
)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7820 arg5
= static_cast< long >(val5
);
7824 arg6
= wxString_in_helper(obj5
);
7825 if (arg6
== NULL
) SWIG_fail
;
7830 if (!wxPyCheckForApp()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7851 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7852 PyObject
*resultobj
= 0;
7853 wxStaticLine
*result
= 0 ;
7855 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7857 if (!wxPyCheckForApp()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxStaticLine
*)new wxStaticLine();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7870 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
= 0;
7872 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7873 wxWindow
*arg2
= (wxWindow
*) 0 ;
7874 int arg3
= (int) -1 ;
7875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7879 long arg6
= (long) wxLI_HORIZONTAL
;
7880 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7893 bool temp7
= false ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7896 PyObject
* obj2
= 0 ;
7897 PyObject
* obj3
= 0 ;
7898 PyObject
* obj4
= 0 ;
7899 PyObject
* obj5
= 0 ;
7900 PyObject
* obj6
= 0 ;
7901 char * kwnames
[] = {
7902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7910 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7912 if (!SWIG_IsOK(res2
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7918 if (!SWIG_IsOK(ecode3
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7921 arg3
= static_cast< int >(val3
);
7926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7937 if (!SWIG_IsOK(ecode6
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7940 arg6
= static_cast< long >(val6
);
7944 arg7
= wxString_in_helper(obj6
);
7945 if (arg7
== NULL
) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7972 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7974 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7978 PyObject
*swig_obj
[1] ;
7980 if (!args
) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7986 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8002 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8003 PyObject
*resultobj
= 0;
8006 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (int)wxStaticLine::GetDefaultSize();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_From_int(static_cast< int >(result
));
8020 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
= 0;
8022 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8023 SwigValueWrapper
<wxVisualAttributes
> result
;
8026 PyObject
* obj0
= 0 ;
8027 char * kwnames
[] = {
8028 (char *) "variant", NULL
8031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8033 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8034 if (!SWIG_IsOK(ecode1
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8037 arg1
= static_cast< wxWindowVariant
>(val1
);
8040 if (!wxPyCheckForApp()) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8053 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8056 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8057 return SWIG_Py_Void();
8060 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 return SWIG_Python_InitShadowInstance(args
);
8064 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxWindow
*arg1
= (wxWindow
*) 0 ;
8067 int arg2
= (int) -1 ;
8068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8074 long arg6
= (long) 0 ;
8075 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8077 wxStaticText
*result
= 0 ;
8082 bool temp3
= false ;
8087 bool temp7
= false ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 PyObject
* obj2
= 0 ;
8091 PyObject
* obj3
= 0 ;
8092 PyObject
* obj4
= 0 ;
8093 PyObject
* obj5
= 0 ;
8094 PyObject
* obj6
= 0 ;
8095 char * kwnames
[] = {
8096 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8107 if (!SWIG_IsOK(ecode2
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8110 arg2
= static_cast< int >(val2
);
8114 arg3
= wxString_in_helper(obj2
);
8115 if (arg3
== NULL
) SWIG_fail
;
8122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8132 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8133 if (!SWIG_IsOK(ecode6
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8136 arg6
= static_cast< long >(val6
);
8140 arg7
= wxString_in_helper(obj6
);
8141 if (arg7
== NULL
) SWIG_fail
;
8146 if (!wxPyCheckForApp()) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8175 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8176 PyObject
*resultobj
= 0;
8177 wxStaticText
*result
= 0 ;
8179 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8181 if (!wxPyCheckForApp()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxStaticText
*)new wxStaticText();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8194 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8197 wxWindow
*arg2
= (wxWindow
*) 0 ;
8198 int arg3
= (int) -1 ;
8199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8203 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8204 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8205 long arg7
= (long) 0 ;
8206 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8215 bool temp4
= false ;
8220 bool temp8
= false ;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8223 PyObject
* obj2
= 0 ;
8224 PyObject
* obj3
= 0 ;
8225 PyObject
* obj4
= 0 ;
8226 PyObject
* obj5
= 0 ;
8227 PyObject
* obj6
= 0 ;
8228 PyObject
* obj7
= 0 ;
8229 char * kwnames
[] = {
8230 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8238 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8240 if (!SWIG_IsOK(res2
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8246 if (!SWIG_IsOK(ecode3
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8249 arg3
= static_cast< int >(val3
);
8253 arg4
= wxString_in_helper(obj3
);
8254 if (arg4
== NULL
) SWIG_fail
;
8261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8271 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8272 if (!SWIG_IsOK(ecode7
)) {
8273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8275 arg7
= static_cast< long >(val7
);
8279 arg8
= wxString_in_helper(obj7
);
8280 if (arg8
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
= 0;
8317 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 char * kwnames
[] = {
8326 (char *) "self",(char *) "width", NULL
8329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8331 if (!SWIG_IsOK(res1
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8334 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8336 if (!SWIG_IsOK(ecode2
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8339 arg2
= static_cast< int >(val2
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_StaticText_IsEllipsized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8367 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)((wxStaticText
const *)arg1
)->IsEllipsized();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8383 SWIGINTERN PyObject
*_wrap_StaticText_RemoveMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
= 0;
8385 wxString
*arg1
= 0 ;
8387 bool temp1
= false ;
8388 PyObject
* obj0
= 0 ;
8389 char * kwnames
[] = {
8390 (char *) "str", NULL
8393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_RemoveMarkup",kwnames
,&obj0
)) SWIG_fail
;
8395 arg1
= wxString_in_helper(obj0
);
8396 if (arg1
== NULL
) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= wxStaticText::RemoveMarkup((wxString
const &)*arg1
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8426 SWIGINTERN PyObject
*_wrap_StaticText_EscapeMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
= 0;
8428 wxString
*arg1
= 0 ;
8430 bool temp1
= false ;
8431 PyObject
* obj0
= 0 ;
8432 char * kwnames
[] = {
8433 (char *) "str", NULL
8436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_EscapeMarkup",kwnames
,&obj0
)) SWIG_fail
;
8438 arg1
= wxString_in_helper(obj0
);
8439 if (arg1
== NULL
) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= wxStaticText::EscapeMarkup((wxString
const &)*arg1
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8469 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
= 0;
8471 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8472 SwigValueWrapper
<wxVisualAttributes
> result
;
8475 PyObject
* obj0
= 0 ;
8476 char * kwnames
[] = {
8477 (char *) "variant", NULL
8480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8482 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8483 if (!SWIG_IsOK(ecode1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8486 arg1
= static_cast< wxWindowVariant
>(val1
);
8489 if (!wxPyCheckForApp()) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8502 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8505 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8506 return SWIG_Py_Void();
8509 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8510 return SWIG_Python_InitShadowInstance(args
);
8513 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
= 0;
8515 wxWindow
*arg1
= (wxWindow
*) 0 ;
8516 int arg2
= (int) -1 ;
8517 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8518 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8523 long arg6
= (long) 0 ;
8524 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8525 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8526 wxStaticBitmap
*result
= 0 ;
8537 bool temp7
= false ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8542 PyObject
* obj4
= 0 ;
8543 PyObject
* obj5
= 0 ;
8544 PyObject
* obj6
= 0 ;
8545 char * kwnames
[] = {
8546 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8551 if (!SWIG_IsOK(res1
)) {
8552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8557 if (!SWIG_IsOK(ecode2
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8560 arg2
= static_cast< int >(val2
);
8563 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8564 if (!SWIG_IsOK(res3
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8570 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8575 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8581 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8585 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8586 if (!SWIG_IsOK(ecode6
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8589 arg6
= static_cast< long >(val6
);
8593 arg7
= wxString_in_helper(obj6
);
8594 if (arg7
== NULL
) SWIG_fail
;
8599 if (!wxPyCheckForApp()) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8620 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8621 PyObject
*resultobj
= 0;
8622 wxStaticBitmap
*result
= 0 ;
8624 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8626 if (!wxPyCheckForApp()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8639 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 wxWindow
*arg2
= (wxWindow
*) 0 ;
8643 int arg3
= (int) -1 ;
8644 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8645 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8650 long arg7
= (long) 0 ;
8651 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8652 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8666 bool temp8
= false ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8670 PyObject
* obj3
= 0 ;
8671 PyObject
* obj4
= 0 ;
8672 PyObject
* obj5
= 0 ;
8673 PyObject
* obj6
= 0 ;
8674 PyObject
* obj7
= 0 ;
8675 char * kwnames
[] = {
8676 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8686 if (!SWIG_IsOK(res2
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8689 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8692 if (!SWIG_IsOK(ecode3
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8695 arg3
= static_cast< int >(val3
);
8698 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8699 if (!SWIG_IsOK(res4
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8705 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8710 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8716 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8720 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8721 if (!SWIG_IsOK(ecode7
)) {
8722 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8724 arg7
= static_cast< long >(val7
);
8728 arg8
= wxString_in_helper(obj7
);
8729 if (arg8
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8756 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 PyObject
*resultobj
= 0;
8758 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8762 PyObject
*swig_obj
[1] ;
8764 if (!args
) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8770 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (arg1
)->GetBitmap();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8784 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
= 0;
8786 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8787 wxBitmap
*arg2
= 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 char * kwnames
[] = {
8795 (char *) "self",(char *) "bitmap", NULL
8798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8800 if (!SWIG_IsOK(res1
)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8803 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8805 if (!SWIG_IsOK(res2
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8811 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_Py_Void();
8825 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= 0;
8827 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8835 char * kwnames
[] = {
8836 (char *) "self",(char *) "icon", NULL
8839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8844 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8846 if (!SWIG_IsOK(res2
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8852 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_Py_Void();
8866 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
= 0;
8868 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8869 SwigValueWrapper
<wxVisualAttributes
> result
;
8872 PyObject
* obj0
= 0 ;
8873 char * kwnames
[] = {
8874 (char *) "variant", NULL
8877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8880 if (!SWIG_IsOK(ecode1
)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8883 arg1
= static_cast< wxWindowVariant
>(val1
);
8886 if (!wxPyCheckForApp()) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8899 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8902 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8903 return SWIG_Py_Void();
8906 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8907 return SWIG_Python_InitShadowInstance(args
);
8910 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8911 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8916 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8917 PyObject
*pyobj
= 0;
8921 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8923 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8930 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
= 0;
8932 wxWindow
*arg1
= (wxWindow
*) 0 ;
8933 int arg2
= (int) -1 ;
8934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8938 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8939 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8940 long arg6
= (long) 0 ;
8941 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8942 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8943 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8945 wxListBox
*result
= 0 ;
8952 bool temp5
= false ;
8957 bool temp8
= false ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 PyObject
* obj2
= 0 ;
8961 PyObject
* obj3
= 0 ;
8962 PyObject
* obj4
= 0 ;
8963 PyObject
* obj5
= 0 ;
8964 PyObject
* obj6
= 0 ;
8965 PyObject
* obj7
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8975 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8978 if (!SWIG_IsOK(ecode2
)) {
8979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8981 arg2
= static_cast< int >(val2
);
8986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8992 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8997 if (! PySequence_Check(obj4
)) {
8998 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9001 arg5
= new wxArrayString
;
9003 int i
, len
=PySequence_Length(obj4
);
9004 for (i
=0; i
<len
; i
++) {
9005 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9006 wxString
* s
= wxString_in_helper(item
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9015 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9016 if (!SWIG_IsOK(ecode6
)) {
9017 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9019 arg6
= static_cast< long >(val6
);
9022 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
9023 if (!SWIG_IsOK(res7
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9029 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
9033 arg8
= wxString_in_helper(obj7
);
9034 if (arg8
== NULL
) SWIG_fail
;
9039 if (!wxPyCheckForApp()) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
9047 if (temp5
) delete arg5
;
9056 if (temp5
) delete arg5
;
9066 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9067 PyObject
*resultobj
= 0;
9068 wxListBox
*result
= 0 ;
9070 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9072 if (!wxPyCheckForApp()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxListBox
*)new wxListBox();
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9085 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxListBox
*arg1
= (wxListBox
*) 0 ;
9088 wxWindow
*arg2
= (wxWindow
*) 0 ;
9089 int arg3
= (int) -1 ;
9090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9094 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9095 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9096 long arg7
= (long) 0 ;
9097 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9098 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9099 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9100 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9110 bool temp6
= false ;
9115 bool temp9
= false ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9119 PyObject
* obj3
= 0 ;
9120 PyObject
* obj4
= 0 ;
9121 PyObject
* obj5
= 0 ;
9122 PyObject
* obj6
= 0 ;
9123 PyObject
* obj7
= 0 ;
9124 PyObject
* obj8
= 0 ;
9125 char * kwnames
[] = {
9126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9134 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9136 if (!SWIG_IsOK(res2
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9142 if (!SWIG_IsOK(ecode3
)) {
9143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9145 arg3
= static_cast< int >(val3
);
9150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9161 if (! PySequence_Check(obj5
)) {
9162 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9165 arg6
= new wxArrayString
;
9167 int i
, len
=PySequence_Length(obj5
);
9168 for (i
=0; i
<len
; i
++) {
9169 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9170 wxString
* s
= wxString_in_helper(item
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9179 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9180 if (!SWIG_IsOK(ecode7
)) {
9181 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9183 arg7
= static_cast< long >(val7
);
9186 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9187 if (!SWIG_IsOK(res8
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9193 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9197 arg9
= wxString_in_helper(obj8
);
9198 if (arg9
== NULL
) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 if (temp6
) delete arg6
;
9221 if (temp6
) delete arg6
;
9231 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
= 0;
9233 wxListBox
*arg1
= (wxListBox
*) 0 ;
9234 wxString
*arg2
= 0 ;
9236 PyObject
*arg4
= (PyObject
*) NULL
;
9239 bool temp2
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9244 PyObject
* obj2
= 0 ;
9245 PyObject
* obj3
= 0 ;
9246 char * kwnames
[] = {
9247 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9252 if (!SWIG_IsOK(res1
)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9255 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9257 arg2
= wxString_in_helper(obj1
);
9258 if (arg2
== NULL
) SWIG_fail
;
9261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9262 if (!SWIG_IsOK(ecode3
)) {
9263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9265 arg3
= static_cast< int >(val3
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_Py_Void();
9290 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
= 0;
9292 wxListBox
*arg1
= (wxListBox
*) 0 ;
9293 wxArrayString
*arg2
= 0 ;
9297 bool temp2
= false ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 PyObject
* obj2
= 0 ;
9303 char * kwnames
[] = {
9304 (char *) "self",(char *) "items",(char *) "pos", NULL
9307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9309 if (!SWIG_IsOK(res1
)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9312 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9314 if (! PySequence_Check(obj1
)) {
9315 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9318 arg2
= new wxArrayString
;
9320 int i
, len
=PySequence_Length(obj1
);
9321 for (i
=0; i
<len
; i
++) {
9322 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9323 wxString
* s
= wxString_in_helper(item
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9330 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9331 if (!SWIG_IsOK(ecode3
)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9334 arg3
= static_cast< unsigned int >(val3
);
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_Py_Void();
9343 if (temp2
) delete arg2
;
9348 if (temp2
) delete arg2
;
9354 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxListBox
*arg1
= (wxListBox
*) 0 ;
9357 wxArrayString
*arg2
= 0 ;
9360 bool temp2
= false ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9363 char * kwnames
[] = {
9364 (char *) "self",(char *) "items", NULL
9367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9369 if (!SWIG_IsOK(res1
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9372 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9374 if (! PySequence_Check(obj1
)) {
9375 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9378 arg2
= new wxArrayString
;
9380 int i
, len
=PySequence_Length(obj1
);
9381 for (i
=0; i
<len
; i
++) {
9382 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9383 wxString
* s
= wxString_in_helper(item
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->Set((wxArrayString
const &)*arg2
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_Py_Void();
9398 if (temp2
) delete arg2
;
9403 if (temp2
) delete arg2
;
9409 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
= 0;
9411 wxListBox
*arg1
= (wxListBox
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "n", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9429 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9431 if (!SWIG_IsOK(ecode2
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9434 arg2
= static_cast< int >(val2
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9450 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
= 0;
9452 wxListBox
*arg1
= (wxListBox
*) 0 ;
9454 bool arg3
= (bool) true ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9464 char * kwnames
[] = {
9465 (char *) "self",(char *) "n",(char *) "select", NULL
9468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9470 if (!SWIG_IsOK(res1
)) {
9471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9473 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9475 if (!SWIG_IsOK(ecode2
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9478 arg2
= static_cast< int >(val2
);
9480 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9481 if (!SWIG_IsOK(ecode3
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9484 arg3
= static_cast< bool >(val3
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->SetSelection(arg2
,arg3
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_Py_Void();
9499 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxListBox
*arg1
= (wxListBox
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "n", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9523 arg2
= static_cast< int >(val2
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->Select(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_Py_Void();
9537 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxListBox
*arg1
= (wxListBox
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "self",(char *) "n", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9556 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9558 if (!SWIG_IsOK(ecode2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9561 arg2
= static_cast< int >(val2
);
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->Deselect(arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_Py_Void();
9575 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= 0;
9577 wxListBox
*arg1
= (wxListBox
*) 0 ;
9578 int arg2
= (int) -1 ;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 char * kwnames
[] = {
9586 (char *) "self",(char *) "itemToLeaveSelected", NULL
9589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9591 if (!SWIG_IsOK(res1
)) {
9592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9594 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9597 if (!SWIG_IsOK(ecode2
)) {
9598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9600 arg2
= static_cast< int >(val2
);
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 (arg1
)->DeselectAll(arg2
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_Py_Void();
9615 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
= 0;
9617 wxListBox
*arg1
= (wxListBox
*) 0 ;
9618 wxString
*arg2
= 0 ;
9619 bool arg3
= (bool) true ;
9623 bool temp2
= false ;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9628 PyObject
* obj2
= 0 ;
9629 char * kwnames
[] = {
9630 (char *) "self",(char *) "s",(char *) "select", NULL
9633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9640 arg2
= wxString_in_helper(obj1
);
9641 if (arg2
== NULL
) SWIG_fail
;
9645 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9646 if (!SWIG_IsOK(ecode3
)) {
9647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9649 arg3
= static_cast< bool >(val3
);
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9675 PyObject
*resultobj
= 0;
9676 wxListBox
*arg1
= (wxListBox
*) 0 ;
9677 PyObject
*result
= 0 ;
9680 PyObject
*swig_obj
[1] ;
9682 if (!args
) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9688 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9702 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= 0;
9704 wxListBox
*arg1
= (wxListBox
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "self",(char *) "n", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9721 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9723 if (!SWIG_IsOK(ecode2
)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9726 arg2
= static_cast< int >(val2
);
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SetFirstItem(arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_Py_Void();
9740 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= 0;
9742 wxListBox
*arg1
= (wxListBox
*) 0 ;
9743 wxString
*arg2
= 0 ;
9746 bool temp2
= false ;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 char * kwnames
[] = {
9750 (char *) "self",(char *) "s", NULL
9753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9758 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9760 arg2
= wxString_in_helper(obj1
);
9761 if (arg2
== NULL
) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_Py_Void();
9785 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
= 0;
9787 wxListBox
*arg1
= (wxListBox
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9794 PyObject
* obj1
= 0 ;
9795 char * kwnames
[] = {
9796 (char *) "self",(char *) "n", NULL
9799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9801 if (!SWIG_IsOK(res1
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9804 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9806 if (!SWIG_IsOK(ecode2
)) {
9807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9809 arg2
= static_cast< int >(val2
);
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 (arg1
)->EnsureVisible(arg2
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_Py_Void();
9823 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
= 0;
9825 wxListBox
*arg1
= (wxListBox
*) 0 ;
9826 wxString
*arg2
= 0 ;
9829 bool temp2
= false ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "self",(char *) "s", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9838 if (!SWIG_IsOK(res1
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9841 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9843 arg2
= wxString_in_helper(obj1
);
9844 if (arg2
== NULL
) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_Py_Void();
9868 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9869 PyObject
*resultobj
= 0;
9870 wxListBox
*arg1
= (wxListBox
*) 0 ;
9874 PyObject
*swig_obj
[1] ;
9876 if (!args
) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9882 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9898 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
= 0;
9900 wxListBox
*arg1
= (wxListBox
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9908 char * kwnames
[] = {
9909 (char *) "self",(char *) "pt", NULL
9912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9914 if (!SWIG_IsOK(res1
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9917 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9920 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_From_int(static_cast< int >(result
));
9935 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
= 0;
9937 wxListBox
*arg1
= (wxListBox
*) 0 ;
9939 wxColour
*arg3
= 0 ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9947 PyObject
* obj2
= 0 ;
9948 char * kwnames
[] = {
9949 (char *) "self",(char *) "item",(char *) "c", NULL
9952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9957 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9959 if (!SWIG_IsOK(ecode2
)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9962 arg2
= static_cast< int >(val2
);
9965 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_Py_Void();
9980 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
= 0;
9982 wxListBox
*arg1
= (wxListBox
*) 0 ;
9984 wxColour
*arg3
= 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9992 PyObject
* obj2
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "self",(char *) "item",(char *) "c", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10002 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10004 if (!SWIG_IsOK(ecode2
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10007 arg2
= static_cast< int >(val2
);
10010 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_Py_Void();
10025 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
= 0;
10027 wxListBox
*arg1
= (wxListBox
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 PyObject
* obj2
= 0 ;
10039 char * kwnames
[] = {
10040 (char *) "self",(char *) "item",(char *) "f", NULL
10043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10048 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10050 if (!SWIG_IsOK(ecode2
)) {
10051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10053 arg2
= static_cast< int >(val2
);
10054 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10055 if (!SWIG_IsOK(res3
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10061 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_Py_Void();
10075 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10078 SwigValueWrapper
<wxVisualAttributes
> result
;
10081 PyObject
* obj0
= 0 ;
10082 char * kwnames
[] = {
10083 (char *) "variant", NULL
10086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10089 if (!SWIG_IsOK(ecode1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10092 arg1
= static_cast< wxWindowVariant
>(val1
);
10095 if (!wxPyCheckForApp()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10108 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10111 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10112 return SWIG_Py_Void();
10115 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 return SWIG_Python_InitShadowInstance(args
);
10119 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
= 0;
10121 wxWindow
*arg1
= (wxWindow
*) 0 ;
10122 int arg2
= (int) -1 ;
10123 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10124 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10125 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10126 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10127 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10128 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10129 long arg6
= (long) 0 ;
10130 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10131 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10132 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10134 wxCheckListBox
*result
= 0 ;
10141 bool temp5
= false ;
10146 bool temp8
= false ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 PyObject
* obj2
= 0 ;
10150 PyObject
* obj3
= 0 ;
10151 PyObject
* obj4
= 0 ;
10152 PyObject
* obj5
= 0 ;
10153 PyObject
* obj6
= 0 ;
10154 PyObject
* obj7
= 0 ;
10155 char * kwnames
[] = {
10156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10161 if (!SWIG_IsOK(res1
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10167 if (!SWIG_IsOK(ecode2
)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10170 arg2
= static_cast< int >(val2
);
10175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10181 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10186 if (! PySequence_Check(obj4
)) {
10187 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10190 arg5
= new wxArrayString
;
10192 int i
, len
=PySequence_Length(obj4
);
10193 for (i
=0; i
<len
; i
++) {
10194 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10195 wxString
* s
= wxString_in_helper(item
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10204 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10205 if (!SWIG_IsOK(ecode6
)) {
10206 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10208 arg6
= static_cast< long >(val6
);
10211 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10212 if (!SWIG_IsOK(res7
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10218 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10222 arg8
= wxString_in_helper(obj7
);
10223 if (arg8
== NULL
) SWIG_fail
;
10228 if (!wxPyCheckForApp()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10236 if (temp5
) delete arg5
;
10245 if (temp5
) delete arg5
;
10255 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxCheckListBox
*result
= 0 ;
10259 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10261 if (!wxPyCheckForApp()) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (wxCheckListBox
*)new wxCheckListBox();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10274 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
= 0;
10276 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10277 wxWindow
*arg2
= (wxWindow
*) 0 ;
10278 int arg3
= (int) -1 ;
10279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10283 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10284 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10285 long arg7
= (long) 0 ;
10286 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10287 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10288 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10289 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10299 bool temp6
= false ;
10304 bool temp9
= false ;
10305 PyObject
* obj0
= 0 ;
10306 PyObject
* obj1
= 0 ;
10307 PyObject
* obj2
= 0 ;
10308 PyObject
* obj3
= 0 ;
10309 PyObject
* obj4
= 0 ;
10310 PyObject
* obj5
= 0 ;
10311 PyObject
* obj6
= 0 ;
10312 PyObject
* obj7
= 0 ;
10313 PyObject
* obj8
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10320 if (!SWIG_IsOK(res1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10323 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10325 if (!SWIG_IsOK(res2
)) {
10326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10328 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10331 if (!SWIG_IsOK(ecode3
)) {
10332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10334 arg3
= static_cast< int >(val3
);
10339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10350 if (! PySequence_Check(obj5
)) {
10351 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10354 arg6
= new wxArrayString
;
10356 int i
, len
=PySequence_Length(obj5
);
10357 for (i
=0; i
<len
; i
++) {
10358 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10359 wxString
* s
= wxString_in_helper(item
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10368 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10369 if (!SWIG_IsOK(ecode7
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10372 arg7
= static_cast< long >(val7
);
10375 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10376 if (!SWIG_IsOK(res8
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10382 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10386 arg9
= wxString_in_helper(obj8
);
10387 if (arg9
== NULL
) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10401 if (temp6
) delete arg6
;
10410 if (temp6
) delete arg6
;
10420 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10423 unsigned int arg2
;
10427 unsigned int val2
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char * kwnames
[] = {
10432 (char *) "self",(char *) "index", NULL
10435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10437 if (!SWIG_IsOK(res1
)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10440 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10441 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10442 if (!SWIG_IsOK(ecode2
)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10445 arg2
= static_cast< unsigned int >(val2
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->IsChecked(arg2
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
= 0;
10463 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10464 unsigned int arg2
;
10465 int arg3
= (int) true ;
10468 unsigned int val2
;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char * kwnames
[] = {
10476 (char *) "self",(char *) "index",(char *) "check", NULL
10479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10484 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10485 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10486 if (!SWIG_IsOK(ecode2
)) {
10487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10489 arg2
= static_cast< unsigned int >(val2
);
10491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10492 if (!SWIG_IsOK(ecode3
)) {
10493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10495 arg3
= static_cast< int >(val3
);
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 (arg1
)->Check(arg2
,arg3
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_Py_Void();
10510 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10513 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10514 return SWIG_Py_Void();
10517 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 return SWIG_Python_InitShadowInstance(args
);
10521 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10522 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10527 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10528 PyObject
*pyobj
= 0;
10532 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10534 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10541 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
= 0;
10543 wxColour
const &arg1_defvalue
= wxNullColour
;
10544 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10545 wxColour
const &arg2_defvalue
= wxNullColour
;
10546 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10547 wxFont
const &arg3_defvalue
= wxNullFont
;
10548 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10549 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10550 wxTextAttr
*result
= 0 ;
10557 PyObject
* obj0
= 0 ;
10558 PyObject
* obj1
= 0 ;
10559 PyObject
* obj2
= 0 ;
10560 PyObject
* obj3
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10569 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10580 if (!SWIG_IsOK(res3
)) {
10581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10586 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10590 if (!SWIG_IsOK(ecode4
)) {
10591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10593 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10608 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10609 PyObject
*resultobj
= 0;
10610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10613 PyObject
*swig_obj
[1] ;
10615 if (!args
) SWIG_fail
;
10616 swig_obj
[0] = args
;
10617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10621 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= SWIG_Py_Void();
10636 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10637 PyObject
*resultobj
= 0;
10638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10641 PyObject
*swig_obj
[1] ;
10643 if (!args
) SWIG_fail
;
10644 swig_obj
[0] = args
;
10645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10649 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_Py_Void();
10663 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= 0;
10665 wxTextAttr
*arg1
= 0 ;
10666 wxTextAttr
*arg2
= 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "base",(char *) "overlay", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10686 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10688 if (!SWIG_IsOK(res2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10694 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10708 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
= 0;
10710 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10711 wxColour
*arg2
= 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char * kwnames
[] = {
10718 (char *) "self",(char *) "colText", NULL
10721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10726 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_Py_Void();
10744 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
= 0;
10746 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10747 wxColour
*arg2
= 0 ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 char * kwnames
[] = {
10754 (char *) "self",(char *) "colBack", NULL
10757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10759 if (!SWIG_IsOK(res1
)) {
10760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10762 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10780 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10784 long arg3
= (long) wxTEXT_ATTR_FONT
;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 PyObject
* obj2
= 0 ;
10794 char * kwnames
[] = {
10795 (char *) "self",(char *) "font",(char *) "flags", NULL
10798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10803 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10805 if (!SWIG_IsOK(res2
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10811 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10813 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10814 if (!SWIG_IsOK(ecode3
)) {
10815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10817 arg3
= static_cast< long >(val3
);
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_Py_Void();
10832 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
= 0;
10834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10835 wxTextAttrAlignment arg2
;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 char * kwnames
[] = {
10843 (char *) "self",(char *) "alignment", NULL
10846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10848 if (!SWIG_IsOK(res1
)) {
10849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10851 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10853 if (!SWIG_IsOK(ecode2
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10856 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 (arg1
)->SetAlignment(arg2
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_Py_Void();
10870 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
= 0;
10872 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10873 wxArrayInt
*arg2
= 0 ;
10876 bool temp2
= false ;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char * kwnames
[] = {
10880 (char *) "self",(char *) "tabs", NULL
10883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10888 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10890 if (! PySequence_Check(obj1
)) {
10891 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10894 arg2
= new wxArrayInt
;
10896 int i
, len
=PySequence_Length(obj1
);
10897 for (i
=0; i
<len
; i
++) {
10898 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10899 PyObject
* number
= PyNumber_Int(item
);
10901 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10904 arg2
->Add(PyInt_AS_LONG(number
));
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_Py_Void();
10917 if (temp2
) delete arg2
;
10922 if (temp2
) delete arg2
;
10928 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= 0;
10930 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10932 int arg3
= (int) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 PyObject
* obj2
= 0 ;
10942 char * kwnames
[] = {
10943 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10948 if (!SWIG_IsOK(res1
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10951 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10953 if (!SWIG_IsOK(ecode2
)) {
10954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10956 arg2
= static_cast< int >(val2
);
10958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10959 if (!SWIG_IsOK(ecode3
)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10962 arg3
= static_cast< int >(val3
);
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 (arg1
)->SetLeftIndent(arg2
,arg3
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= SWIG_Py_Void();
10977 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
= 0;
10979 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char * kwnames
[] = {
10988 (char *) "self",(char *) "indent", NULL
10991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10993 if (!SWIG_IsOK(res1
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10996 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10998 if (!SWIG_IsOK(ecode2
)) {
10999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11001 arg2
= static_cast< int >(val2
);
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 (arg1
)->SetRightIndent(arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_Py_Void();
11015 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
= 0;
11017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "flags", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11034 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11036 if (!SWIG_IsOK(ecode2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11039 arg2
= static_cast< long >(val2
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetFlags(arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(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_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(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_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(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_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11157 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11187 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11204 PyObject
*resultobj
= 0;
11205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11209 PyObject
*swig_obj
[1] ;
11211 if (!args
) SWIG_fail
;
11212 swig_obj
[0] = args
;
11213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11217 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11234 PyObject
*resultobj
= 0;
11235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11239 PyObject
*swig_obj
[1] ;
11241 if (!args
) SWIG_fail
;
11242 swig_obj
[0] = args
;
11243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11247 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
= 0;
11265 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 char * kwnames
[] = {
11275 (char *) "self",(char *) "flag", NULL
11278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11280 if (!SWIG_IsOK(res1
)) {
11281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11283 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11285 if (!SWIG_IsOK(ecode2
)) {
11286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11288 arg2
= static_cast< long >(val2
);
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11304 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11305 PyObject
*resultobj
= 0;
11306 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11307 wxColour
*result
= 0 ;
11310 PyObject
*swig_obj
[1] ;
11312 if (!args
) SWIG_fail
;
11313 swig_obj
[0] = args
;
11314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11318 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11323 result
= (wxColour
*) &_result_ref
;
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11335 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11336 PyObject
*resultobj
= 0;
11337 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11338 wxColour
*result
= 0 ;
11341 PyObject
*swig_obj
[1] ;
11343 if (!args
) SWIG_fail
;
11344 swig_obj
[0] = args
;
11345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11349 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11354 result
= (wxColour
*) &_result_ref
;
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11366 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11367 PyObject
*resultobj
= 0;
11368 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11369 wxFont
*result
= 0 ;
11372 PyObject
*swig_obj
[1] ;
11374 if (!args
) SWIG_fail
;
11375 swig_obj
[0] = args
;
11376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11377 if (!SWIG_IsOK(res1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11380 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11385 result
= (wxFont
*) &_result_ref
;
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 wxFont
* resultptr
= new wxFont(*result
);
11392 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11400 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11403 wxTextAttrAlignment result
;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11414 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_From_int(static_cast< int >(result
));
11428 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11431 wxArrayInt
*result
= 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11442 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11447 result
= (wxArrayInt
*) &_result_ref
;
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= wxArrayInt2PyList_helper(*result
);
11461 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11462 PyObject
*resultobj
= 0;
11463 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11467 PyObject
*swig_obj
[1] ;
11469 if (!args
) SWIG_fail
;
11470 swig_obj
[0] = args
;
11471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11472 if (!SWIG_IsOK(res1
)) {
11473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11475 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_From_long(static_cast< long >(result
));
11489 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11490 PyObject
*resultobj
= 0;
11491 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11495 PyObject
*swig_obj
[1] ;
11497 if (!args
) SWIG_fail
;
11498 swig_obj
[0] = args
;
11499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11500 if (!SWIG_IsOK(res1
)) {
11501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11503 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_From_long(static_cast< long >(result
));
11517 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11518 PyObject
*resultobj
= 0;
11519 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11523 PyObject
*swig_obj
[1] ;
11525 if (!args
) SWIG_fail
;
11526 swig_obj
[0] = args
;
11527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11528 if (!SWIG_IsOK(res1
)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11531 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_From_long(static_cast< long >(result
));
11545 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 PyObject
*resultobj
= 0;
11547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11551 PyObject
*swig_obj
[1] ;
11553 if (!args
) SWIG_fail
;
11554 swig_obj
[0] = args
;
11555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11556 if (!SWIG_IsOK(res1
)) {
11557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11559 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_From_long(static_cast< long >(result
));
11573 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 PyObject
*resultobj
= 0;
11575 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11579 PyObject
*swig_obj
[1] ;
11581 if (!args
) SWIG_fail
;
11582 swig_obj
[0] = args
;
11583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11587 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11603 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
= 0;
11605 wxTextAttr
*arg1
= 0 ;
11606 wxTextAttr
*arg2
= 0 ;
11607 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 PyObject
* obj2
= 0 ;
11618 char * kwnames
[] = {
11619 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11623 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11630 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11632 if (!SWIG_IsOK(res2
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11638 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11639 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11640 if (!SWIG_IsOK(res3
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11643 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11657 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11660 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11661 return SWIG_Py_Void();
11664 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 return SWIG_Python_InitShadowInstance(args
);
11668 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
= 0;
11670 wxWindow
*arg1
= (wxWindow
*) 0 ;
11671 int arg2
= (int) -1 ;
11672 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11673 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11674 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11675 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11676 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11677 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11678 long arg6
= (long) 0 ;
11679 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11680 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11681 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11682 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11683 wxTextCtrl
*result
= 0 ;
11688 bool temp3
= false ;
11695 bool temp8
= false ;
11696 PyObject
* obj0
= 0 ;
11697 PyObject
* obj1
= 0 ;
11698 PyObject
* obj2
= 0 ;
11699 PyObject
* obj3
= 0 ;
11700 PyObject
* obj4
= 0 ;
11701 PyObject
* obj5
= 0 ;
11702 PyObject
* obj6
= 0 ;
11703 PyObject
* obj7
= 0 ;
11704 char * kwnames
[] = {
11705 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11713 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11716 if (!SWIG_IsOK(ecode2
)) {
11717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11719 arg2
= static_cast< int >(val2
);
11723 arg3
= wxString_in_helper(obj2
);
11724 if (arg3
== NULL
) SWIG_fail
;
11731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11741 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11742 if (!SWIG_IsOK(ecode6
)) {
11743 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11745 arg6
= static_cast< long >(val6
);
11748 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11749 if (!SWIG_IsOK(res7
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11755 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11759 arg8
= wxString_in_helper(obj7
);
11760 if (arg8
== NULL
) SWIG_fail
;
11765 if (!wxPyCheckForApp()) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11794 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxTextCtrl
*result
= 0 ;
11798 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11800 if (!wxPyCheckForApp()) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (wxTextCtrl
*)new wxTextCtrl();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11813 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
= 0;
11815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11816 wxWindow
*arg2
= (wxWindow
*) 0 ;
11817 int arg3
= (int) -1 ;
11818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11824 long arg7
= (long) 0 ;
11825 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11826 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11827 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11828 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11836 bool temp4
= false ;
11843 bool temp9
= false ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 PyObject
* obj4
= 0 ;
11849 PyObject
* obj5
= 0 ;
11850 PyObject
* obj6
= 0 ;
11851 PyObject
* obj7
= 0 ;
11852 PyObject
* obj8
= 0 ;
11853 char * kwnames
[] = {
11854 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11862 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11864 if (!SWIG_IsOK(res2
)) {
11865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11867 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11870 if (!SWIG_IsOK(ecode3
)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11873 arg3
= static_cast< int >(val3
);
11877 arg4
= wxString_in_helper(obj3
);
11878 if (arg4
== NULL
) SWIG_fail
;
11885 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11891 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11895 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11896 if (!SWIG_IsOK(ecode7
)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11899 arg7
= static_cast< long >(val7
);
11902 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11903 if (!SWIG_IsOK(res8
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11909 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11913 arg9
= wxString_in_helper(obj8
);
11914 if (arg9
== NULL
) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11950 PyObject
*resultobj
= 0;
11951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11955 PyObject
*swig_obj
[1] ;
11957 if (!args
) SWIG_fail
;
11958 swig_obj
[0] = args
;
11959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11983 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
= 0;
11985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11986 wxString
*arg2
= 0 ;
11989 bool temp2
= false ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 char * kwnames
[] = {
11993 (char *) "self",(char *) "value", NULL
11996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12001 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12003 arg2
= wxString_in_helper(obj1
);
12004 if (arg2
== NULL
) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 (arg1
)->SetValue((wxString
const &)*arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_Py_Void();
12028 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 PyObject
*resultobj
= 0;
12030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12034 PyObject
*swig_obj
[1] ;
12036 if (!args
) SWIG_fail
;
12037 swig_obj
[0] = args
;
12038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12042 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12058 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12061 wxString
*arg2
= 0 ;
12064 bool temp2
= false ;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 char * kwnames
[] = {
12068 (char *) "self",(char *) "value", NULL
12071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12073 if (!SWIG_IsOK(res1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12076 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12078 arg2
= wxString_in_helper(obj1
);
12079 if (arg2
== NULL
) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_Py_Void();
12103 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
= 0;
12105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 PyObject
* obj2
= 0 ;
12118 char * kwnames
[] = {
12119 (char *) "self",(char *) "from",(char *) "to", NULL
12122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12127 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12128 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12129 if (!SWIG_IsOK(ecode2
)) {
12130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12132 arg2
= static_cast< long >(val2
);
12133 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12134 if (!SWIG_IsOK(ecode3
)) {
12135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12137 arg3
= static_cast< long >(val3
);
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12157 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
= 0;
12159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 char * kwnames
[] = {
12169 (char *) "self",(char *) "lineNo", NULL
12172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12174 if (!SWIG_IsOK(res1
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12177 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12178 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12179 if (!SWIG_IsOK(ecode2
)) {
12180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12182 arg2
= static_cast< long >(val2
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_From_int(static_cast< int >(result
));
12196 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "lineNo", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12216 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12218 if (!SWIG_IsOK(ecode2
)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12221 arg2
= static_cast< long >(val2
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12241 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12242 PyObject
*resultobj
= 0;
12243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12255 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_From_int(static_cast< int >(result
));
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(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_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(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_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12313 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12329 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12335 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12343 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12359 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12360 PyObject
*resultobj
= 0;
12361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12365 PyObject
*swig_obj
[1] ;
12367 if (!args
) SWIG_fail
;
12368 swig_obj
[0] = args
;
12369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12370 if (!SWIG_IsOK(res1
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12373 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12389 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12392 long *arg2
= (long *) 0 ;
12393 long *arg3
= (long *) 0 ;
12397 int res2
= SWIG_TMPOBJ
;
12399 int res3
= SWIG_TMPOBJ
;
12400 PyObject
*swig_obj
[1] ;
12404 if (!args
) SWIG_fail
;
12405 swig_obj
[0] = args
;
12406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12407 if (!SWIG_IsOK(res1
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= SWIG_Py_Void();
12418 if (SWIG_IsTmpObj(res2
)) {
12419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12421 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12424 if (SWIG_IsTmpObj(res3
)) {
12425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12427 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12436 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12437 PyObject
*resultobj
= 0;
12438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12442 PyObject
*swig_obj
[1] ;
12444 if (!args
) SWIG_fail
;
12445 swig_obj
[0] = args
;
12446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12447 if (!SWIG_IsOK(res1
)) {
12448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12450 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12470 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12471 PyObject
*resultobj
= 0;
12472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12475 PyObject
*swig_obj
[1] ;
12477 if (!args
) SWIG_fail
;
12478 swig_obj
[0] = args
;
12479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12480 if (!SWIG_IsOK(res1
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12483 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_Py_Void();
12497 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
= 0;
12499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12502 wxString
*arg4
= 0 ;
12509 bool temp4
= false ;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 PyObject
* obj2
= 0 ;
12513 PyObject
* obj3
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_Replace" "', 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_Replace" "', 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_Replace" "', expected argument " "3"" of type '" "long""'");
12533 arg3
= static_cast< long >(val3
);
12535 arg4
= wxString_in_helper(obj3
);
12536 if (arg4
== NULL
) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= SWIG_Py_Void();
12560 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
= 0;
12562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 PyObject
* obj2
= 0 ;
12574 char * kwnames
[] = {
12575 (char *) "self",(char *) "from",(char *) "to", NULL
12578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12585 if (!SWIG_IsOK(ecode2
)) {
12586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12588 arg2
= static_cast< long >(val2
);
12589 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12590 if (!SWIG_IsOK(ecode3
)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12593 arg3
= static_cast< long >(val3
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->Remove(arg2
,arg3
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12610 wxString
*arg2
= 0 ;
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 *)"OO|O:TextCtrl_LoadFile",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_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12632 arg2
= wxString_in_helper(obj1
);
12633 if (arg2
== NULL
) SWIG_fail
;
12637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12638 if (!SWIG_IsOK(ecode3
)) {
12639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12641 arg3
= static_cast< int >(val3
);
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12666 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
= 0;
12668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12669 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12670 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12671 int arg3
= (int) wxTEXT_TYPE_ANY
;
12675 bool temp2
= false ;
12678 PyObject
* obj0
= 0 ;
12679 PyObject
* obj1
= 0 ;
12680 PyObject
* obj2
= 0 ;
12681 char * kwnames
[] = {
12682 (char *) "self",(char *) "file",(char *) "fileType", NULL
12685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12687 if (!SWIG_IsOK(res1
)) {
12688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12690 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12693 arg2
= wxString_in_helper(obj1
);
12694 if (arg2
== NULL
) SWIG_fail
;
12699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12700 if (!SWIG_IsOK(ecode3
)) {
12701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12703 arg3
= static_cast< int >(val3
);
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12728 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12729 PyObject
*resultobj
= 0;
12730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12733 PyObject
*swig_obj
[1] ;
12735 if (!args
) SWIG_fail
;
12736 swig_obj
[0] = args
;
12737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12741 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->MarkDirty();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_Py_Void();
12755 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12756 PyObject
*resultobj
= 0;
12757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12768 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->DiscardEdits();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_Py_Void();
12782 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "modified", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12801 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12803 if (!SWIG_IsOK(ecode2
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12806 arg2
= static_cast< bool >(val2
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetModified(arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12820 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= 0;
12822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12823 unsigned long arg2
;
12826 unsigned long val2
;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char * kwnames
[] = {
12831 (char *) "self",(char *) "len", NULL
12834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12839 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12840 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12841 if (!SWIG_IsOK(ecode2
)) {
12842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12844 arg2
= static_cast< unsigned long >(val2
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->SetMaxLength(arg2
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12861 wxString
*arg2
= 0 ;
12864 bool temp2
= false ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 char * kwnames
[] = {
12868 (char *) "self",(char *) "text", NULL
12871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12873 if (!SWIG_IsOK(res1
)) {
12874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12876 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12878 arg2
= wxString_in_helper(obj1
);
12879 if (arg2
== NULL
) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 (arg1
)->WriteText((wxString
const &)*arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= SWIG_Py_Void();
12903 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
= 0;
12905 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12906 wxString
*arg2
= 0 ;
12909 bool temp2
= false ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 char * kwnames
[] = {
12913 (char *) "self",(char *) "text", NULL
12916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12921 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12923 arg2
= wxString_in_helper(obj1
);
12924 if (arg2
== NULL
) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 (arg1
)->AppendText((wxString
const &)*arg2
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_Py_Void();
12948 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12951 wxKeyEvent
*arg2
= 0 ;
12957 PyObject
* obj0
= 0 ;
12958 PyObject
* obj1
= 0 ;
12959 char * kwnames
[] = {
12960 (char *) "self",(char *) "event", NULL
12963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12965 if (!SWIG_IsOK(res1
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12968 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12970 if (!SWIG_IsOK(res2
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12976 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12992 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
= 0;
12994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12997 wxTextAttr
*arg4
= 0 ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 PyObject
* obj3
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13020 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13022 if (!SWIG_IsOK(ecode2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13025 arg2
= static_cast< long >(val2
);
13026 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13027 if (!SWIG_IsOK(ecode3
)) {
13028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13030 arg3
= static_cast< long >(val3
);
13031 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13032 if (!SWIG_IsOK(res4
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13038 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= 0;
13056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13058 wxTextAttr
*arg3
= 0 ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 PyObject
* obj2
= 0 ;
13069 char * kwnames
[] = {
13070 (char *) "self",(char *) "position",(char *) "style", NULL
13073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13078 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13080 if (!SWIG_IsOK(ecode2
)) {
13081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13083 arg2
= static_cast< long >(val2
);
13084 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13085 if (!SWIG_IsOK(res3
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13091 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
= 0;
13109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13110 wxTextAttr
*arg2
= 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "style", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13127 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13129 if (!SWIG_IsOK(res2
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13135 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13151 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13152 PyObject
*resultobj
= 0;
13153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13154 wxTextAttr
*result
= 0 ;
13157 PyObject
*swig_obj
[1] ;
13159 if (!args
) SWIG_fail
;
13160 swig_obj
[0] = args
;
13161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13162 if (!SWIG_IsOK(res1
)) {
13163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13165 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13170 result
= (wxTextAttr
*) &_result_ref
;
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13182 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
= 0;
13184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 PyObject
* obj2
= 0 ;
13197 char * kwnames
[] = {
13198 (char *) "self",(char *) "x",(char *) "y", NULL
13201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13203 if (!SWIG_IsOK(res1
)) {
13204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13206 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13208 if (!SWIG_IsOK(ecode2
)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13211 arg2
= static_cast< long >(val2
);
13212 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13213 if (!SWIG_IsOK(ecode3
)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13216 arg3
= static_cast< long >(val3
);
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_From_long(static_cast< long >(result
));
13230 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13234 long *arg3
= (long *) 0 ;
13235 long *arg4
= (long *) 0 ;
13241 int res3
= SWIG_TMPOBJ
;
13243 int res4
= SWIG_TMPOBJ
;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 char * kwnames
[] = {
13247 (char *) "self",(char *) "pos", NULL
13252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13254 if (!SWIG_IsOK(res1
)) {
13255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13257 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13258 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13259 if (!SWIG_IsOK(ecode2
)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13262 arg2
= static_cast< long >(val2
);
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_Py_Void();
13270 if (SWIG_IsTmpObj(res3
)) {
13271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13273 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13276 if (SWIG_IsTmpObj(res4
)) {
13277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13279 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13288 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
= 0;
13290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char * kwnames
[] = {
13299 (char *) "self",(char *) "pos", NULL
13302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13307 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13308 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13309 if (!SWIG_IsOK(ecode2
)) {
13310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13312 arg2
= static_cast< long >(val2
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 (arg1
)->ShowPosition(arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_Py_Void();
13326 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= 0;
13328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13329 wxPoint
*arg2
= 0 ;
13330 long *arg3
= (long *) 0 ;
13331 long *arg4
= (long *) 0 ;
13332 wxTextCtrlHitTestResult result
;
13337 int res3
= SWIG_TMPOBJ
;
13339 int res4
= SWIG_TMPOBJ
;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char * kwnames
[] = {
13343 (char *) "self",(char *) "pt", NULL
13348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13353 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_From_int(static_cast< int >(result
));
13365 if (SWIG_IsTmpObj(res3
)) {
13366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13368 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13371 if (SWIG_IsTmpObj(res4
)) {
13372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13374 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13383 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
= 0;
13385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13386 wxPoint
*arg2
= 0 ;
13387 long *arg3
= (long *) 0 ;
13388 wxTextCtrlHitTestResult result
;
13393 int res3
= SWIG_TMPOBJ
;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char * kwnames
[] = {
13397 (char *) "self",(char *) "pt", NULL
13401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13403 if (!SWIG_IsOK(res1
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13406 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_From_int(static_cast< int >(result
));
13418 if (SWIG_IsTmpObj(res3
)) {
13419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13421 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13430 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13431 PyObject
*resultobj
= 0;
13432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13435 PyObject
*swig_obj
[1] ;
13437 if (!args
) SWIG_fail
;
13438 swig_obj
[0] = args
;
13439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13440 if (!SWIG_IsOK(res1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13443 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_Py_Void();
13457 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13458 PyObject
*resultobj
= 0;
13459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13462 PyObject
*swig_obj
[1] ;
13464 if (!args
) SWIG_fail
;
13465 swig_obj
[0] = args
;
13466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13467 if (!SWIG_IsOK(res1
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13470 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_Py_Void();
13484 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13489 PyObject
*swig_obj
[1] ;
13491 if (!args
) SWIG_fail
;
13492 swig_obj
[0] = args
;
13493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13497 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(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_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13525 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13547 PyObject
*swig_obj
[1] ;
13549 if (!args
) SWIG_fail
;
13550 swig_obj
[0] = args
;
13551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13571 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13572 PyObject
*resultobj
= 0;
13573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13577 PyObject
*swig_obj
[1] ;
13579 if (!args
) SWIG_fail
;
13580 swig_obj
[0] = args
;
13581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13582 if (!SWIG_IsOK(res1
)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13585 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13601 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13602 PyObject
*resultobj
= 0;
13603 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13606 PyObject
*swig_obj
[1] ;
13608 if (!args
) SWIG_fail
;
13609 swig_obj
[0] = args
;
13610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13611 if (!SWIG_IsOK(res1
)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13614 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= SWIG_Py_Void();
13628 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13629 PyObject
*resultobj
= 0;
13630 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13633 PyObject
*swig_obj
[1] ;
13635 if (!args
) SWIG_fail
;
13636 swig_obj
[0] = args
;
13637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13638 if (!SWIG_IsOK(res1
)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13641 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_Py_Void();
13655 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13656 PyObject
*resultobj
= 0;
13657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13661 PyObject
*swig_obj
[1] ;
13663 if (!args
) SWIG_fail
;
13664 swig_obj
[0] = args
;
13665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13666 if (!SWIG_IsOK(res1
)) {
13667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13685 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13686 PyObject
*resultobj
= 0;
13687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13691 PyObject
*swig_obj
[1] ;
13693 if (!args
) SWIG_fail
;
13694 swig_obj
[0] = args
;
13695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= 0;
13717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "self",(char *) "pos", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13734 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13735 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13736 if (!SWIG_IsOK(ecode2
)) {
13737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13739 arg2
= static_cast< long >(val2
);
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 (arg1
)->SetInsertionPoint(arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_Py_Void();
13753 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13754 PyObject
*resultobj
= 0;
13755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13758 PyObject
*swig_obj
[1] ;
13760 if (!args
) SWIG_fail
;
13761 swig_obj
[0] = args
;
13762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13766 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->SetInsertionPointEnd();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_Py_Void();
13780 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13781 PyObject
*resultobj
= 0;
13782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13786 PyObject
*swig_obj
[1] ;
13788 if (!args
) SWIG_fail
;
13789 swig_obj
[0] = args
;
13790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13794 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_From_long(static_cast< long >(result
));
13808 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13809 PyObject
*resultobj
= 0;
13810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13814 PyObject
*swig_obj
[1] ;
13816 if (!args
) SWIG_fail
;
13817 swig_obj
[0] = args
;
13818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13822 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_From_long(static_cast< long >(result
));
13836 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
= 0;
13838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 PyObject
* obj2
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "self",(char *) "from",(char *) "to", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13859 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13861 if (!SWIG_IsOK(ecode2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13864 arg2
= static_cast< long >(val2
);
13865 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13866 if (!SWIG_IsOK(ecode3
)) {
13867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13869 arg3
= static_cast< long >(val3
);
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 (arg1
)->SetSelection(arg2
,arg3
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_Py_Void();
13883 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13888 PyObject
*swig_obj
[1] ;
13890 if (!args
) SWIG_fail
;
13891 swig_obj
[0] = args
;
13892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13896 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->SelectAll();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_Py_Void();
13910 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
= 0;
13912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 char * kwnames
[] = {
13921 (char *) "self",(char *) "editable", NULL
13924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13926 if (!SWIG_IsOK(res1
)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13929 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13931 if (!SWIG_IsOK(ecode2
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13934 arg2
= static_cast< bool >(val2
);
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 (arg1
)->SetEditable(arg2
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_Py_Void();
13948 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
= 0;
13950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char * kwnames
[] = {
13959 (char *) "self",(char *) "check", NULL
13962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13964 if (!SWIG_IsOK(res1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13967 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13968 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13969 if (!SWIG_IsOK(ecode2
)) {
13970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13972 arg2
= static_cast< bool >(val2
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 (arg1
)->MacCheckSpelling(arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_Py_Void();
13986 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 PyObject
*resultobj
= 0;
13988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13991 PyObject
*swig_obj
[1] ;
13993 if (!args
) SWIG_fail
;
13994 swig_obj
[0] = args
;
13995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13996 if (!SWIG_IsOK(res1
)) {
13997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13999 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->SendTextUpdatedEvent();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_Py_Void();
14013 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
= 0;
14015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14016 wxString
*arg2
= 0 ;
14019 bool temp2
= false ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 char * kwnames
[] = {
14023 (char *) "self",(char *) "text", NULL
14026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14028 if (!SWIG_IsOK(res1
)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14031 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14033 arg2
= wxString_in_helper(obj1
);
14034 if (arg2
== NULL
) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_Py_Void();
14058 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= 0;
14060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 PyObject
* obj2
= 0 ;
14073 char * kwnames
[] = {
14074 (char *) "self",(char *) "from",(char *) "to", NULL
14077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14079 if (!SWIG_IsOK(res1
)) {
14080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14082 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14083 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14084 if (!SWIG_IsOK(ecode2
)) {
14085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14087 arg2
= static_cast< long >(val2
);
14088 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14089 if (!SWIG_IsOK(ecode3
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14092 arg3
= static_cast< long >(val3
);
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14112 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
= 0;
14114 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14115 SwigValueWrapper
<wxVisualAttributes
> result
;
14118 PyObject
* obj0
= 0 ;
14119 char * kwnames
[] = {
14120 (char *) "variant", NULL
14123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14126 if (!SWIG_IsOK(ecode1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14129 arg1
= static_cast< wxWindowVariant
>(val1
);
14132 if (!wxPyCheckForApp()) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14145 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14148 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14149 return SWIG_Py_Void();
14152 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 return SWIG_Python_InitShadowInstance(args
);
14156 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
= 0;
14159 wxMouseEvent
*arg2
= 0 ;
14162 wxTextUrlEvent
*result
= 0 ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 PyObject
* obj3
= 0 ;
14175 char * kwnames
[] = {
14176 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14181 if (!SWIG_IsOK(ecode1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14184 arg1
= static_cast< int >(val1
);
14185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14186 if (!SWIG_IsOK(res2
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14192 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14193 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14194 if (!SWIG_IsOK(ecode3
)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14197 arg3
= static_cast< long >(val3
);
14198 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14199 if (!SWIG_IsOK(ecode4
)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14202 arg4
= static_cast< long >(val4
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14216 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14217 PyObject
*resultobj
= 0;
14218 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14219 wxMouseEvent
*result
= 0 ;
14222 PyObject
*swig_obj
[1] ;
14224 if (!args
) SWIG_fail
;
14225 swig_obj
[0] = args
;
14226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14230 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14235 result
= (wxMouseEvent
*) &_result_ref
;
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14247 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14248 PyObject
*resultobj
= 0;
14249 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14253 PyObject
*swig_obj
[1] ;
14255 if (!args
) SWIG_fail
;
14256 swig_obj
[0] = args
;
14257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14258 if (!SWIG_IsOK(res1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14261 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_From_long(static_cast< long >(result
));
14275 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14276 PyObject
*resultobj
= 0;
14277 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14281 PyObject
*swig_obj
[1] ;
14283 if (!args
) SWIG_fail
;
14284 swig_obj
[0] = args
;
14285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14286 if (!SWIG_IsOK(res1
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14289 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= SWIG_From_long(static_cast< long >(result
));
14303 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14306 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14307 return SWIG_Py_Void();
14310 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14311 return SWIG_Python_InitShadowInstance(args
);
14314 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14315 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14320 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14321 PyObject
*pyobj
= 0;
14325 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14327 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14334 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
= 0;
14336 wxWindow
*arg1
= (wxWindow
*) 0 ;
14337 int arg2
= (int) -1 ;
14338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14342 long arg5
= (long) wxSB_HORIZONTAL
;
14343 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14344 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14345 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14347 wxScrollBar
*result
= 0 ;
14358 bool temp7
= false ;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 PyObject
* obj2
= 0 ;
14362 PyObject
* obj3
= 0 ;
14363 PyObject
* obj4
= 0 ;
14364 PyObject
* obj5
= 0 ;
14365 PyObject
* obj6
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14378 if (!SWIG_IsOK(ecode2
)) {
14379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14381 arg2
= static_cast< int >(val2
);
14386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14392 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14396 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14397 if (!SWIG_IsOK(ecode5
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14400 arg5
= static_cast< long >(val5
);
14403 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14404 if (!SWIG_IsOK(res6
)) {
14405 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14410 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14414 arg7
= wxString_in_helper(obj6
);
14415 if (arg7
== NULL
) SWIG_fail
;
14420 if (!wxPyCheckForApp()) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14441 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14442 PyObject
*resultobj
= 0;
14443 wxScrollBar
*result
= 0 ;
14445 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14447 if (!wxPyCheckForApp()) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (wxScrollBar
*)new wxScrollBar();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14460 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
= 0;
14462 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14463 wxWindow
*arg2
= (wxWindow
*) 0 ;
14464 int arg3
= (int) -1 ;
14465 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14466 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14467 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14468 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14469 long arg6
= (long) wxSB_HORIZONTAL
;
14470 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14471 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14472 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14487 bool temp8
= false ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 PyObject
* obj2
= 0 ;
14491 PyObject
* obj3
= 0 ;
14492 PyObject
* obj4
= 0 ;
14493 PyObject
* obj5
= 0 ;
14494 PyObject
* obj6
= 0 ;
14495 PyObject
* obj7
= 0 ;
14496 char * kwnames
[] = {
14497 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14502 if (!SWIG_IsOK(res1
)) {
14503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14505 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14507 if (!SWIG_IsOK(res2
)) {
14508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14513 if (!SWIG_IsOK(ecode3
)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14516 arg3
= static_cast< int >(val3
);
14521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14531 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14532 if (!SWIG_IsOK(ecode6
)) {
14533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14535 arg6
= static_cast< long >(val6
);
14538 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14539 if (!SWIG_IsOK(res7
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14545 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14549 arg8
= wxString_in_helper(obj7
);
14550 if (arg8
== NULL
) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14577 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14591 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_From_int(static_cast< int >(result
));
14605 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14606 PyObject
*resultobj
= 0;
14607 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14611 PyObject
*swig_obj
[1] ;
14613 if (!args
) SWIG_fail
;
14614 swig_obj
[0] = args
;
14615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14619 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_From_int(static_cast< int >(result
));
14633 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14639 PyObject
*swig_obj
[1] ;
14641 if (!args
) SWIG_fail
;
14642 swig_obj
[0] = args
;
14643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14647 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_From_int(static_cast< int >(result
));
14661 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14662 PyObject
*resultobj
= 0;
14663 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14667 PyObject
*swig_obj
[1] ;
14669 if (!args
) SWIG_fail
;
14670 swig_obj
[0] = args
;
14671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14672 if (!SWIG_IsOK(res1
)) {
14673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14675 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_From_int(static_cast< int >(result
));
14689 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14690 PyObject
*resultobj
= 0;
14691 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14695 PyObject
*swig_obj
[1] ;
14697 if (!args
) SWIG_fail
;
14698 swig_obj
[0] = args
;
14699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14700 if (!SWIG_IsOK(res1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14703 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14719 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
= 0;
14721 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj1
= 0 ;
14729 char * kwnames
[] = {
14730 (char *) "self",(char *) "viewStart", NULL
14733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14738 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14740 if (!SWIG_IsOK(ecode2
)) {
14741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14743 arg2
= static_cast< int >(val2
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 (arg1
)->SetThumbPosition(arg2
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_Py_Void();
14757 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
= 0;
14759 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14760 SwigValueWrapper
<wxVisualAttributes
> result
;
14763 PyObject
* obj0
= 0 ;
14764 char * kwnames
[] = {
14765 (char *) "variant", NULL
14768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14771 if (!SWIG_IsOK(ecode1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14774 arg1
= static_cast< wxWindowVariant
>(val1
);
14777 if (!wxPyCheckForApp()) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14790 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14793 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14794 return SWIG_Py_Void();
14797 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14798 return SWIG_Python_InitShadowInstance(args
);
14801 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14802 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14807 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14808 PyObject
*pyobj
= 0;
14812 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14814 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14821 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14822 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14827 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14828 PyObject
*pyobj
= 0;
14832 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14834 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14841 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
= 0;
14843 wxWindow
*arg1
= (wxWindow
*) 0 ;
14844 int arg2
= (int) -1 ;
14845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14847 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14848 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14849 long arg5
= (long) wxSP_HORIZONTAL
;
14850 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14851 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14852 wxSpinButton
*result
= 0 ;
14861 bool temp6
= false ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 PyObject
* obj2
= 0 ;
14865 PyObject
* obj3
= 0 ;
14866 PyObject
* obj4
= 0 ;
14867 PyObject
* obj5
= 0 ;
14868 char * kwnames
[] = {
14869 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14874 if (!SWIG_IsOK(res1
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14877 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14880 if (!SWIG_IsOK(ecode2
)) {
14881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14883 arg2
= static_cast< int >(val2
);
14888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14898 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14899 if (!SWIG_IsOK(ecode5
)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14902 arg5
= static_cast< long >(val5
);
14906 arg6
= wxString_in_helper(obj5
);
14907 if (arg6
== NULL
) SWIG_fail
;
14912 if (!wxPyCheckForApp()) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14933 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxSpinButton
*result
= 0 ;
14937 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14939 if (!wxPyCheckForApp()) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (wxSpinButton
*)new wxSpinButton();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14952 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
= 0;
14954 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14955 wxWindow
*arg2
= (wxWindow
*) 0 ;
14956 int arg3
= (int) -1 ;
14957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14961 long arg6
= (long) wxSP_HORIZONTAL
;
14962 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14975 bool temp7
= false ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj2
= 0 ;
14979 PyObject
* obj3
= 0 ;
14980 PyObject
* obj4
= 0 ;
14981 PyObject
* obj5
= 0 ;
14982 PyObject
* obj6
= 0 ;
14983 char * kwnames
[] = {
14984 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14989 if (!SWIG_IsOK(res1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14992 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14994 if (!SWIG_IsOK(res2
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15000 if (!SWIG_IsOK(ecode3
)) {
15001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15003 arg3
= static_cast< int >(val3
);
15008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15019 if (!SWIG_IsOK(ecode6
)) {
15020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15022 arg6
= static_cast< long >(val6
);
15026 arg7
= wxString_in_helper(obj6
);
15027 if (arg7
== NULL
) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15054 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15055 PyObject
*resultobj
= 0;
15056 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15060 PyObject
*swig_obj
[1] ;
15062 if (!args
) SWIG_fail
;
15063 swig_obj
[0] = args
;
15064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15065 if (!SWIG_IsOK(res1
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15068 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_From_int(static_cast< int >(result
));
15082 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 PyObject
*resultobj
= 0;
15084 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15088 PyObject
*swig_obj
[1] ;
15090 if (!args
) SWIG_fail
;
15091 swig_obj
[0] = args
;
15092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15096 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_From_int(static_cast< int >(result
));
15110 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15111 PyObject
*resultobj
= 0;
15112 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15116 PyObject
*swig_obj
[1] ;
15118 if (!args
) SWIG_fail
;
15119 swig_obj
[0] = args
;
15120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15124 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_From_int(static_cast< int >(result
));
15138 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= 0;
15140 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "val", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15157 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15159 if (!SWIG_IsOK(ecode2
)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15162 arg2
= static_cast< int >(val2
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetValue(arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_Py_Void();
15176 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
= 0;
15178 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 char * kwnames
[] = {
15187 (char *) "self",(char *) "minVal", NULL
15190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15192 if (!SWIG_IsOK(res1
)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15195 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15197 if (!SWIG_IsOK(ecode2
)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15200 arg2
= static_cast< int >(val2
);
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 (arg1
)->SetMin(arg2
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_Py_Void();
15214 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
= 0;
15216 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char * kwnames
[] = {
15225 (char *) "self",(char *) "maxVal", NULL
15228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15230 if (!SWIG_IsOK(res1
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15233 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15235 if (!SWIG_IsOK(ecode2
)) {
15236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15238 arg2
= static_cast< int >(val2
);
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->SetMax(arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_Py_Void();
15252 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
= 0;
15254 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 PyObject
* obj2
= 0 ;
15266 char * kwnames
[] = {
15267 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15272 if (!SWIG_IsOK(res1
)) {
15273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15275 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15277 if (!SWIG_IsOK(ecode2
)) {
15278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15280 arg2
= static_cast< int >(val2
);
15281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15282 if (!SWIG_IsOK(ecode3
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15285 arg3
= static_cast< int >(val3
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 (arg1
)->SetRange(arg2
,arg3
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_Py_Void();
15299 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15305 PyObject
*swig_obj
[1] ;
15307 if (!args
) SWIG_fail
;
15308 swig_obj
[0] = args
;
15309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15313 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15329 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
= 0;
15331 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15332 SwigValueWrapper
<wxVisualAttributes
> result
;
15335 PyObject
* obj0
= 0 ;
15336 char * kwnames
[] = {
15337 (char *) "variant", NULL
15340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15342 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15343 if (!SWIG_IsOK(ecode1
)) {
15344 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15346 arg1
= static_cast< wxWindowVariant
>(val1
);
15349 if (!wxPyCheckForApp()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15362 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15365 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15366 return SWIG_Py_Void();
15369 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15370 return SWIG_Python_InitShadowInstance(args
);
15373 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxWindow
*arg1
= (wxWindow
*) 0 ;
15376 int arg2
= (int) -1 ;
15377 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15378 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15379 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15380 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15381 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15382 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15383 long arg6
= (long) wxSP_ARROW_KEYS
;
15384 int arg7
= (int) 0 ;
15385 int arg8
= (int) 100 ;
15386 int arg9
= (int) 0 ;
15387 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15388 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15389 wxSpinCtrl
*result
= 0 ;
15394 bool temp3
= false ;
15405 bool temp10
= false ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 PyObject
* obj2
= 0 ;
15409 PyObject
* obj3
= 0 ;
15410 PyObject
* obj4
= 0 ;
15411 PyObject
* obj5
= 0 ;
15412 PyObject
* obj6
= 0 ;
15413 PyObject
* obj7
= 0 ;
15414 PyObject
* obj8
= 0 ;
15415 PyObject
* obj9
= 0 ;
15416 char * kwnames
[] = {
15417 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15428 if (!SWIG_IsOK(ecode2
)) {
15429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15431 arg2
= static_cast< int >(val2
);
15435 arg3
= wxString_in_helper(obj2
);
15436 if (arg3
== NULL
) SWIG_fail
;
15443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15453 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15454 if (!SWIG_IsOK(ecode6
)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15457 arg6
= static_cast< long >(val6
);
15460 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15461 if (!SWIG_IsOK(ecode7
)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15464 arg7
= static_cast< int >(val7
);
15467 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15468 if (!SWIG_IsOK(ecode8
)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15471 arg8
= static_cast< int >(val8
);
15474 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15475 if (!SWIG_IsOK(ecode9
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15478 arg9
= static_cast< int >(val9
);
15482 arg10
= wxString_in_helper(obj9
);
15483 if (arg10
== NULL
) SWIG_fail
;
15488 if (!wxPyCheckForApp()) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15517 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15518 PyObject
*resultobj
= 0;
15519 wxSpinCtrl
*result
= 0 ;
15521 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15523 if (!wxPyCheckForApp()) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15536 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= 0;
15538 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15539 wxWindow
*arg2
= (wxWindow
*) 0 ;
15540 int arg3
= (int) -1 ;
15541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15543 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15544 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15545 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15546 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15547 long arg7
= (long) wxSP_ARROW_KEYS
;
15548 int arg8
= (int) 0 ;
15549 int arg9
= (int) 100 ;
15550 int arg10
= (int) 0 ;
15551 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15552 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15560 bool temp4
= false ;
15571 bool temp11
= false ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 PyObject
* obj2
= 0 ;
15575 PyObject
* obj3
= 0 ;
15576 PyObject
* obj4
= 0 ;
15577 PyObject
* obj5
= 0 ;
15578 PyObject
* obj6
= 0 ;
15579 PyObject
* obj7
= 0 ;
15580 PyObject
* obj8
= 0 ;
15581 PyObject
* obj9
= 0 ;
15582 PyObject
* obj10
= 0 ;
15583 char * kwnames
[] = {
15584 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15592 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15594 if (!SWIG_IsOK(res2
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15600 if (!SWIG_IsOK(ecode3
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15603 arg3
= static_cast< int >(val3
);
15607 arg4
= wxString_in_helper(obj3
);
15608 if (arg4
== NULL
) SWIG_fail
;
15615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15626 if (!SWIG_IsOK(ecode7
)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15629 arg7
= static_cast< long >(val7
);
15632 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15633 if (!SWIG_IsOK(ecode8
)) {
15634 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15636 arg8
= static_cast< int >(val8
);
15639 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15640 if (!SWIG_IsOK(ecode9
)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15643 arg9
= static_cast< int >(val9
);
15646 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15647 if (!SWIG_IsOK(ecode10
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15650 arg10
= static_cast< int >(val10
);
15654 arg11
= wxString_in_helper(obj10
);
15655 if (arg11
== NULL
) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15690 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15691 PyObject
*resultobj
= 0;
15692 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15696 PyObject
*swig_obj
[1] ;
15698 if (!args
) SWIG_fail
;
15699 swig_obj
[0] = args
;
15700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15704 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_From_int(static_cast< int >(result
));
15718 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 char * kwnames
[] = {
15729 (char *) "self",(char *) "value", NULL
15732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15737 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15739 if (!SWIG_IsOK(ecode2
)) {
15740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15742 arg2
= static_cast< int >(val2
);
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 (arg1
)->SetValue(arg2
);
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_Py_Void();
15756 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
= 0;
15758 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15759 wxString
*arg2
= 0 ;
15762 bool temp2
= false ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 char * kwnames
[] = {
15766 (char *) "self",(char *) "text", NULL
15769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15774 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15776 arg2
= wxString_in_helper(obj1
);
15777 if (arg2
== NULL
) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 (arg1
)->SetValue((wxString
const &)*arg2
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_Py_Void();
15801 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
= 0;
15803 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 PyObject
* obj2
= 0 ;
15815 char * kwnames
[] = {
15816 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15821 if (!SWIG_IsOK(res1
)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15824 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15826 if (!SWIG_IsOK(ecode2
)) {
15827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15829 arg2
= static_cast< int >(val2
);
15830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15831 if (!SWIG_IsOK(ecode3
)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15834 arg3
= static_cast< int >(val3
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 (arg1
)->SetRange(arg2
,arg3
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_Py_Void();
15848 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15849 PyObject
*resultobj
= 0;
15850 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15854 PyObject
*swig_obj
[1] ;
15856 if (!args
) SWIG_fail
;
15857 swig_obj
[0] = args
;
15858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15859 if (!SWIG_IsOK(res1
)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15862 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_From_int(static_cast< int >(result
));
15876 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 PyObject
*resultobj
= 0;
15878 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15882 PyObject
*swig_obj
[1] ;
15884 if (!args
) SWIG_fail
;
15885 swig_obj
[0] = args
;
15886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15887 if (!SWIG_IsOK(res1
)) {
15888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15890 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_From_int(static_cast< int >(result
));
15904 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
= 0;
15906 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 PyObject
* obj2
= 0 ;
15918 char * kwnames
[] = {
15919 (char *) "self",(char *) "from",(char *) "to", NULL
15922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15927 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15928 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15929 if (!SWIG_IsOK(ecode2
)) {
15930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15932 arg2
= static_cast< long >(val2
);
15933 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15934 if (!SWIG_IsOK(ecode3
)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15937 arg3
= static_cast< long >(val3
);
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 (arg1
)->SetSelection(arg2
,arg3
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_Py_Void();
15951 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= 0;
15953 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15954 SwigValueWrapper
<wxVisualAttributes
> result
;
15957 PyObject
* obj0
= 0 ;
15958 char * kwnames
[] = {
15959 (char *) "variant", NULL
15962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15965 if (!SWIG_IsOK(ecode1
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15968 arg1
= static_cast< wxWindowVariant
>(val1
);
15971 if (!wxPyCheckForApp()) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15984 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15987 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15988 return SWIG_Py_Void();
15991 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15992 return SWIG_Python_InitShadowInstance(args
);
15995 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
= 0;
15997 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15998 int arg2
= (int) 0 ;
15999 wxSpinEvent
*result
= 0 ;
16004 PyObject
* obj0
= 0 ;
16005 PyObject
* obj1
= 0 ;
16006 char * kwnames
[] = {
16007 (char *) "commandType",(char *) "winid", NULL
16010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16013 if (!SWIG_IsOK(ecode1
)) {
16014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16016 arg1
= static_cast< wxEventType
>(val1
);
16019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16020 if (!SWIG_IsOK(ecode2
)) {
16021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16023 arg2
= static_cast< int >(val2
);
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16038 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 PyObject
*resultobj
= 0;
16040 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16044 PyObject
*swig_obj
[1] ;
16046 if (!args
) SWIG_fail
;
16047 swig_obj
[0] = args
;
16048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16049 if (!SWIG_IsOK(res1
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16052 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_From_int(static_cast< int >(result
));
16066 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= 0;
16068 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 PyObject
* obj1
= 0 ;
16076 char * kwnames
[] = {
16077 (char *) "self",(char *) "pos", NULL
16080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16082 if (!SWIG_IsOK(res1
)) {
16083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16085 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16087 if (!SWIG_IsOK(ecode2
)) {
16088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16090 arg2
= static_cast< int >(val2
);
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 (arg1
)->SetPosition(arg2
);
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= SWIG_Py_Void();
16104 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16107 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16108 return SWIG_Py_Void();
16111 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16112 return SWIG_Python_InitShadowInstance(args
);
16115 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16116 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16121 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16122 PyObject
*pyobj
= 0;
16126 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16128 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16135 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16136 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16141 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16142 PyObject
*pyobj
= 0;
16146 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16148 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16155 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
= 0;
16157 wxWindow
*arg1
= (wxWindow
*) 0 ;
16158 int arg2
= (int) -1 ;
16159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16165 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16166 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16167 int arg7
= (int) 0 ;
16168 long arg8
= (long) wxRA_HORIZONTAL
;
16169 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16170 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16171 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16172 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16173 wxRadioBox
*result
= 0 ;
16178 bool temp3
= false ;
16181 bool temp6
= false ;
16188 bool temp10
= false ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 PyObject
* obj2
= 0 ;
16192 PyObject
* obj3
= 0 ;
16193 PyObject
* obj4
= 0 ;
16194 PyObject
* obj5
= 0 ;
16195 PyObject
* obj6
= 0 ;
16196 PyObject
* obj7
= 0 ;
16197 PyObject
* obj8
= 0 ;
16198 PyObject
* obj9
= 0 ;
16199 char * kwnames
[] = {
16200 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16205 if (!SWIG_IsOK(res1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16208 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16211 if (!SWIG_IsOK(ecode2
)) {
16212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16214 arg2
= static_cast< int >(val2
);
16218 arg3
= wxString_in_helper(obj2
);
16219 if (arg3
== NULL
) SWIG_fail
;
16226 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16232 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16237 if (! PySequence_Check(obj5
)) {
16238 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16241 arg6
= new wxArrayString
;
16243 int i
, len
=PySequence_Length(obj5
);
16244 for (i
=0; i
<len
; i
++) {
16245 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16246 wxString
* s
= wxString_in_helper(item
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16255 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16256 if (!SWIG_IsOK(ecode7
)) {
16257 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16259 arg7
= static_cast< int >(val7
);
16262 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16263 if (!SWIG_IsOK(ecode8
)) {
16264 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16266 arg8
= static_cast< long >(val8
);
16269 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16270 if (!SWIG_IsOK(res9
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16276 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16280 arg10
= wxString_in_helper(obj9
);
16281 if (arg10
== NULL
) SWIG_fail
;
16286 if (!wxPyCheckForApp()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 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
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16298 if (temp6
) delete arg6
;
16311 if (temp6
) delete arg6
;
16321 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16322 PyObject
*resultobj
= 0;
16323 wxRadioBox
*result
= 0 ;
16325 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16327 if (!wxPyCheckForApp()) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (wxRadioBox
*)new wxRadioBox();
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16340 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= 0;
16342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16343 wxWindow
*arg2
= (wxWindow
*) 0 ;
16344 int arg3
= (int) -1 ;
16345 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16346 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16347 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16348 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16349 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16350 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16351 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16352 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16353 int arg8
= (int) 0 ;
16354 long arg9
= (long) wxRA_HORIZONTAL
;
16355 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16356 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16357 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16358 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16366 bool temp4
= false ;
16369 bool temp7
= false ;
16376 bool temp11
= false ;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 PyObject
* obj2
= 0 ;
16380 PyObject
* obj3
= 0 ;
16381 PyObject
* obj4
= 0 ;
16382 PyObject
* obj5
= 0 ;
16383 PyObject
* obj6
= 0 ;
16384 PyObject
* obj7
= 0 ;
16385 PyObject
* obj8
= 0 ;
16386 PyObject
* obj9
= 0 ;
16387 PyObject
* obj10
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16397 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16399 if (!SWIG_IsOK(res2
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16402 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16405 if (!SWIG_IsOK(ecode3
)) {
16406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16408 arg3
= static_cast< int >(val3
);
16412 arg4
= wxString_in_helper(obj3
);
16413 if (arg4
== NULL
) SWIG_fail
;
16420 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16426 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16431 if (! PySequence_Check(obj6
)) {
16432 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16435 arg7
= new wxArrayString
;
16437 int i
, len
=PySequence_Length(obj6
);
16438 for (i
=0; i
<len
; i
++) {
16439 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16440 wxString
* s
= wxString_in_helper(item
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16449 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16450 if (!SWIG_IsOK(ecode8
)) {
16451 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16453 arg8
= static_cast< int >(val8
);
16456 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16457 if (!SWIG_IsOK(ecode9
)) {
16458 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16460 arg9
= static_cast< long >(val9
);
16463 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16464 if (!SWIG_IsOK(res10
)) {
16465 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16470 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16474 arg11
= wxString_in_helper(obj10
);
16475 if (arg11
== NULL
) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 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
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 if (temp7
) delete arg7
;
16506 if (temp7
) delete arg7
;
16516 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
= 0;
16518 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 char * kwnames
[] = {
16527 (char *) "self",(char *) "n", NULL
16530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16532 if (!SWIG_IsOK(res1
)) {
16533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16535 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16537 if (!SWIG_IsOK(ecode2
)) {
16538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16540 arg2
= static_cast< int >(val2
);
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 (arg1
)->SetSelection(arg2
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_Py_Void();
16554 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16555 PyObject
*resultobj
= 0;
16556 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16560 PyObject
*swig_obj
[1] ;
16562 if (!args
) SWIG_fail
;
16563 swig_obj
[0] = args
;
16564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16565 if (!SWIG_IsOK(res1
)) {
16566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16568 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_From_int(static_cast< int >(result
));
16582 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16583 PyObject
*resultobj
= 0;
16584 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16588 PyObject
*swig_obj
[1] ;
16590 if (!args
) SWIG_fail
;
16591 swig_obj
[0] = args
;
16592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16593 if (!SWIG_IsOK(res1
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16596 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16616 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
= 0;
16618 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16619 wxString
*arg2
= 0 ;
16623 bool temp2
= false ;
16624 PyObject
* obj0
= 0 ;
16625 PyObject
* obj1
= 0 ;
16626 char * kwnames
[] = {
16627 (char *) "self",(char *) "s", NULL
16630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16632 if (!SWIG_IsOK(res1
)) {
16633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16635 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16637 arg2
= wxString_in_helper(obj1
);
16638 if (arg2
== NULL
) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16664 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16665 PyObject
*resultobj
= 0;
16666 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16670 PyObject
*swig_obj
[1] ;
16672 if (!args
) SWIG_fail
;
16673 swig_obj
[0] = args
;
16674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16675 if (!SWIG_IsOK(res1
)) {
16676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16678 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16692 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16694 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16695 wxString
*arg2
= 0 ;
16699 bool temp2
= false ;
16700 PyObject
* obj0
= 0 ;
16701 PyObject
* obj1
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "s", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16711 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16713 arg2
= wxString_in_helper(obj1
);
16714 if (arg2
== NULL
) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_From_int(static_cast< int >(result
));
16738 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
= 0;
16740 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char * kwnames
[] = {
16750 (char *) "self",(char *) "n", NULL
16753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16755 if (!SWIG_IsOK(res1
)) {
16756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16758 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16760 if (!SWIG_IsOK(ecode2
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16763 arg2
= static_cast< int >(val2
);
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16783 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
= 0;
16785 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16787 wxString
*arg3
= 0 ;
16792 bool temp3
= false ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 PyObject
* obj2
= 0 ;
16796 char * kwnames
[] = {
16797 (char *) "self",(char *) "n",(char *) "label", NULL
16800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16805 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16807 if (!SWIG_IsOK(ecode2
)) {
16808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16810 arg2
= static_cast< int >(val2
);
16812 arg3
= wxString_in_helper(obj2
);
16813 if (arg3
== NULL
) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_Py_Void();
16837 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
= 0;
16839 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16840 unsigned int arg2
;
16841 bool arg3
= (bool) true ;
16844 unsigned int val2
;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 PyObject
* obj2
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "self",(char *) "n",(char *) "enable", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16860 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16861 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16865 arg2
= static_cast< unsigned int >(val2
);
16867 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16868 if (!SWIG_IsOK(ecode3
)) {
16869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16871 arg3
= static_cast< bool >(val3
);
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->Enable(arg2
,arg3
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_Py_Void();
16886 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16889 unsigned int arg2
;
16890 bool arg3
= (bool) true ;
16893 unsigned int val2
;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 PyObject
* obj2
= 0 ;
16900 char * kwnames
[] = {
16901 (char *) "self",(char *) "n",(char *) "show", NULL
16904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16906 if (!SWIG_IsOK(res1
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16909 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16910 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16911 if (!SWIG_IsOK(ecode2
)) {
16912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16914 arg2
= static_cast< unsigned int >(val2
);
16916 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16917 if (!SWIG_IsOK(ecode3
)) {
16918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16920 arg3
= static_cast< bool >(val3
);
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 (arg1
)->Show(arg2
,arg3
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_Py_Void();
16935 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
= 0;
16937 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16938 unsigned int arg2
;
16942 unsigned int val2
;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 char * kwnames
[] = {
16947 (char *) "self",(char *) "n", NULL
16950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16952 if (!SWIG_IsOK(res1
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16955 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16956 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16957 if (!SWIG_IsOK(ecode2
)) {
16958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16960 arg2
= static_cast< unsigned int >(val2
);
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16976 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
= 0;
16978 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16979 unsigned int arg2
;
16983 unsigned int val2
;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 char * kwnames
[] = {
16988 (char *) "self",(char *) "n", NULL
16991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16993 if (!SWIG_IsOK(res1
)) {
16994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16996 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16997 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16998 if (!SWIG_IsOK(ecode2
)) {
16999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17001 arg2
= static_cast< unsigned int >(val2
);
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17017 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17018 PyObject
*resultobj
= 0;
17019 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17020 unsigned int result
;
17023 PyObject
*swig_obj
[1] ;
17025 if (!args
) SWIG_fail
;
17026 swig_obj
[0] = args
;
17027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17031 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17045 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17046 PyObject
*resultobj
= 0;
17047 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17048 unsigned int result
;
17051 PyObject
*swig_obj
[1] ;
17053 if (!args
) SWIG_fail
;
17054 swig_obj
[0] = args
;
17055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17059 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17073 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
= 0;
17075 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 PyObject
* obj2
= 0 ;
17091 PyObject
* obj3
= 0 ;
17092 char * kwnames
[] = {
17093 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17098 if (!SWIG_IsOK(res1
)) {
17099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17101 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17103 if (!SWIG_IsOK(ecode2
)) {
17104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17106 arg2
= static_cast< int >(val2
);
17107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17108 if (!SWIG_IsOK(ecode3
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17111 arg3
= static_cast< wxDirection
>(val3
);
17112 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17113 if (!SWIG_IsOK(ecode4
)) {
17114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17116 arg4
= static_cast< long >(val4
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_From_int(static_cast< int >(result
));
17130 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17133 unsigned int arg2
;
17134 wxString
*arg3
= 0 ;
17137 unsigned int val2
;
17139 bool temp3
= false ;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 PyObject
* obj2
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "self",(char *) "item",(char *) "text", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17152 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17153 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17154 if (!SWIG_IsOK(ecode2
)) {
17155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17157 arg2
= static_cast< unsigned int >(val2
);
17159 arg3
= wxString_in_helper(obj2
);
17160 if (arg3
== NULL
) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_Py_Void();
17184 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17187 unsigned int arg2
;
17188 wxToolTip
*result
= 0 ;
17191 unsigned int val2
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char * kwnames
[] = {
17196 (char *) "self",(char *) "item", NULL
17199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17201 if (!SWIG_IsOK(res1
)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17204 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17205 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17206 if (!SWIG_IsOK(ecode2
)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17209 arg2
= static_cast< unsigned int >(val2
);
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17225 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
= 0;
17227 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17228 unsigned int arg2
;
17229 wxString
*arg3
= 0 ;
17232 unsigned int val2
;
17234 bool temp3
= false ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 PyObject
* obj2
= 0 ;
17238 char * kwnames
[] = {
17239 (char *) "self",(char *) "n",(char *) "helpText", NULL
17242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17244 if (!SWIG_IsOK(res1
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17247 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17248 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17249 if (!SWIG_IsOK(ecode2
)) {
17250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17252 arg2
= static_cast< unsigned int >(val2
);
17254 arg3
= wxString_in_helper(obj2
);
17255 if (arg3
== NULL
) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_Py_Void();
17279 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
= 0;
17281 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17282 unsigned int arg2
;
17286 unsigned int val2
;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char * kwnames
[] = {
17291 (char *) "self",(char *) "n", NULL
17294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17299 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17300 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17301 if (!SWIG_IsOK(ecode2
)) {
17302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17304 arg2
= static_cast< unsigned int >(val2
);
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17324 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
= 0;
17326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17327 SwigValueWrapper
<wxVisualAttributes
> result
;
17330 PyObject
* obj0
= 0 ;
17331 char * kwnames
[] = {
17332 (char *) "variant", NULL
17335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17338 if (!SWIG_IsOK(ecode1
)) {
17339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17341 arg1
= static_cast< wxWindowVariant
>(val1
);
17344 if (!wxPyCheckForApp()) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17357 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17360 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17361 return SWIG_Py_Void();
17364 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17365 return SWIG_Python_InitShadowInstance(args
);
17368 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
= 0;
17370 wxWindow
*arg1
= (wxWindow
*) 0 ;
17371 int arg2
= (int) -1 ;
17372 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17373 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17378 long arg6
= (long) 0 ;
17379 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17380 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17381 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17382 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17383 wxRadioButton
*result
= 0 ;
17388 bool temp3
= false ;
17395 bool temp8
= false ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 PyObject
* obj2
= 0 ;
17399 PyObject
* obj3
= 0 ;
17400 PyObject
* obj4
= 0 ;
17401 PyObject
* obj5
= 0 ;
17402 PyObject
* obj6
= 0 ;
17403 PyObject
* obj7
= 0 ;
17404 char * kwnames
[] = {
17405 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17416 if (!SWIG_IsOK(ecode2
)) {
17417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17419 arg2
= static_cast< int >(val2
);
17423 arg3
= wxString_in_helper(obj2
);
17424 if (arg3
== NULL
) SWIG_fail
;
17431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17441 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17442 if (!SWIG_IsOK(ecode6
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17445 arg6
= static_cast< long >(val6
);
17448 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17449 if (!SWIG_IsOK(res7
)) {
17450 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17455 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17459 arg8
= wxString_in_helper(obj7
);
17460 if (arg8
== NULL
) SWIG_fail
;
17465 if (!wxPyCheckForApp()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17494 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17495 PyObject
*resultobj
= 0;
17496 wxRadioButton
*result
= 0 ;
17498 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17500 if (!wxPyCheckForApp()) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxRadioButton
*)new wxRadioButton();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17513 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
= 0;
17515 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17516 wxWindow
*arg2
= (wxWindow
*) 0 ;
17517 int arg3
= (int) -1 ;
17518 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17519 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17524 long arg7
= (long) 0 ;
17525 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17526 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17527 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17528 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17536 bool temp4
= false ;
17543 bool temp9
= false ;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 PyObject
* obj2
= 0 ;
17547 PyObject
* obj3
= 0 ;
17548 PyObject
* obj4
= 0 ;
17549 PyObject
* obj5
= 0 ;
17550 PyObject
* obj6
= 0 ;
17551 PyObject
* obj7
= 0 ;
17552 PyObject
* obj8
= 0 ;
17553 char * kwnames
[] = {
17554 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17562 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17564 if (!SWIG_IsOK(res2
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17570 if (!SWIG_IsOK(ecode3
)) {
17571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17573 arg3
= static_cast< int >(val3
);
17577 arg4
= wxString_in_helper(obj3
);
17578 if (arg4
== NULL
) SWIG_fail
;
17585 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17591 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17595 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17596 if (!SWIG_IsOK(ecode7
)) {
17597 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17599 arg7
= static_cast< long >(val7
);
17602 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17603 if (!SWIG_IsOK(res8
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17609 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17613 arg9
= wxString_in_helper(obj8
);
17614 if (arg9
== NULL
) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17650 PyObject
*resultobj
= 0;
17651 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17655 PyObject
*swig_obj
[1] ;
17657 if (!args
) SWIG_fail
;
17658 swig_obj
[0] = args
;
17659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17663 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)(arg1
)->GetValue();
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17679 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
= 0;
17681 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "value", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17698 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17700 if (!SWIG_IsOK(ecode2
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17703 arg2
= static_cast< bool >(val2
);
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 (arg1
)->SetValue(arg2
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_Py_Void();
17717 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
= 0;
17719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17720 SwigValueWrapper
<wxVisualAttributes
> result
;
17723 PyObject
* obj0
= 0 ;
17724 char * kwnames
[] = {
17725 (char *) "variant", NULL
17728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17731 if (!SWIG_IsOK(ecode1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17734 arg1
= static_cast< wxWindowVariant
>(val1
);
17737 if (!wxPyCheckForApp()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17750 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17753 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17754 return SWIG_Py_Void();
17757 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17758 return SWIG_Python_InitShadowInstance(args
);
17761 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17762 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17767 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17768 PyObject
*pyobj
= 0;
17772 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17774 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17781 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
= 0;
17783 wxWindow
*arg1
= (wxWindow
*) 0 ;
17784 int arg2
= (int) -1 ;
17785 int arg3
= (int) 0 ;
17786 int arg4
= (int) 0 ;
17787 int arg5
= (int) 100 ;
17788 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17789 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17790 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17791 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17792 long arg8
= (long) wxSL_HORIZONTAL
;
17793 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17794 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17795 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17796 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17797 wxSlider
*result
= 0 ;
17814 bool temp10
= false ;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 PyObject
* obj2
= 0 ;
17818 PyObject
* obj3
= 0 ;
17819 PyObject
* obj4
= 0 ;
17820 PyObject
* obj5
= 0 ;
17821 PyObject
* obj6
= 0 ;
17822 PyObject
* obj7
= 0 ;
17823 PyObject
* obj8
= 0 ;
17824 PyObject
* obj9
= 0 ;
17825 char * kwnames
[] = {
17826 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17831 if (!SWIG_IsOK(res1
)) {
17832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17837 if (!SWIG_IsOK(ecode2
)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17840 arg2
= static_cast< int >(val2
);
17843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17844 if (!SWIG_IsOK(ecode3
)) {
17845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17847 arg3
= static_cast< int >(val3
);
17850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17851 if (!SWIG_IsOK(ecode4
)) {
17852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17854 arg4
= static_cast< int >(val4
);
17857 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17858 if (!SWIG_IsOK(ecode5
)) {
17859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17861 arg5
= static_cast< int >(val5
);
17866 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17872 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17876 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17877 if (!SWIG_IsOK(ecode8
)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17880 arg8
= static_cast< long >(val8
);
17883 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17884 if (!SWIG_IsOK(res9
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17890 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17894 arg10
= wxString_in_helper(obj9
);
17895 if (arg10
== NULL
) SWIG_fail
;
17900 if (!wxPyCheckForApp()) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17921 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17922 PyObject
*resultobj
= 0;
17923 wxSlider
*result
= 0 ;
17925 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17927 if (!wxPyCheckForApp()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (wxSlider
*)new wxSlider();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17940 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxSlider
*arg1
= (wxSlider
*) 0 ;
17943 wxWindow
*arg2
= (wxWindow
*) 0 ;
17944 int arg3
= (int) -1 ;
17945 int arg4
= (int) 0 ;
17946 int arg5
= (int) 0 ;
17947 int arg6
= (int) 100 ;
17948 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17949 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17950 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17951 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17952 long arg9
= (long) wxSL_HORIZONTAL
;
17953 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17954 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17955 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17956 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17976 bool temp11
= false ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 PyObject
* obj3
= 0 ;
17981 PyObject
* obj4
= 0 ;
17982 PyObject
* obj5
= 0 ;
17983 PyObject
* obj6
= 0 ;
17984 PyObject
* obj7
= 0 ;
17985 PyObject
* obj8
= 0 ;
17986 PyObject
* obj9
= 0 ;
17987 PyObject
* obj10
= 0 ;
17988 char * kwnames
[] = {
17989 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17994 if (!SWIG_IsOK(res1
)) {
17995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17997 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17999 if (!SWIG_IsOK(res2
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18002 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18005 if (!SWIG_IsOK(ecode3
)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18008 arg3
= static_cast< int >(val3
);
18011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18012 if (!SWIG_IsOK(ecode4
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18015 arg4
= static_cast< int >(val4
);
18018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18019 if (!SWIG_IsOK(ecode5
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18022 arg5
= static_cast< int >(val5
);
18025 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18026 if (!SWIG_IsOK(ecode6
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18029 arg6
= static_cast< int >(val6
);
18034 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18040 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18044 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18045 if (!SWIG_IsOK(ecode9
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18048 arg9
= static_cast< long >(val9
);
18051 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18052 if (!SWIG_IsOK(res10
)) {
18053 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18058 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18062 arg11
= wxString_in_helper(obj10
);
18063 if (arg11
== NULL
) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18090 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18091 PyObject
*resultobj
= 0;
18092 wxSlider
*arg1
= (wxSlider
*) 0 ;
18096 PyObject
*swig_obj
[1] ;
18098 if (!args
) SWIG_fail
;
18099 swig_obj
[0] = args
;
18100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18101 if (!SWIG_IsOK(res1
)) {
18102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18104 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_From_int(static_cast< int >(result
));
18118 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxSlider
*arg1
= (wxSlider
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "value", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18137 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18139 if (!SWIG_IsOK(ecode2
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18142 arg2
= static_cast< int >(val2
);
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->SetValue(arg2
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_Py_Void();
18156 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
= 0;
18158 wxSlider
*arg1
= (wxSlider
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 PyObject
* obj2
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18179 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18181 if (!SWIG_IsOK(ecode2
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18184 arg2
= static_cast< int >(val2
);
18185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18186 if (!SWIG_IsOK(ecode3
)) {
18187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18189 arg3
= static_cast< int >(val3
);
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 (arg1
)->SetRange(arg2
,arg3
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_Py_Void();
18203 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18204 PyObject
*resultobj
= 0;
18205 wxSlider
*arg1
= (wxSlider
*) 0 ;
18209 PyObject
*swig_obj
[1] ;
18211 if (!args
) SWIG_fail
;
18212 swig_obj
[0] = args
;
18213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18214 if (!SWIG_IsOK(res1
)) {
18215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18217 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_From_int(static_cast< int >(result
));
18231 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18232 PyObject
*resultobj
= 0;
18233 wxSlider
*arg1
= (wxSlider
*) 0 ;
18237 PyObject
*swig_obj
[1] ;
18239 if (!args
) SWIG_fail
;
18240 swig_obj
[0] = args
;
18241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18242 if (!SWIG_IsOK(res1
)) {
18243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18245 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_From_int(static_cast< int >(result
));
18259 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
= 0;
18261 wxSlider
*arg1
= (wxSlider
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 PyObject
* obj1
= 0 ;
18269 char * kwnames
[] = {
18270 (char *) "self",(char *) "minValue", NULL
18273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18275 if (!SWIG_IsOK(res1
)) {
18276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18278 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18280 if (!SWIG_IsOK(ecode2
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18283 arg2
= static_cast< int >(val2
);
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->SetMin(arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_Py_Void();
18297 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxSlider
*arg1
= (wxSlider
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char * kwnames
[] = {
18308 (char *) "self",(char *) "maxValue", NULL
18311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18313 if (!SWIG_IsOK(res1
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18316 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18318 if (!SWIG_IsOK(ecode2
)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18321 arg2
= static_cast< int >(val2
);
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 (arg1
)->SetMax(arg2
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= SWIG_Py_Void();
18335 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
= 0;
18337 wxSlider
*arg1
= (wxSlider
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char * kwnames
[] = {
18346 (char *) "self",(char *) "lineSize", NULL
18349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18354 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18356 if (!SWIG_IsOK(ecode2
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18359 arg2
= static_cast< int >(val2
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->SetLineSize(arg2
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_Py_Void();
18373 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
= 0;
18375 wxSlider
*arg1
= (wxSlider
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "pageSize", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18392 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18394 if (!SWIG_IsOK(ecode2
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18397 arg2
= static_cast< int >(val2
);
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetPageSize(arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_Py_Void();
18411 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18412 PyObject
*resultobj
= 0;
18413 wxSlider
*arg1
= (wxSlider
*) 0 ;
18417 PyObject
*swig_obj
[1] ;
18419 if (!args
) SWIG_fail
;
18420 swig_obj
[0] = args
;
18421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18422 if (!SWIG_IsOK(res1
)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18425 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_From_int(static_cast< int >(result
));
18439 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18440 PyObject
*resultobj
= 0;
18441 wxSlider
*arg1
= (wxSlider
*) 0 ;
18445 PyObject
*swig_obj
[1] ;
18447 if (!args
) SWIG_fail
;
18448 swig_obj
[0] = args
;
18449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18450 if (!SWIG_IsOK(res1
)) {
18451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18453 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_From_int(static_cast< int >(result
));
18467 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
= 0;
18469 wxSlider
*arg1
= (wxSlider
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 char * kwnames
[] = {
18478 (char *) "self",(char *) "lenPixels", NULL
18481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18483 if (!SWIG_IsOK(res1
)) {
18484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18486 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18488 if (!SWIG_IsOK(ecode2
)) {
18489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18491 arg2
= static_cast< int >(val2
);
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 (arg1
)->SetThumbLength(arg2
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_Py_Void();
18505 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18506 PyObject
*resultobj
= 0;
18507 wxSlider
*arg1
= (wxSlider
*) 0 ;
18511 PyObject
*swig_obj
[1] ;
18513 if (!args
) SWIG_fail
;
18514 swig_obj
[0] = args
;
18515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18516 if (!SWIG_IsOK(res1
)) {
18517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18519 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_From_int(static_cast< int >(result
));
18533 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= 0;
18535 wxSlider
*arg1
= (wxSlider
*) 0 ;
18537 int arg3
= (int) 1 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 char * kwnames
[] = {
18548 (char *) "self",(char *) "n",(char *) "pos", NULL
18551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18556 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18558 if (!SWIG_IsOK(ecode2
)) {
18559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18561 arg2
= static_cast< int >(val2
);
18563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18564 if (!SWIG_IsOK(ecode3
)) {
18565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18567 arg3
= static_cast< int >(val3
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->SetTickFreq(arg2
,arg3
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_Py_Void();
18582 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxSlider
*arg1
= (wxSlider
*) 0 ;
18588 PyObject
*swig_obj
[1] ;
18590 if (!args
) SWIG_fail
;
18591 swig_obj
[0] = args
;
18592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18593 if (!SWIG_IsOK(res1
)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18596 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_From_int(static_cast< int >(result
));
18610 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18611 PyObject
*resultobj
= 0;
18612 wxSlider
*arg1
= (wxSlider
*) 0 ;
18615 PyObject
*swig_obj
[1] ;
18617 if (!args
) SWIG_fail
;
18618 swig_obj
[0] = args
;
18619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18620 if (!SWIG_IsOK(res1
)) {
18621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18623 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 (arg1
)->ClearTicks();
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_Py_Void();
18637 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
= 0;
18639 wxSlider
*arg1
= (wxSlider
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char * kwnames
[] = {
18648 (char *) "self",(char *) "tickPos", NULL
18651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18656 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18658 if (!SWIG_IsOK(ecode2
)) {
18659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18661 arg2
= static_cast< int >(val2
);
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->SetTick(arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_Py_Void();
18675 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 PyObject
*resultobj
= 0;
18677 wxSlider
*arg1
= (wxSlider
*) 0 ;
18680 PyObject
*swig_obj
[1] ;
18682 if (!args
) SWIG_fail
;
18683 swig_obj
[0] = args
;
18684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18688 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->ClearSel();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_Py_Void();
18702 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18703 PyObject
*resultobj
= 0;
18704 wxSlider
*arg1
= (wxSlider
*) 0 ;
18708 PyObject
*swig_obj
[1] ;
18710 if (!args
) SWIG_fail
;
18711 swig_obj
[0] = args
;
18712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18713 if (!SWIG_IsOK(res1
)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18716 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_From_int(static_cast< int >(result
));
18730 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18731 PyObject
*resultobj
= 0;
18732 wxSlider
*arg1
= (wxSlider
*) 0 ;
18736 PyObject
*swig_obj
[1] ;
18738 if (!args
) SWIG_fail
;
18739 swig_obj
[0] = args
;
18740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18744 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_From_int(static_cast< int >(result
));
18758 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
= 0;
18760 wxSlider
*arg1
= (wxSlider
*) 0 ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 PyObject
* obj2
= 0 ;
18772 char * kwnames
[] = {
18773 (char *) "self",(char *) "min",(char *) "max", NULL
18776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18778 if (!SWIG_IsOK(res1
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18781 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18783 if (!SWIG_IsOK(ecode2
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18786 arg2
= static_cast< int >(val2
);
18787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18788 if (!SWIG_IsOK(ecode3
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18791 arg3
= static_cast< int >(val3
);
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->SetSelection(arg2
,arg3
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_Py_Void();
18805 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
= 0;
18807 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18808 SwigValueWrapper
<wxVisualAttributes
> result
;
18811 PyObject
* obj0
= 0 ;
18812 char * kwnames
[] = {
18813 (char *) "variant", NULL
18816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18818 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18819 if (!SWIG_IsOK(ecode1
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18822 arg1
= static_cast< wxWindowVariant
>(val1
);
18825 if (!wxPyCheckForApp()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18838 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18841 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18842 return SWIG_Py_Void();
18845 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18846 return SWIG_Python_InitShadowInstance(args
);
18849 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18850 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18855 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18856 PyObject
*pyobj
= 0;
18860 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18862 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18869 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
= 0;
18871 wxWindow
*arg1
= (wxWindow
*) 0 ;
18872 int arg2
= (int) -1 ;
18873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18879 long arg6
= (long) 0 ;
18880 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18881 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18882 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18883 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18884 wxToggleButton
*result
= 0 ;
18889 bool temp3
= false ;
18896 bool temp8
= false ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 PyObject
* obj2
= 0 ;
18900 PyObject
* obj3
= 0 ;
18901 PyObject
* obj4
= 0 ;
18902 PyObject
* obj5
= 0 ;
18903 PyObject
* obj6
= 0 ;
18904 PyObject
* obj7
= 0 ;
18905 char * kwnames
[] = {
18906 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18917 if (!SWIG_IsOK(ecode2
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18920 arg2
= static_cast< int >(val2
);
18924 arg3
= wxString_in_helper(obj2
);
18925 if (arg3
== NULL
) SWIG_fail
;
18932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18943 if (!SWIG_IsOK(ecode6
)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18946 arg6
= static_cast< long >(val6
);
18949 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18950 if (!SWIG_IsOK(res7
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18956 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18960 arg8
= wxString_in_helper(obj7
);
18961 if (arg8
== NULL
) SWIG_fail
;
18966 if (!wxPyCheckForApp()) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18995 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18996 PyObject
*resultobj
= 0;
18997 wxToggleButton
*result
= 0 ;
18999 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19001 if (!wxPyCheckForApp()) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (wxToggleButton
*)new wxToggleButton();
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19014 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19017 wxWindow
*arg2
= (wxWindow
*) 0 ;
19018 int arg3
= (int) -1 ;
19019 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19020 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19025 long arg7
= (long) 0 ;
19026 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19027 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19028 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19029 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19037 bool temp4
= false ;
19044 bool temp9
= false ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 PyObject
* obj2
= 0 ;
19048 PyObject
* obj3
= 0 ;
19049 PyObject
* obj4
= 0 ;
19050 PyObject
* obj5
= 0 ;
19051 PyObject
* obj6
= 0 ;
19052 PyObject
* obj7
= 0 ;
19053 PyObject
* obj8
= 0 ;
19054 char * kwnames
[] = {
19055 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19060 if (!SWIG_IsOK(res1
)) {
19061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19063 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19065 if (!SWIG_IsOK(res2
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19071 if (!SWIG_IsOK(ecode3
)) {
19072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19074 arg3
= static_cast< int >(val3
);
19078 arg4
= wxString_in_helper(obj3
);
19079 if (arg4
== NULL
) SWIG_fail
;
19086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19096 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19097 if (!SWIG_IsOK(ecode7
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19100 arg7
= static_cast< long >(val7
);
19103 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19104 if (!SWIG_IsOK(res8
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19110 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19114 arg9
= wxString_in_helper(obj8
);
19115 if (arg9
== NULL
) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19150 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char * kwnames
[] = {
19161 (char *) "self",(char *) "value", NULL
19164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19166 if (!SWIG_IsOK(res1
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19169 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19171 if (!SWIG_IsOK(ecode2
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19174 arg2
= static_cast< bool >(val2
);
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 (arg1
)->SetValue(arg2
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_Py_Void();
19188 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19189 PyObject
*resultobj
= 0;
19190 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19194 PyObject
*swig_obj
[1] ;
19196 if (!args
) SWIG_fail
;
19197 swig_obj
[0] = args
;
19198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19202 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19218 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
= 0;
19220 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19221 SwigValueWrapper
<wxVisualAttributes
> result
;
19224 PyObject
* obj0
= 0 ;
19225 char * kwnames
[] = {
19226 (char *) "variant", NULL
19229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19232 if (!SWIG_IsOK(ecode1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19235 arg1
= static_cast< wxWindowVariant
>(val1
);
19238 if (!wxPyCheckForApp()) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19251 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19254 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19255 return SWIG_Py_Void();
19258 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19259 return SWIG_Python_InitShadowInstance(args
);
19262 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19263 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19268 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19269 PyObject
*pyobj
= 0;
19273 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19275 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19282 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 PyObject
*resultobj
= 0;
19284 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19288 PyObject
*swig_obj
[1] ;
19290 if (!args
) SWIG_fail
;
19291 swig_obj
[0] = args
;
19292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19296 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19310 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
= 0;
19312 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19314 wxWindow
*result
= 0 ;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 char * kwnames
[] = {
19322 (char *) "self",(char *) "n", NULL
19325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19327 if (!SWIG_IsOK(res1
)) {
19328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19330 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19331 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19332 if (!SWIG_IsOK(ecode2
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19335 arg2
= static_cast< size_t >(val2
);
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= wxPyMake_wxObject(result
, 0);
19351 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19352 PyObject
*resultobj
= 0;
19353 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19354 wxWindow
*result
= 0 ;
19357 PyObject
*swig_obj
[1] ;
19359 if (!args
) SWIG_fail
;
19360 swig_obj
[0] = args
;
19361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19362 if (!SWIG_IsOK(res1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19365 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= wxPyMake_wxObject(result
, 0);
19381 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19382 PyObject
*resultobj
= 0;
19383 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19387 PyObject
*swig_obj
[1] ;
19389 if (!args
) SWIG_fail
;
19390 swig_obj
[0] = args
;
19391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19392 if (!SWIG_IsOK(res1
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19395 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_From_int(static_cast< int >(result
));
19409 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
= 0;
19411 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19413 wxString
*arg3
= 0 ;
19419 bool temp3
= false ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 PyObject
* obj2
= 0 ;
19423 char * kwnames
[] = {
19424 (char *) "self",(char *) "n",(char *) "strText", NULL
19427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19432 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19433 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19434 if (!SWIG_IsOK(ecode2
)) {
19435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19437 arg2
= static_cast< size_t >(val2
);
19439 arg3
= wxString_in_helper(obj2
);
19440 if (arg3
== NULL
) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19466 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
= 0;
19468 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char * kwnames
[] = {
19478 (char *) "self",(char *) "n", NULL
19481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19483 if (!SWIG_IsOK(res1
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19486 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19487 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19488 if (!SWIG_IsOK(ecode2
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19491 arg2
= static_cast< size_t >(val2
);
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19511 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
= 0;
19513 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19514 wxImageList
*arg2
= (wxImageList
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 char * kwnames
[] = {
19522 (char *) "self",(char *) "imageList", NULL
19525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19527 if (!SWIG_IsOK(res1
)) {
19528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19530 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19532 if (!SWIG_IsOK(res2
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19535 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 (arg1
)->SetImageList(arg2
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_Py_Void();
19549 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
= 0;
19551 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19552 wxImageList
*arg2
= (wxImageList
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char * kwnames
[] = {
19559 (char *) "self",(char *) "imageList", NULL
19562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19564 if (!SWIG_IsOK(res1
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19567 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19568 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19569 if (!SWIG_IsOK(res2
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->AssignImageList(arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_Py_Void();
19585 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19586 PyObject
*resultobj
= 0;
19587 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19588 wxImageList
*result
= 0 ;
19591 PyObject
*swig_obj
[1] ;
19593 if (!args
) SWIG_fail
;
19594 swig_obj
[0] = args
;
19595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19599 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19615 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
= 0;
19617 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char * kwnames
[] = {
19627 (char *) "self",(char *) "n", NULL
19630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19632 if (!SWIG_IsOK(res1
)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19635 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19636 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19637 if (!SWIG_IsOK(ecode2
)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19640 arg2
= static_cast< size_t >(val2
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_From_int(static_cast< int >(result
));
19654 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 PyObject
* obj2
= 0 ;
19669 char * kwnames
[] = {
19670 (char *) "self",(char *) "n",(char *) "imageId", NULL
19673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19678 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19679 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19680 if (!SWIG_IsOK(ecode2
)) {
19681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19683 arg2
= static_cast< size_t >(val2
);
19684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19685 if (!SWIG_IsOK(ecode3
)) {
19686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19688 arg3
= static_cast< int >(val3
);
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19704 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
= 0;
19706 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 char * kwnames
[] = {
19714 (char *) "self",(char *) "size", NULL
19717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19719 if (!SWIG_IsOK(res1
)) {
19720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19722 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= SWIG_Py_Void();
19740 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char * kwnames
[] = {
19751 (char *) "self",(char *) "sizePage", NULL
19754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19759 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19762 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19777 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19778 PyObject
*resultobj
= 0;
19779 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19780 unsigned int result
;
19783 PyObject
*swig_obj
[1] ;
19785 if (!args
) SWIG_fail
;
19786 swig_obj
[0] = args
;
19787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19788 if (!SWIG_IsOK(res1
)) {
19789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19791 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19805 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
= 0;
19807 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19808 unsigned int arg2
;
19811 unsigned int val2
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 char * kwnames
[] = {
19816 (char *) "self",(char *) "internalBorder", NULL
19819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19821 if (!SWIG_IsOK(res1
)) {
19822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19824 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19825 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19826 if (!SWIG_IsOK(ecode2
)) {
19827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19829 arg2
= static_cast< unsigned int >(val2
);
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 (arg1
)->SetInternalBorder(arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= SWIG_Py_Void();
19843 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19844 PyObject
*resultobj
= 0;
19845 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19849 PyObject
*swig_obj
[1] ;
19851 if (!args
) SWIG_fail
;
19852 swig_obj
[0] = args
;
19853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19854 if (!SWIG_IsOK(res1
)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19857 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19873 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
= 0;
19875 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 char * kwnames
[] = {
19884 (char *) "self",(char *) "margin", NULL
19887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19889 if (!SWIG_IsOK(res1
)) {
19890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19892 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19894 if (!SWIG_IsOK(ecode2
)) {
19895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19897 arg2
= static_cast< int >(val2
);
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->SetControlMargin(arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_Py_Void();
19911 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19912 PyObject
*resultobj
= 0;
19913 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19917 PyObject
*swig_obj
[1] ;
19919 if (!args
) SWIG_fail
;
19920 swig_obj
[0] = args
;
19921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19922 if (!SWIG_IsOK(res1
)) {
19923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19925 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_From_int(static_cast< int >(result
));
19939 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char * kwnames
[] = {
19950 (char *) "self",(char *) "fit", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19958 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19959 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19960 if (!SWIG_IsOK(ecode2
)) {
19961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19963 arg2
= static_cast< bool >(val2
);
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->SetFitToCurrentPage(arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= SWIG_Py_Void();
19977 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19978 PyObject
*resultobj
= 0;
19979 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19983 PyObject
*swig_obj
[1] ;
19985 if (!args
) SWIG_fail
;
19986 swig_obj
[0] = args
;
19987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19988 if (!SWIG_IsOK(res1
)) {
19989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19991 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20007 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20008 PyObject
*resultobj
= 0;
20009 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20010 wxSizer
*result
= 0 ;
20013 PyObject
*swig_obj
[1] ;
20015 if (!args
) SWIG_fail
;
20016 swig_obj
[0] = args
;
20017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20018 if (!SWIG_IsOK(res1
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20021 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20037 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= 0;
20039 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "n", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20057 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20058 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20059 if (!SWIG_IsOK(ecode2
)) {
20060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20062 arg2
= static_cast< size_t >(val2
);
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (bool)(arg1
)->DeletePage(arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20078 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 char * kwnames
[] = {
20090 (char *) "self",(char *) "n", NULL
20093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20095 if (!SWIG_IsOK(res1
)) {
20096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20098 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20099 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20100 if (!SWIG_IsOK(ecode2
)) {
20101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20103 arg2
= static_cast< size_t >(val2
);
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (bool)(arg1
)->RemovePage(arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20119 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20120 PyObject
*resultobj
= 0;
20121 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20125 PyObject
*swig_obj
[1] ;
20127 if (!args
) SWIG_fail
;
20128 swig_obj
[0] = args
;
20129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20133 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (bool)(arg1
)->DeleteAllPages();
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20149 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
= 0;
20151 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20152 wxWindow
*arg2
= (wxWindow
*) 0 ;
20153 wxString
*arg3
= 0 ;
20154 bool arg4
= (bool) false ;
20155 int arg5
= (int) -1 ;
20161 bool temp3
= false ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 PyObject
* obj2
= 0 ;
20169 PyObject
* obj3
= 0 ;
20170 PyObject
* obj4
= 0 ;
20171 char * kwnames
[] = {
20172 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20177 if (!SWIG_IsOK(res1
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20180 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20182 if (!SWIG_IsOK(res2
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20187 arg3
= wxString_in_helper(obj2
);
20188 if (arg3
== NULL
) SWIG_fail
;
20192 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20193 if (!SWIG_IsOK(ecode4
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20196 arg4
= static_cast< bool >(val4
);
20199 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20200 if (!SWIG_IsOK(ecode5
)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20203 arg5
= static_cast< int >(val5
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20228 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
= 0;
20230 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20232 wxWindow
*arg3
= (wxWindow
*) 0 ;
20233 wxString
*arg4
= 0 ;
20234 bool arg5
= (bool) false ;
20235 int arg6
= (int) -1 ;
20243 bool temp4
= false ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 PyObject
* obj2
= 0 ;
20251 PyObject
* obj3
= 0 ;
20252 PyObject
* obj4
= 0 ;
20253 PyObject
* obj5
= 0 ;
20254 char * kwnames
[] = {
20255 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20260 if (!SWIG_IsOK(res1
)) {
20261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20263 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20264 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20265 if (!SWIG_IsOK(ecode2
)) {
20266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20268 arg2
= static_cast< size_t >(val2
);
20269 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20270 if (!SWIG_IsOK(res3
)) {
20271 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20273 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20275 arg4
= wxString_in_helper(obj3
);
20276 if (arg4
== NULL
) SWIG_fail
;
20280 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20281 if (!SWIG_IsOK(ecode5
)) {
20282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20284 arg5
= static_cast< bool >(val5
);
20287 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20288 if (!SWIG_IsOK(ecode6
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20291 arg6
= static_cast< int >(val6
);
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20316 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "n", NULL
20331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20336 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20337 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20338 if (!SWIG_IsOK(ecode2
)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20341 arg2
= static_cast< size_t >(val2
);
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (int)(arg1
)->SetSelection(arg2
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_From_int(static_cast< int >(result
));
20355 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
= 0;
20357 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 char * kwnames
[] = {
20367 (char *) "self",(char *) "n", NULL
20370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20372 if (!SWIG_IsOK(res1
)) {
20373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20375 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20376 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20377 if (!SWIG_IsOK(ecode2
)) {
20378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20380 arg2
= static_cast< size_t >(val2
);
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= (int)(arg1
)->ChangeSelection(arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_From_int(static_cast< int >(result
));
20394 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
= 0;
20396 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20397 bool arg2
= (bool) true ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char * kwnames
[] = {
20405 (char *) "self",(char *) "forward", NULL
20408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20410 if (!SWIG_IsOK(res1
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20413 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20415 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20416 if (!SWIG_IsOK(ecode2
)) {
20417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20419 arg2
= static_cast< bool >(val2
);
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->AdvanceSelection(arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_Py_Void();
20434 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= 0;
20436 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20437 wxPoint
*arg2
= 0 ;
20438 long *arg3
= (long *) 0 ;
20444 int res3
= SWIG_TMPOBJ
;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char * kwnames
[] = {
20448 (char *) "self",(char *) "pt", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20457 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_From_int(static_cast< int >(result
));
20469 if (SWIG_IsTmpObj(res3
)) {
20470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20481 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
= 0;
20483 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20484 SwigValueWrapper
<wxVisualAttributes
> result
;
20487 PyObject
* obj0
= 0 ;
20488 char * kwnames
[] = {
20489 (char *) "variant", NULL
20492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20495 if (!SWIG_IsOK(ecode1
)) {
20496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20498 arg1
= static_cast< wxWindowVariant
>(val1
);
20501 if (!wxPyCheckForApp()) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20514 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20517 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20518 return SWIG_Py_Void();
20521 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
= 0;
20523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20524 int arg2
= (int) 0 ;
20525 int arg3
= (int) -1 ;
20526 int arg4
= (int) -1 ;
20527 wxBookCtrlBaseEvent
*result
= 0 ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 PyObject
* obj2
= 0 ;
20539 PyObject
* obj3
= 0 ;
20540 char * kwnames
[] = {
20541 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20547 if (!SWIG_IsOK(ecode1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20550 arg1
= static_cast< wxEventType
>(val1
);
20553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20554 if (!SWIG_IsOK(ecode2
)) {
20555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20557 arg2
= static_cast< int >(val2
);
20560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20561 if (!SWIG_IsOK(ecode3
)) {
20562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20564 arg3
= static_cast< int >(val3
);
20567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20568 if (!SWIG_IsOK(ecode4
)) {
20569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20571 arg4
= static_cast< int >(val4
);
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20586 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20587 PyObject
*resultobj
= 0;
20588 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20592 PyObject
*swig_obj
[1] ;
20594 if (!args
) SWIG_fail
;
20595 swig_obj
[0] = args
;
20596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20597 if (!SWIG_IsOK(res1
)) {
20598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20600 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= SWIG_From_int(static_cast< int >(result
));
20614 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
= 0;
20616 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 char * kwnames
[] = {
20625 (char *) "self",(char *) "nSel", NULL
20628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20630 if (!SWIG_IsOK(res1
)) {
20631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20633 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20635 if (!SWIG_IsOK(ecode2
)) {
20636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20638 arg2
= static_cast< int >(val2
);
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 (arg1
)->SetSelection(arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_Py_Void();
20652 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20653 PyObject
*resultobj
= 0;
20654 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20658 PyObject
*swig_obj
[1] ;
20660 if (!args
) SWIG_fail
;
20661 swig_obj
[0] = args
;
20662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20663 if (!SWIG_IsOK(res1
)) {
20664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20666 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_From_int(static_cast< int >(result
));
20680 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= 0;
20682 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char * kwnames
[] = {
20691 (char *) "self",(char *) "nOldSel", NULL
20694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20699 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20701 if (!SWIG_IsOK(ecode2
)) {
20702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20704 arg2
= static_cast< int >(val2
);
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 (arg1
)->SetOldSelection(arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_Py_Void();
20718 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20721 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20722 return SWIG_Py_Void();
20725 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20726 return SWIG_Python_InitShadowInstance(args
);
20729 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
= 0;
20731 wxWindow
*arg1
= (wxWindow
*) 0 ;
20732 int arg2
= (int) -1 ;
20733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20737 long arg5
= (long) 0 ;
20738 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20740 wxNotebook
*result
= 0 ;
20749 bool temp6
= false ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 PyObject
* obj2
= 0 ;
20753 PyObject
* obj3
= 0 ;
20754 PyObject
* obj4
= 0 ;
20755 PyObject
* obj5
= 0 ;
20756 char * kwnames
[] = {
20757 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20762 if (!SWIG_IsOK(res1
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20765 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20768 if (!SWIG_IsOK(ecode2
)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20771 arg2
= static_cast< int >(val2
);
20776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20782 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20786 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20787 if (!SWIG_IsOK(ecode5
)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20790 arg5
= static_cast< long >(val5
);
20794 arg6
= wxString_in_helper(obj5
);
20795 if (arg6
== NULL
) SWIG_fail
;
20800 if (!wxPyCheckForApp()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20821 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 PyObject
*resultobj
= 0;
20823 wxNotebook
*result
= 0 ;
20825 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20827 if (!wxPyCheckForApp()) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= (wxNotebook
*)new wxNotebook();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20840 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
= 0;
20842 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20843 wxWindow
*arg2
= (wxWindow
*) 0 ;
20844 int arg3
= (int) -1 ;
20845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20849 long arg6
= (long) 0 ;
20850 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20851 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20863 bool temp7
= false ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 PyObject
* obj2
= 0 ;
20867 PyObject
* obj3
= 0 ;
20868 PyObject
* obj4
= 0 ;
20869 PyObject
* obj5
= 0 ;
20870 PyObject
* obj6
= 0 ;
20871 char * kwnames
[] = {
20872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20880 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20882 if (!SWIG_IsOK(res2
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20888 if (!SWIG_IsOK(ecode3
)) {
20889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20891 arg3
= static_cast< int >(val3
);
20896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20906 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20907 if (!SWIG_IsOK(ecode6
)) {
20908 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20910 arg6
= static_cast< long >(val6
);
20914 arg7
= wxString_in_helper(obj6
);
20915 if (arg7
== NULL
) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20942 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 PyObject
*resultobj
= 0;
20944 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20956 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_From_int(static_cast< int >(result
));
20970 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
= 0;
20972 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char * kwnames
[] = {
20980 (char *) "self",(char *) "padding", NULL
20983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20985 if (!SWIG_IsOK(res1
)) {
20986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20988 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20991 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_Py_Void();
21006 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
= 0;
21008 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char * kwnames
[] = {
21016 (char *) "self",(char *) "sz", NULL
21019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21024 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21027 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_Py_Void();
21042 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21043 PyObject
*resultobj
= 0;
21044 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21048 PyObject
*swig_obj
[1] ;
21050 if (!args
) SWIG_fail
;
21051 swig_obj
[0] = args
;
21052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21053 if (!SWIG_IsOK(res1
)) {
21054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21056 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21070 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
= 0;
21072 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21073 SwigValueWrapper
<wxVisualAttributes
> result
;
21076 PyObject
* obj0
= 0 ;
21077 char * kwnames
[] = {
21078 (char *) "variant", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21084 if (!SWIG_IsOK(ecode1
)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21087 arg1
= static_cast< wxWindowVariant
>(val1
);
21090 if (!wxPyCheckForApp()) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21103 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
= 0;
21105 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char * kwnames
[] = {
21115 (char *) "self",(char *) "nPage", NULL
21118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21123 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21125 if (!SWIG_IsOK(ecode2
)) {
21126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21128 arg2
= static_cast< int >(val2
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21144 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
= 0;
21146 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21148 int arg3
= (int) -1 ;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 PyObject
* obj2
= 0 ;
21158 char * kwnames
[] = {
21159 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21164 if (!SWIG_IsOK(res1
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21167 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21169 if (!SWIG_IsOK(ecode2
)) {
21170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21172 arg2
= static_cast< int >(val2
);
21174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21175 if (!SWIG_IsOK(ecode3
)) {
21176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21178 arg3
= static_cast< int >(val3
);
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21193 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21196 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21197 return SWIG_Py_Void();
21200 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21201 return SWIG_Python_InitShadowInstance(args
);
21204 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
= 0;
21206 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21207 int arg2
= (int) 0 ;
21208 int arg3
= (int) -1 ;
21209 int arg4
= (int) -1 ;
21210 wxNotebookEvent
*result
= 0 ;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 PyObject
* obj2
= 0 ;
21222 PyObject
* obj3
= 0 ;
21223 char * kwnames
[] = {
21224 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21230 if (!SWIG_IsOK(ecode1
)) {
21231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21233 arg1
= static_cast< wxEventType
>(val1
);
21236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21237 if (!SWIG_IsOK(ecode2
)) {
21238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21240 arg2
= static_cast< int >(val2
);
21243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21244 if (!SWIG_IsOK(ecode3
)) {
21245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21247 arg3
= static_cast< int >(val3
);
21250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21251 if (!SWIG_IsOK(ecode4
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21254 arg4
= static_cast< int >(val4
);
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21269 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21272 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21273 return SWIG_Py_Void();
21276 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21277 return SWIG_Python_InitShadowInstance(args
);
21280 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
= 0;
21282 wxWindow
*arg1
= (wxWindow
*) 0 ;
21283 int arg2
= (int) -1 ;
21284 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21285 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21286 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21287 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21288 long arg5
= (long) 0 ;
21289 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21290 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21291 wxListbook
*result
= 0 ;
21300 bool temp6
= false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 PyObject
* obj2
= 0 ;
21304 PyObject
* obj3
= 0 ;
21305 PyObject
* obj4
= 0 ;
21306 PyObject
* obj5
= 0 ;
21307 char * kwnames
[] = {
21308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21316 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21319 if (!SWIG_IsOK(ecode2
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21322 arg2
= static_cast< int >(val2
);
21327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21333 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21337 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21338 if (!SWIG_IsOK(ecode5
)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21341 arg5
= static_cast< long >(val5
);
21345 arg6
= wxString_in_helper(obj5
);
21346 if (arg6
== NULL
) SWIG_fail
;
21351 if (!wxPyCheckForApp()) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21372 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21373 PyObject
*resultobj
= 0;
21374 wxListbook
*result
= 0 ;
21376 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21378 if (!wxPyCheckForApp()) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (wxListbook
*)new wxListbook();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21391 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
= 0;
21393 wxListbook
*arg1
= (wxListbook
*) 0 ;
21394 wxWindow
*arg2
= (wxWindow
*) 0 ;
21395 int arg3
= (int) -1 ;
21396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21400 long arg6
= (long) 0 ;
21401 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21414 bool temp7
= false ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 PyObject
* obj2
= 0 ;
21418 PyObject
* obj3
= 0 ;
21419 PyObject
* obj4
= 0 ;
21420 PyObject
* obj5
= 0 ;
21421 PyObject
* obj6
= 0 ;
21422 char * kwnames
[] = {
21423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21428 if (!SWIG_IsOK(res1
)) {
21429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21431 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21433 if (!SWIG_IsOK(res2
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21436 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21439 if (!SWIG_IsOK(ecode3
)) {
21440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21442 arg3
= static_cast< int >(val3
);
21447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21457 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21458 if (!SWIG_IsOK(ecode6
)) {
21459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21461 arg6
= static_cast< long >(val6
);
21465 arg7
= wxString_in_helper(obj6
);
21466 if (arg7
== NULL
) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21493 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21494 PyObject
*resultobj
= 0;
21495 wxListbook
*arg1
= (wxListbook
*) 0 ;
21496 wxListView
*result
= 0 ;
21499 PyObject
*swig_obj
[1] ;
21501 if (!args
) SWIG_fail
;
21502 swig_obj
[0] = args
;
21503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21507 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxListView
*)(arg1
)->GetListView();
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21521 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21524 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21525 return SWIG_Py_Void();
21528 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21529 return SWIG_Python_InitShadowInstance(args
);
21532 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
= 0;
21534 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21535 int arg2
= (int) 0 ;
21536 int arg3
= (int) -1 ;
21537 int arg4
= (int) -1 ;
21538 wxListbookEvent
*result
= 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 PyObject
* obj2
= 0 ;
21550 PyObject
* obj3
= 0 ;
21551 char * kwnames
[] = {
21552 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21557 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21558 if (!SWIG_IsOK(ecode1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21561 arg1
= static_cast< wxEventType
>(val1
);
21564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21565 if (!SWIG_IsOK(ecode2
)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21568 arg2
= static_cast< int >(val2
);
21571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21572 if (!SWIG_IsOK(ecode3
)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21575 arg3
= static_cast< int >(val3
);
21578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21579 if (!SWIG_IsOK(ecode4
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21582 arg4
= static_cast< int >(val4
);
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21597 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21600 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21601 return SWIG_Py_Void();
21604 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21605 return SWIG_Python_InitShadowInstance(args
);
21608 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
= 0;
21610 wxWindow
*arg1
= (wxWindow
*) 0 ;
21612 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21613 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21614 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21615 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21616 long arg5
= (long) 0 ;
21617 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21618 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21619 wxChoicebook
*result
= 0 ;
21628 bool temp6
= false ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 PyObject
* obj2
= 0 ;
21632 PyObject
* obj3
= 0 ;
21633 PyObject
* obj4
= 0 ;
21634 PyObject
* obj5
= 0 ;
21635 char * kwnames
[] = {
21636 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21641 if (!SWIG_IsOK(res1
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21644 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21646 if (!SWIG_IsOK(ecode2
)) {
21647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21649 arg2
= static_cast< int >(val2
);
21653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21663 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21664 if (!SWIG_IsOK(ecode5
)) {
21665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21667 arg5
= static_cast< long >(val5
);
21671 arg6
= wxString_in_helper(obj5
);
21672 if (arg6
== NULL
) SWIG_fail
;
21677 if (!wxPyCheckForApp()) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21698 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21699 PyObject
*resultobj
= 0;
21700 wxChoicebook
*result
= 0 ;
21702 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21704 if (!wxPyCheckForApp()) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (wxChoicebook
*)new wxChoicebook();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21717 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
= 0;
21719 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21720 wxWindow
*arg2
= (wxWindow
*) 0 ;
21722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21726 long arg6
= (long) 0 ;
21727 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21740 bool temp7
= false ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 PyObject
* obj2
= 0 ;
21744 PyObject
* obj3
= 0 ;
21745 PyObject
* obj4
= 0 ;
21746 PyObject
* obj5
= 0 ;
21747 PyObject
* obj6
= 0 ;
21748 char * kwnames
[] = {
21749 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21754 if (!SWIG_IsOK(res1
)) {
21755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21757 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21758 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21759 if (!SWIG_IsOK(res2
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21762 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21764 if (!SWIG_IsOK(ecode3
)) {
21765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21767 arg3
= static_cast< int >(val3
);
21771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21781 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21782 if (!SWIG_IsOK(ecode6
)) {
21783 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21785 arg6
= static_cast< long >(val6
);
21789 arg7
= wxString_in_helper(obj6
);
21790 if (arg7
== NULL
) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21817 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21818 PyObject
*resultobj
= 0;
21819 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21820 wxChoice
*result
= 0 ;
21823 PyObject
*swig_obj
[1] ;
21825 if (!args
) SWIG_fail
;
21826 swig_obj
[0] = args
;
21827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21828 if (!SWIG_IsOK(res1
)) {
21829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21831 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21845 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21848 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21849 return SWIG_Py_Void();
21852 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21853 return SWIG_Python_InitShadowInstance(args
);
21856 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
= 0;
21858 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21859 int arg2
= (int) 0 ;
21860 int arg3
= (int) -1 ;
21861 int arg4
= (int) -1 ;
21862 wxChoicebookEvent
*result
= 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 PyObject
* obj2
= 0 ;
21874 PyObject
* obj3
= 0 ;
21875 char * kwnames
[] = {
21876 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21882 if (!SWIG_IsOK(ecode1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21885 arg1
= static_cast< wxEventType
>(val1
);
21888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21889 if (!SWIG_IsOK(ecode2
)) {
21890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21892 arg2
= static_cast< int >(val2
);
21895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21896 if (!SWIG_IsOK(ecode3
)) {
21897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21899 arg3
= static_cast< int >(val3
);
21902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21903 if (!SWIG_IsOK(ecode4
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21906 arg4
= static_cast< int >(val4
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21921 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21924 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21925 return SWIG_Py_Void();
21928 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 return SWIG_Python_InitShadowInstance(args
);
21932 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= 0;
21934 wxWindow
*arg1
= (wxWindow
*) 0 ;
21936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21938 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21939 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21940 long arg5
= (long) wxBK_DEFAULT
;
21941 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21942 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21943 wxTreebook
*result
= 0 ;
21952 bool temp6
= false ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 PyObject
* obj2
= 0 ;
21956 PyObject
* obj3
= 0 ;
21957 PyObject
* obj4
= 0 ;
21958 PyObject
* obj5
= 0 ;
21959 char * kwnames
[] = {
21960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21970 if (!SWIG_IsOK(ecode2
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21973 arg2
= static_cast< int >(val2
);
21977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21987 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21988 if (!SWIG_IsOK(ecode5
)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21991 arg5
= static_cast< long >(val5
);
21995 arg6
= wxString_in_helper(obj5
);
21996 if (arg6
== NULL
) SWIG_fail
;
22001 if (!wxPyCheckForApp()) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22022 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22023 PyObject
*resultobj
= 0;
22024 wxTreebook
*result
= 0 ;
22026 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22028 if (!wxPyCheckForApp()) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (wxTreebook
*)new wxTreebook();
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22041 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
= 0;
22043 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22044 wxWindow
*arg2
= (wxWindow
*) 0 ;
22046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22050 long arg6
= (long) wxBK_DEFAULT
;
22051 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22052 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22064 bool temp7
= false ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 PyObject
* obj3
= 0 ;
22069 PyObject
* obj4
= 0 ;
22070 PyObject
* obj5
= 0 ;
22071 PyObject
* obj6
= 0 ;
22072 char * kwnames
[] = {
22073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22078 if (!SWIG_IsOK(res1
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22081 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22083 if (!SWIG_IsOK(res2
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22088 if (!SWIG_IsOK(ecode3
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22091 arg3
= static_cast< int >(val3
);
22095 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22101 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22105 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22106 if (!SWIG_IsOK(ecode6
)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22109 arg6
= static_cast< long >(val6
);
22113 arg7
= wxString_in_helper(obj6
);
22114 if (arg7
== NULL
) SWIG_fail
;
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22141 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
= 0;
22143 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22145 wxWindow
*arg3
= (wxWindow
*) 0 ;
22146 wxString
*arg4
= 0 ;
22147 bool arg5
= (bool) false ;
22148 int arg6
= (int) wxNOT_FOUND
;
22156 bool temp4
= false ;
22161 PyObject
* obj0
= 0 ;
22162 PyObject
* obj1
= 0 ;
22163 PyObject
* obj2
= 0 ;
22164 PyObject
* obj3
= 0 ;
22165 PyObject
* obj4
= 0 ;
22166 PyObject
* obj5
= 0 ;
22167 char * kwnames
[] = {
22168 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22173 if (!SWIG_IsOK(res1
)) {
22174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22176 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22177 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22178 if (!SWIG_IsOK(ecode2
)) {
22179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22181 arg2
= static_cast< size_t >(val2
);
22182 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22183 if (!SWIG_IsOK(res3
)) {
22184 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22186 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22188 arg4
= wxString_in_helper(obj3
);
22189 if (arg4
== NULL
) SWIG_fail
;
22193 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22194 if (!SWIG_IsOK(ecode5
)) {
22195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22197 arg5
= static_cast< bool >(val5
);
22200 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22201 if (!SWIG_IsOK(ecode6
)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22204 arg6
= static_cast< int >(val6
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= 0;
22231 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22232 wxWindow
*arg2
= (wxWindow
*) 0 ;
22233 wxString
*arg3
= 0 ;
22234 bool arg4
= (bool) false ;
22235 int arg5
= (int) wxNOT_FOUND
;
22241 bool temp3
= false ;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22248 PyObject
* obj2
= 0 ;
22249 PyObject
* obj3
= 0 ;
22250 PyObject
* obj4
= 0 ;
22251 char * kwnames
[] = {
22252 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22257 if (!SWIG_IsOK(res1
)) {
22258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22260 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22262 if (!SWIG_IsOK(res2
)) {
22263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22265 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22267 arg3
= wxString_in_helper(obj2
);
22268 if (arg3
== NULL
) SWIG_fail
;
22272 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22273 if (!SWIG_IsOK(ecode4
)) {
22274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22276 arg4
= static_cast< bool >(val4
);
22279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22280 if (!SWIG_IsOK(ecode5
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22283 arg5
= static_cast< int >(val5
);
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22308 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
= 0;
22310 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char * kwnames
[] = {
22320 (char *) "self",(char *) "pos", NULL
22323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22325 if (!SWIG_IsOK(res1
)) {
22326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22328 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22329 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22330 if (!SWIG_IsOK(ecode2
)) {
22331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22333 arg2
= static_cast< size_t >(val2
);
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22349 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= 0;
22351 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22353 bool arg3
= (bool) true ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 char * kwnames
[] = {
22365 (char *) "self",(char *) "pos",(char *) "expand", NULL
22368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22373 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22374 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22375 if (!SWIG_IsOK(ecode2
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22378 arg2
= static_cast< size_t >(val2
);
22380 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22381 if (!SWIG_IsOK(ecode3
)) {
22382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22384 arg3
= static_cast< bool >(val3
);
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22401 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
= 0;
22403 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char * kwnames
[] = {
22413 (char *) "self",(char *) "pos", NULL
22416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22418 if (!SWIG_IsOK(res1
)) {
22419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22421 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22422 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22423 if (!SWIG_IsOK(ecode2
)) {
22424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22426 arg2
= static_cast< size_t >(val2
);
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (bool)(arg1
)->CollapseNode(arg2
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22442 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
= 0;
22444 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 char * kwnames
[] = {
22454 (char *) "self",(char *) "pos", NULL
22457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22462 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22463 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22464 if (!SWIG_IsOK(ecode2
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22467 arg2
= static_cast< size_t >(val2
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_From_int(static_cast< int >(result
));
22481 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22484 wxPyTreeCtrl
*result
= 0 ;
22487 PyObject
*swig_obj
[1] ;
22489 if (!args
) SWIG_fail
;
22490 swig_obj
[0] = args
;
22491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22492 if (!SWIG_IsOK(res1
)) {
22493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22495 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22511 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22514 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22515 return SWIG_Py_Void();
22518 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 return SWIG_Python_InitShadowInstance(args
);
22522 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
= 0;
22524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22525 int arg2
= (int) 0 ;
22526 int arg3
= (int) wxNOT_FOUND
;
22527 int arg4
= (int) wxNOT_FOUND
;
22528 wxTreebookEvent
*result
= 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 PyObject
* obj2
= 0 ;
22540 PyObject
* obj3
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22548 if (!SWIG_IsOK(ecode1
)) {
22549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22551 arg1
= static_cast< wxEventType
>(val1
);
22554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22555 if (!SWIG_IsOK(ecode2
)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22558 arg2
= static_cast< int >(val2
);
22561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22562 if (!SWIG_IsOK(ecode3
)) {
22563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22565 arg3
= static_cast< int >(val3
);
22568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22569 if (!SWIG_IsOK(ecode4
)) {
22570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22572 arg4
= static_cast< int >(val4
);
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22587 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22590 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22591 return SWIG_Py_Void();
22594 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 return SWIG_Python_InitShadowInstance(args
);
22598 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
= 0;
22600 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22603 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22604 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22605 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22606 long arg5
= (long) wxBK_DEFAULT
;
22607 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22608 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22609 wxToolbook
*result
= 0 ;
22618 bool temp6
= false ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 PyObject
* obj2
= 0 ;
22622 PyObject
* obj3
= 0 ;
22623 PyObject
* obj4
= 0 ;
22624 PyObject
* obj5
= 0 ;
22625 char * kwnames
[] = {
22626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22631 if (!SWIG_IsOK(res1
)) {
22632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22634 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22636 if (!SWIG_IsOK(ecode2
)) {
22637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22639 arg2
= static_cast< int >(val2
);
22643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22649 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22653 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22654 if (!SWIG_IsOK(ecode5
)) {
22655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22657 arg5
= static_cast< long >(val5
);
22661 arg6
= wxString_in_helper(obj5
);
22662 if (arg6
== NULL
) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22687 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 PyObject
*resultobj
= 0;
22689 wxToolbook
*result
= 0 ;
22691 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (wxToolbook
*)new wxToolbook();
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22705 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
= 0;
22707 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22708 wxWindow
*arg2
= (wxWindow
*) 0 ;
22710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22714 long arg6
= (long) 0 ;
22715 wxString
const &arg7_defvalue
= wxEmptyString
;
22716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22728 bool temp7
= false ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 PyObject
* obj2
= 0 ;
22732 PyObject
* obj3
= 0 ;
22733 PyObject
* obj4
= 0 ;
22734 PyObject
* obj5
= 0 ;
22735 PyObject
* obj6
= 0 ;
22736 char * kwnames
[] = {
22737 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22742 if (!SWIG_IsOK(res1
)) {
22743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22745 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22747 if (!SWIG_IsOK(res2
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22750 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22752 if (!SWIG_IsOK(ecode3
)) {
22753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22755 arg3
= static_cast< int >(val3
);
22759 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22765 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22769 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22770 if (!SWIG_IsOK(ecode6
)) {
22771 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22773 arg6
= static_cast< long >(val6
);
22777 arg7
= wxString_in_helper(obj6
);
22778 if (arg7
== NULL
) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22805 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22806 PyObject
*resultobj
= 0;
22807 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22808 wxToolBarBase
*result
= 0 ;
22811 PyObject
*swig_obj
[1] ;
22813 if (!args
) SWIG_fail
;
22814 swig_obj
[0] = args
;
22815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22816 if (!SWIG_IsOK(res1
)) {
22817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22819 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22835 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22836 PyObject
*resultobj
= 0;
22837 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22840 PyObject
*swig_obj
[1] ;
22842 if (!args
) SWIG_fail
;
22843 swig_obj
[0] = args
;
22844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22845 if (!SWIG_IsOK(res1
)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22848 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= SWIG_Py_Void();
22862 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22865 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22866 return SWIG_Py_Void();
22869 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22870 return SWIG_Python_InitShadowInstance(args
);
22873 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
= 0;
22875 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22876 int arg2
= (int) 0 ;
22877 int arg3
= (int) wxNOT_FOUND
;
22878 int arg4
= (int) wxNOT_FOUND
;
22879 wxToolbookEvent
*result
= 0 ;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 PyObject
* obj2
= 0 ;
22891 PyObject
* obj3
= 0 ;
22892 char * kwnames
[] = {
22893 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22898 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22899 if (!SWIG_IsOK(ecode1
)) {
22900 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22902 arg1
= static_cast< wxEventType
>(val1
);
22905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22906 if (!SWIG_IsOK(ecode2
)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22909 arg2
= static_cast< int >(val2
);
22912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22913 if (!SWIG_IsOK(ecode3
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22916 arg3
= static_cast< int >(val3
);
22919 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22920 if (!SWIG_IsOK(ecode4
)) {
22921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22923 arg4
= static_cast< int >(val4
);
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22938 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22941 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22942 return SWIG_Py_Void();
22945 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 return SWIG_Python_InitShadowInstance(args
);
22949 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22955 PyObject
*swig_obj
[1] ;
22957 if (!args
) SWIG_fail
;
22958 swig_obj
[0] = args
;
22959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22963 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (int)(arg1
)->GetId();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_From_int(static_cast< int >(result
));
22977 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22980 wxControl
*result
= 0 ;
22983 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22991 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (wxControl
*)(arg1
)->GetControl();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= wxPyMake_wxObject(result
, 0);
23007 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23008 PyObject
*resultobj
= 0;
23009 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23010 wxToolBarBase
*result
= 0 ;
23013 PyObject
*swig_obj
[1] ;
23015 if (!args
) SWIG_fail
;
23016 swig_obj
[0] = args
;
23017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23018 if (!SWIG_IsOK(res1
)) {
23019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23021 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23037 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23038 PyObject
*resultobj
= 0;
23039 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23043 PyObject
*swig_obj
[1] ;
23045 if (!args
) SWIG_fail
;
23046 swig_obj
[0] = args
;
23047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23051 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (int)(arg1
)->IsButton();
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= SWIG_From_int(static_cast< int >(result
));
23065 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23066 PyObject
*resultobj
= 0;
23067 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23071 PyObject
*swig_obj
[1] ;
23073 if (!args
) SWIG_fail
;
23074 swig_obj
[0] = args
;
23075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23076 if (!SWIG_IsOK(res1
)) {
23077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23079 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (int)(arg1
)->IsControl();
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_From_int(static_cast< int >(result
));
23093 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23094 PyObject
*resultobj
= 0;
23095 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23099 PyObject
*swig_obj
[1] ;
23101 if (!args
) SWIG_fail
;
23102 swig_obj
[0] = args
;
23103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23104 if (!SWIG_IsOK(res1
)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23107 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (int)(arg1
)->IsSeparator();
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_From_int(static_cast< int >(result
));
23121 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 PyObject
*resultobj
= 0;
23123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23127 PyObject
*swig_obj
[1] ;
23129 if (!args
) SWIG_fail
;
23130 swig_obj
[0] = args
;
23131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23135 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (int)(arg1
)->GetStyle();
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_From_int(static_cast< int >(result
));
23149 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23150 PyObject
*resultobj
= 0;
23151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23155 PyObject
*swig_obj
[1] ;
23157 if (!args
) SWIG_fail
;
23158 swig_obj
[0] = args
;
23159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23163 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (wxItemKind
)(arg1
)->GetKind();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_From_int(static_cast< int >(result
));
23177 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23178 PyObject
*resultobj
= 0;
23179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23191 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (bool)(arg1
)->IsEnabled();
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23207 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23208 PyObject
*resultobj
= 0;
23209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23213 PyObject
*swig_obj
[1] ;
23215 if (!args
) SWIG_fail
;
23216 swig_obj
[0] = args
;
23217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23221 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= (bool)(arg1
)->IsToggled();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(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_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23251 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (bool)(arg1
)->CanBeToggled();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 PyObject
*resultobj
= 0;
23269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23270 wxBitmap
*result
= 0 ;
23273 PyObject
*swig_obj
[1] ;
23275 if (!args
) SWIG_fail
;
23276 swig_obj
[0] = args
;
23277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23281 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23286 result
= (wxBitmap
*) &_result_ref
;
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23292 wxBitmap
* resultptr
= new wxBitmap(*result
);
23293 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23301 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23302 PyObject
*resultobj
= 0;
23303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23304 wxBitmap
*result
= 0 ;
23307 PyObject
*swig_obj
[1] ;
23309 if (!args
) SWIG_fail
;
23310 swig_obj
[0] = args
;
23311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23312 if (!SWIG_IsOK(res1
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23315 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23320 result
= (wxBitmap
*) &_result_ref
;
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 wxBitmap
* resultptr
= new wxBitmap(*result
);
23327 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23335 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23336 PyObject
*resultobj
= 0;
23337 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23341 PyObject
*swig_obj
[1] ;
23343 if (!args
) SWIG_fail
;
23344 swig_obj
[0] = args
;
23345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23346 if (!SWIG_IsOK(res1
)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23349 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (arg1
)->GetBitmap();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23363 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23369 PyObject
*swig_obj
[1] ;
23371 if (!args
) SWIG_fail
;
23372 swig_obj
[0] = args
;
23373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23377 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (arg1
)->GetLabel();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23397 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23398 PyObject
*resultobj
= 0;
23399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23403 PyObject
*swig_obj
[1] ;
23405 if (!args
) SWIG_fail
;
23406 swig_obj
[0] = args
;
23407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23411 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (arg1
)->GetShortHelp();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23431 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23432 PyObject
*resultobj
= 0;
23433 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23437 PyObject
*swig_obj
[1] ;
23439 if (!args
) SWIG_fail
;
23440 swig_obj
[0] = args
;
23441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23442 if (!SWIG_IsOK(res1
)) {
23443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23445 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (arg1
)->GetLongHelp();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23465 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
= 0;
23467 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 char * kwnames
[] = {
23477 (char *) "self",(char *) "enable", NULL
23480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23485 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23487 if (!SWIG_IsOK(ecode2
)) {
23488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23490 arg2
= static_cast< bool >(val2
);
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (bool)(arg1
)->Enable(arg2
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23506 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23507 PyObject
*resultobj
= 0;
23508 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23511 PyObject
*swig_obj
[1] ;
23513 if (!args
) SWIG_fail
;
23514 swig_obj
[0] = args
;
23515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23519 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_Py_Void();
23533 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
= 0;
23535 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char * kwnames
[] = {
23545 (char *) "self",(char *) "toggle", NULL
23548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23550 if (!SWIG_IsOK(res1
)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23553 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23554 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23555 if (!SWIG_IsOK(ecode2
)) {
23556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23558 arg2
= static_cast< bool >(val2
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (bool)(arg1
)->SetToggle(arg2
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23574 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
= 0;
23576 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23577 wxString
*arg2
= 0 ;
23581 bool temp2
= false ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char * kwnames
[] = {
23585 (char *) "self",(char *) "help", NULL
23588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23590 if (!SWIG_IsOK(res1
)) {
23591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23593 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23595 arg2
= wxString_in_helper(obj1
);
23596 if (arg2
== NULL
) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23622 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= 0;
23624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23625 wxString
*arg2
= 0 ;
23629 bool temp2
= false ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char * kwnames
[] = {
23633 (char *) "self",(char *) "help", NULL
23636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23638 if (!SWIG_IsOK(res1
)) {
23639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23641 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23643 arg2
= wxString_in_helper(obj1
);
23644 if (arg2
== NULL
) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23670 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
= 0;
23672 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23673 wxBitmap
*arg2
= 0 ;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 char * kwnames
[] = {
23681 (char *) "self",(char *) "bmp", NULL
23684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23689 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23691 if (!SWIG_IsOK(res2
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23697 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_Py_Void();
23711 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23714 wxBitmap
*arg2
= 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char * kwnames
[] = {
23722 (char *) "self",(char *) "bmp", NULL
23725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23727 if (!SWIG_IsOK(res1
)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23730 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23732 if (!SWIG_IsOK(res2
)) {
23733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23738 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_Py_Void();
23752 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
= 0;
23754 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23755 wxString
*arg2
= 0 ;
23758 bool temp2
= false ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 char * kwnames
[] = {
23762 (char *) "self",(char *) "label", NULL
23765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23770 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23772 arg2
= wxString_in_helper(obj1
);
23773 if (arg2
== NULL
) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 (arg1
)->SetLabel((wxString
const &)*arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_Py_Void();
23797 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23798 PyObject
*resultobj
= 0;
23799 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23802 PyObject
*swig_obj
[1] ;
23804 if (!args
) SWIG_fail
;
23805 swig_obj
[0] = args
;
23806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23810 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_Py_Void();
23824 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
= 0;
23826 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23827 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char * kwnames
[] = {
23835 (char *) "self",(char *) "tbar", NULL
23838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23843 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23845 if (!SWIG_IsOK(res2
)) {
23846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23848 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 (arg1
)->Attach(arg2
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_Py_Void();
23862 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23863 PyObject
*resultobj
= 0;
23864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23865 PyObject
*result
= 0 ;
23868 PyObject
*swig_obj
[1] ;
23870 if (!args
) SWIG_fail
;
23871 swig_obj
[0] = args
;
23872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23873 if (!SWIG_IsOK(res1
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23876 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= result
;
23890 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
= 0;
23892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23893 PyObject
*arg2
= (PyObject
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 PyObject
* obj1
= 0 ;
23898 char * kwnames
[] = {
23899 (char *) "self",(char *) "clientData", NULL
23902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23904 if (!SWIG_IsOK(res1
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23907 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= SWIG_Py_Void();
23922 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23925 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23926 return SWIG_Py_Void();
23929 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= 0;
23931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23933 wxString
*arg3
= 0 ;
23934 wxBitmap
*arg4
= 0 ;
23935 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23936 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23937 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23938 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23939 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23940 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23941 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23942 PyObject
*arg9
= (PyObject
*) NULL
;
23943 wxToolBarToolBase
*result
= 0 ;
23948 bool temp3
= false ;
23955 bool temp7
= false ;
23956 bool temp8
= false ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 PyObject
* obj2
= 0 ;
23960 PyObject
* obj3
= 0 ;
23961 PyObject
* obj4
= 0 ;
23962 PyObject
* obj5
= 0 ;
23963 PyObject
* obj6
= 0 ;
23964 PyObject
* obj7
= 0 ;
23965 PyObject
* obj8
= 0 ;
23966 char * kwnames
[] = {
23967 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23972 if (!SWIG_IsOK(res1
)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23975 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23977 if (!SWIG_IsOK(ecode2
)) {
23978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23980 arg2
= static_cast< int >(val2
);
23982 arg3
= wxString_in_helper(obj2
);
23983 if (arg3
== NULL
) SWIG_fail
;
23986 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23987 if (!SWIG_IsOK(res4
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23993 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23995 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23996 if (!SWIG_IsOK(res5
)) {
23997 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24002 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24005 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24006 if (!SWIG_IsOK(ecode6
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24009 arg6
= static_cast< wxItemKind
>(val6
);
24013 arg7
= wxString_in_helper(obj6
);
24014 if (arg7
== NULL
) SWIG_fail
;
24020 arg8
= wxString_in_helper(obj7
);
24021 if (arg8
== NULL
) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24067 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= 0;
24069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24072 wxString
*arg4
= 0 ;
24073 wxBitmap
*arg5
= 0 ;
24074 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24075 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24076 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24077 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24078 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24079 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24080 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24081 PyObject
*arg10
= (PyObject
*) NULL
;
24082 wxToolBarToolBase
*result
= 0 ;
24089 bool temp4
= false ;
24096 bool temp8
= false ;
24097 bool temp9
= false ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 PyObject
* obj2
= 0 ;
24101 PyObject
* obj3
= 0 ;
24102 PyObject
* obj4
= 0 ;
24103 PyObject
* obj5
= 0 ;
24104 PyObject
* obj6
= 0 ;
24105 PyObject
* obj7
= 0 ;
24106 PyObject
* obj8
= 0 ;
24107 PyObject
* obj9
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24117 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24118 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24119 if (!SWIG_IsOK(ecode2
)) {
24120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24122 arg2
= static_cast< size_t >(val2
);
24123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24124 if (!SWIG_IsOK(ecode3
)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24127 arg3
= static_cast< int >(val3
);
24129 arg4
= wxString_in_helper(obj3
);
24130 if (arg4
== NULL
) SWIG_fail
;
24133 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24134 if (!SWIG_IsOK(res5
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24140 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24142 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24143 if (!SWIG_IsOK(res6
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24149 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24152 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24153 if (!SWIG_IsOK(ecode7
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24156 arg7
= static_cast< wxItemKind
>(val7
);
24160 arg8
= wxString_in_helper(obj7
);
24161 if (arg8
== NULL
) SWIG_fail
;
24167 arg9
= wxString_in_helper(obj8
);
24168 if (arg9
== NULL
) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24214 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24217 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24218 wxToolBarToolBase
*result
= 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "tool", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24234 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24236 if (!SWIG_IsOK(res2
)) {
24237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24239 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24255 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
= 0;
24257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24259 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24260 wxToolBarToolBase
*result
= 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "self",(char *) "pos",(char *) "tool", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24279 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24280 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24281 if (!SWIG_IsOK(ecode2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24284 arg2
= static_cast< size_t >(val2
);
24285 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24286 if (!SWIG_IsOK(res3
)) {
24287 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24289 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24305 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= 0;
24307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24308 wxControl
*arg2
= (wxControl
*) 0 ;
24309 wxString
const &arg3_defvalue
= wxEmptyString
;
24310 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24311 wxToolBarToolBase
*result
= 0 ;
24316 bool temp3
= false ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 PyObject
* obj2
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "control",(char *) "label", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24329 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24331 if (!SWIG_IsOK(res2
)) {
24332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24334 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24337 arg3
= wxString_in_helper(obj2
);
24338 if (arg3
== NULL
) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24365 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
= 0;
24367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24369 wxControl
*arg3
= (wxControl
*) 0 ;
24370 wxString
const &arg4_defvalue
= wxEmptyString
;
24371 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24372 wxToolBarToolBase
*result
= 0 ;
24379 bool temp4
= false ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 PyObject
* obj2
= 0 ;
24383 PyObject
* obj3
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24393 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24394 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24395 if (!SWIG_IsOK(ecode2
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24398 arg2
= static_cast< size_t >(val2
);
24399 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24400 if (!SWIG_IsOK(res3
)) {
24401 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24403 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24406 arg4
= wxString_in_helper(obj3
);
24407 if (arg4
== NULL
) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24434 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
= 0;
24436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24438 wxControl
*result
= 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "id", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24454 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24456 if (!SWIG_IsOK(ecode2
)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24459 arg2
= static_cast< int >(val2
);
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= wxPyMake_wxObject(result
, 0);
24475 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24476 PyObject
*resultobj
= 0;
24477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24478 wxToolBarToolBase
*result
= 0 ;
24481 PyObject
*swig_obj
[1] ;
24483 if (!args
) SWIG_fail
;
24484 swig_obj
[0] = args
;
24485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24489 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24505 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
= 0;
24507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24509 wxToolBarToolBase
*result
= 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char * kwnames
[] = {
24517 (char *) "self",(char *) "pos", NULL
24520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24522 if (!SWIG_IsOK(res1
)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24525 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24526 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24527 if (!SWIG_IsOK(ecode2
)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24530 arg2
= static_cast< size_t >(val2
);
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24546 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
= 0;
24548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24550 wxToolBarToolBase
*result
= 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "id", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24568 if (!SWIG_IsOK(ecode2
)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24571 arg2
= static_cast< int >(val2
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24587 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
= 0;
24589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 char * kwnames
[] = {
24599 (char *) "self",(char *) "pos", NULL
24602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24607 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24608 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24609 if (!SWIG_IsOK(ecode2
)) {
24610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24612 arg2
= static_cast< size_t >(val2
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24628 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
= 0;
24630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char * kwnames
[] = {
24640 (char *) "self",(char *) "id", NULL
24643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24645 if (!SWIG_IsOK(res1
)) {
24646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24648 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24650 if (!SWIG_IsOK(ecode2
)) {
24651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24653 arg2
= static_cast< int >(val2
);
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (bool)(arg1
)->DeleteTool(arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24669 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24670 PyObject
*resultobj
= 0;
24671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24674 PyObject
*swig_obj
[1] ;
24676 if (!args
) SWIG_fail
;
24677 swig_obj
[0] = args
;
24678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24682 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 (arg1
)->ClearTools();
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_Py_Void();
24696 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24697 PyObject
*resultobj
= 0;
24698 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24702 PyObject
*swig_obj
[1] ;
24704 if (!args
) SWIG_fail
;
24705 swig_obj
[0] = args
;
24706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24710 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (bool)(arg1
)->Realize();
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24726 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
= 0;
24728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 PyObject
* obj2
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "id",(char *) "enable", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24749 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24751 if (!SWIG_IsOK(ecode2
)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24754 arg2
= static_cast< int >(val2
);
24755 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24756 if (!SWIG_IsOK(ecode3
)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24759 arg3
= static_cast< bool >(val3
);
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 (arg1
)->EnableTool(arg2
,arg3
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_Py_Void();
24773 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 PyObject
* obj2
= 0 ;
24787 char * kwnames
[] = {
24788 (char *) "self",(char *) "id",(char *) "toggle", NULL
24791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24796 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24798 if (!SWIG_IsOK(ecode2
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24801 arg2
= static_cast< int >(val2
);
24802 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24803 if (!SWIG_IsOK(ecode3
)) {
24804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24806 arg3
= static_cast< bool >(val3
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->ToggleTool(arg2
,arg3
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_Py_Void();
24820 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
= 0;
24822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 PyObject
* obj2
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "self",(char *) "id",(char *) "toggle", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24843 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24845 if (!SWIG_IsOK(ecode2
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24848 arg2
= static_cast< int >(val2
);
24849 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24850 if (!SWIG_IsOK(ecode3
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24853 arg3
= static_cast< bool >(val3
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetToggle(arg2
,arg3
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_Py_Void();
24867 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
= 0;
24869 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24871 PyObject
*result
= 0 ;
24876 PyObject
* obj0
= 0 ;
24877 PyObject
* obj1
= 0 ;
24878 char * kwnames
[] = {
24879 (char *) "self",(char *) "id", NULL
24882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24884 if (!SWIG_IsOK(res1
)) {
24885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24887 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24889 if (!SWIG_IsOK(ecode2
)) {
24890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24892 arg2
= static_cast< int >(val2
);
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= result
;
24906 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24910 PyObject
*arg3
= (PyObject
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 PyObject
* obj2
= 0 ;
24918 char * kwnames
[] = {
24919 (char *) "self",(char *) "id",(char *) "clientData", NULL
24922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24924 if (!SWIG_IsOK(res1
)) {
24925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24927 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24929 if (!SWIG_IsOK(ecode2
)) {
24930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24932 arg2
= static_cast< int >(val2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_Py_Void();
24947 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char * kwnames
[] = {
24959 (char *) "self",(char *) "id", NULL
24962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24967 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24969 if (!SWIG_IsOK(ecode2
)) {
24970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24972 arg2
= static_cast< int >(val2
);
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_From_int(static_cast< int >(result
));
24986 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(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_GetToolState",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_GetToolState" "', 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_GetToolState" "', expected argument " "2"" of type '" "int""'");
25011 arg2
= static_cast< int >(val2
);
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (bool)(arg1
)->GetToolState(arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25027 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
= 0;
25029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char * kwnames
[] = {
25039 (char *) "self",(char *) "id", NULL
25042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25047 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25049 if (!SWIG_IsOK(ecode2
)) {
25050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25052 arg2
= static_cast< int >(val2
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25068 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25072 wxString
*arg3
= 0 ;
25077 bool temp3
= false ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 PyObject
* obj2
= 0 ;
25081 char * kwnames
[] = {
25082 (char *) "self",(char *) "id",(char *) "helpString", NULL
25085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25087 if (!SWIG_IsOK(res1
)) {
25088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25090 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25092 if (!SWIG_IsOK(ecode2
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25095 arg2
= static_cast< int >(val2
);
25097 arg3
= wxString_in_helper(obj2
);
25098 if (arg3
== NULL
) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_Py_Void();
25122 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char * kwnames
[] = {
25134 (char *) "self",(char *) "id", NULL
25137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25139 if (!SWIG_IsOK(res1
)) {
25140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25142 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25144 if (!SWIG_IsOK(ecode2
)) {
25145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25147 arg2
= static_cast< int >(val2
);
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (arg1
)->GetToolShortHelp(arg2
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25167 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
= 0;
25169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25171 wxString
*arg3
= 0 ;
25176 bool temp3
= false ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 PyObject
* obj2
= 0 ;
25180 char * kwnames
[] = {
25181 (char *) "self",(char *) "id",(char *) "helpString", NULL
25184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25186 if (!SWIG_IsOK(res1
)) {
25187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25189 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25191 if (!SWIG_IsOK(ecode2
)) {
25192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25194 arg2
= static_cast< int >(val2
);
25196 arg3
= wxString_in_helper(obj2
);
25197 if (arg3
== NULL
) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= SWIG_Py_Void();
25221 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
= 0;
25223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25230 PyObject
* obj0
= 0 ;
25231 PyObject
* obj1
= 0 ;
25232 char * kwnames
[] = {
25233 (char *) "self",(char *) "id", NULL
25236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25241 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25243 if (!SWIG_IsOK(ecode2
)) {
25244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25246 arg2
= static_cast< int >(val2
);
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (arg1
)->GetToolLongHelp(arg2
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25266 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
= 0;
25268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 PyObject
* obj2
= 0 ;
25280 char * kwnames
[] = {
25281 (char *) "self",(char *) "x",(char *) "y", NULL
25284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25289 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25291 if (!SWIG_IsOK(ecode2
)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25294 arg2
= static_cast< int >(val2
);
25295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25296 if (!SWIG_IsOK(ecode3
)) {
25297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25299 arg3
= static_cast< int >(val3
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->SetMargins(arg2
,arg3
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_Py_Void();
25313 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
= 0;
25315 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25320 PyObject
* obj0
= 0 ;
25321 PyObject
* obj1
= 0 ;
25322 char * kwnames
[] = {
25323 (char *) "self",(char *) "size", NULL
25326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_Py_Void();
25349 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
= 0;
25351 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char * kwnames
[] = {
25360 (char *) "self",(char *) "packing", NULL
25363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25368 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25370 if (!SWIG_IsOK(ecode2
)) {
25371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25373 arg2
= static_cast< int >(val2
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 (arg1
)->SetToolPacking(arg2
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_Py_Void();
25387 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
= 0;
25389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25395 PyObject
* obj0
= 0 ;
25396 PyObject
* obj1
= 0 ;
25397 char * kwnames
[] = {
25398 (char *) "self",(char *) "separation", NULL
25401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25403 if (!SWIG_IsOK(res1
)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25406 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25408 if (!SWIG_IsOK(ecode2
)) {
25409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25411 arg2
= static_cast< int >(val2
);
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 (arg1
)->SetToolSeparation(arg2
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_Py_Void();
25425 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25426 PyObject
*resultobj
= 0;
25427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25431 PyObject
*swig_obj
[1] ;
25433 if (!args
) SWIG_fail
;
25434 swig_obj
[0] = args
;
25435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25436 if (!SWIG_IsOK(res1
)) {
25437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25439 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (arg1
)->GetToolMargins();
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25453 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 PyObject
*resultobj
= 0;
25455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25459 PyObject
*swig_obj
[1] ;
25461 if (!args
) SWIG_fail
;
25462 swig_obj
[0] = args
;
25463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25464 if (!SWIG_IsOK(res1
)) {
25465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25467 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (arg1
)->GetMargins();
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25481 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25482 PyObject
*resultobj
= 0;
25483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25487 PyObject
*swig_obj
[1] ;
25489 if (!args
) SWIG_fail
;
25490 swig_obj
[0] = args
;
25491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25495 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 result
= (int)(arg1
)->GetToolPacking();
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= SWIG_From_int(static_cast< int >(result
));
25509 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25510 PyObject
*resultobj
= 0;
25511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25515 PyObject
*swig_obj
[1] ;
25517 if (!args
) SWIG_fail
;
25518 swig_obj
[0] = args
;
25519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25520 if (!SWIG_IsOK(res1
)) {
25521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25523 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (int)(arg1
)->GetToolSeparation();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_From_int(static_cast< int >(result
));
25537 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
= 0;
25539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 char * kwnames
[] = {
25548 (char *) "self",(char *) "nRows", NULL
25551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25553 if (!SWIG_IsOK(res1
)) {
25554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25556 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25558 if (!SWIG_IsOK(ecode2
)) {
25559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25561 arg2
= static_cast< int >(val2
);
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 (arg1
)->SetRows(arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 resultobj
= SWIG_Py_Void();
25575 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
= 0;
25577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 PyObject
* obj2
= 0 ;
25589 char * kwnames
[] = {
25590 (char *) "self",(char *) "rows",(char *) "cols", NULL
25593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25600 if (!SWIG_IsOK(ecode2
)) {
25601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25603 arg2
= static_cast< int >(val2
);
25604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25605 if (!SWIG_IsOK(ecode3
)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25608 arg3
= static_cast< int >(val3
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_Py_Void();
25622 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 PyObject
*resultobj
= 0;
25624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25628 PyObject
*swig_obj
[1] ;
25630 if (!args
) SWIG_fail
;
25631 swig_obj
[0] = args
;
25632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25636 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= (int)(arg1
)->GetMaxRows();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_From_int(static_cast< int >(result
));
25650 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 PyObject
*resultobj
= 0;
25652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25656 PyObject
*swig_obj
[1] ;
25658 if (!args
) SWIG_fail
;
25659 swig_obj
[0] = args
;
25660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25664 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (int)(arg1
)->GetMaxCols();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_From_int(static_cast< int >(result
));
25678 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
= 0;
25680 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25685 PyObject
* obj0
= 0 ;
25686 PyObject
* obj1
= 0 ;
25687 char * kwnames
[] = {
25688 (char *) "self",(char *) "size", NULL
25691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25696 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_Py_Void();
25714 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 PyObject
*resultobj
= 0;
25716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25720 PyObject
*swig_obj
[1] ;
25722 if (!args
) SWIG_fail
;
25723 swig_obj
[0] = args
;
25724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25728 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (arg1
)->GetToolBitmapSize();
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25742 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25743 PyObject
*resultobj
= 0;
25744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25748 PyObject
*swig_obj
[1] ;
25750 if (!args
) SWIG_fail
;
25751 swig_obj
[0] = args
;
25752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25753 if (!SWIG_IsOK(res1
)) {
25754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25756 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (arg1
)->GetToolSize();
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25770 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25771 PyObject
*resultobj
= 0;
25772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25775 wxToolBarToolBase
*result
= 0 ;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 PyObject
* obj2
= 0 ;
25785 char * kwnames
[] = {
25786 (char *) "self",(char *) "x",(char *) "y", NULL
25789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25791 if (!SWIG_IsOK(res1
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25794 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25796 if (!SWIG_IsOK(ecode2
)) {
25797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25799 arg2
= static_cast< int >(val2
);
25800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25801 if (!SWIG_IsOK(ecode3
)) {
25802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25804 arg3
= static_cast< int >(val3
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25820 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
= 0;
25822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25824 wxToolBarToolBase
*result
= 0 ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 char * kwnames
[] = {
25832 (char *) "self",(char *) "toolid", NULL
25835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25837 if (!SWIG_IsOK(res1
)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25840 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25842 if (!SWIG_IsOK(ecode2
)) {
25843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25845 arg2
= static_cast< int >(val2
);
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25861 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25862 PyObject
*resultobj
= 0;
25863 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25867 PyObject
*swig_obj
[1] ;
25869 if (!args
) SWIG_fail
;
25870 swig_obj
[0] = args
;
25871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25875 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (bool)(arg1
)->IsVertical();
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25891 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25892 PyObject
*resultobj
= 0;
25893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25919 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25922 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25923 return SWIG_Py_Void();
25926 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
= 0;
25928 wxWindow
*arg1
= (wxWindow
*) 0 ;
25929 int arg2
= (int) -1 ;
25930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25934 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25935 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25936 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25937 wxToolBar
*result
= 0 ;
25946 bool temp6
= false ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 PyObject
* obj2
= 0 ;
25950 PyObject
* obj3
= 0 ;
25951 PyObject
* obj4
= 0 ;
25952 PyObject
* obj5
= 0 ;
25953 char * kwnames
[] = {
25954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25959 if (!SWIG_IsOK(res1
)) {
25960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25965 if (!SWIG_IsOK(ecode2
)) {
25966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25968 arg2
= static_cast< int >(val2
);
25973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25983 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25984 if (!SWIG_IsOK(ecode5
)) {
25985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25987 arg5
= static_cast< long >(val5
);
25991 arg6
= wxString_in_helper(obj5
);
25992 if (arg6
== NULL
) SWIG_fail
;
25997 if (!wxPyCheckForApp()) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26018 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26019 PyObject
*resultobj
= 0;
26020 wxToolBar
*result
= 0 ;
26022 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26024 if (!wxPyCheckForApp()) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (wxToolBar
*)new wxToolBar();
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26037 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
= 0;
26039 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26040 wxWindow
*arg2
= (wxWindow
*) 0 ;
26041 int arg3
= (int) -1 ;
26042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26046 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26047 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26060 bool temp7
= false ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 PyObject
* obj2
= 0 ;
26064 PyObject
* obj3
= 0 ;
26065 PyObject
* obj4
= 0 ;
26066 PyObject
* obj5
= 0 ;
26067 PyObject
* obj6
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26077 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26079 if (!SWIG_IsOK(res2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26085 if (!SWIG_IsOK(ecode3
)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26088 arg3
= static_cast< int >(val3
);
26093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26104 if (!SWIG_IsOK(ecode6
)) {
26105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26107 arg6
= static_cast< long >(val6
);
26111 arg7
= wxString_in_helper(obj6
);
26112 if (arg7
== NULL
) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26139 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
= 0;
26141 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26143 wxBitmap
*arg3
= 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 PyObject
* obj2
= 0 ;
26153 char * kwnames
[] = {
26154 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26162 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26164 if (!SWIG_IsOK(ecode2
)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26167 arg2
= static_cast< int >(val2
);
26168 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26169 if (!SWIG_IsOK(res3
)) {
26170 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26175 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_Py_Void();
26189 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
= 0;
26191 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26193 wxBitmap
*arg3
= 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 PyObject
* obj2
= 0 ;
26203 char * kwnames
[] = {
26204 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26209 if (!SWIG_IsOK(res1
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26212 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26214 if (!SWIG_IsOK(ecode2
)) {
26215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26217 arg2
= static_cast< int >(val2
);
26218 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26219 if (!SWIG_IsOK(res3
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26225 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_Py_Void();
26239 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
= 0;
26241 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26242 SwigValueWrapper
<wxVisualAttributes
> result
;
26245 PyObject
* obj0
= 0 ;
26246 char * kwnames
[] = {
26247 (char *) "variant", NULL
26250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26253 if (!SWIG_IsOK(ecode1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26256 arg1
= static_cast< wxWindowVariant
>(val1
);
26259 if (!wxPyCheckForApp()) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26272 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26275 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26276 return SWIG_Py_Void();
26279 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26280 return SWIG_Python_InitShadowInstance(args
);
26283 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26284 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26289 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26290 PyObject
*pyobj
= 0;
26294 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26296 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26303 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
= 0;
26305 wxColour
const &arg1_defvalue
= wxNullColour
;
26306 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26307 wxColour
const &arg2_defvalue
= wxNullColour
;
26308 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26309 wxFont
const &arg3_defvalue
= wxNullFont
;
26310 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26311 wxListItemAttr
*result
= 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 char * kwnames
[] = {
26320 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26327 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26337 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26338 if (!SWIG_IsOK(res3
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26344 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26359 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26360 PyObject
*resultobj
= 0;
26361 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26364 PyObject
*swig_obj
[1] ;
26366 if (!args
) SWIG_fail
;
26367 swig_obj
[0] = args
;
26368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26369 if (!SWIG_IsOK(res1
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26372 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_Py_Void();
26387 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
= 0;
26389 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26390 wxColour
*arg2
= 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char * kwnames
[] = {
26397 (char *) "self",(char *) "colText", NULL
26400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26402 if (!SWIG_IsOK(res1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26405 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26408 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_Py_Void();
26423 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
= 0;
26425 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26426 wxColour
*arg2
= 0 ;
26430 PyObject
* obj0
= 0 ;
26431 PyObject
* obj1
= 0 ;
26432 char * kwnames
[] = {
26433 (char *) "self",(char *) "colBack", NULL
26436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26441 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26444 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= SWIG_Py_Void();
26459 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
= 0;
26461 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 char * kwnames
[] = {
26470 (char *) "self",(char *) "font", NULL
26473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26478 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26480 if (!SWIG_IsOK(res2
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26486 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 (arg1
)->SetFont((wxFont
const &)*arg2
);
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 resultobj
= SWIG_Py_Void();
26500 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26501 PyObject
*resultobj
= 0;
26502 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26506 PyObject
*swig_obj
[1] ;
26508 if (!args
) SWIG_fail
;
26509 swig_obj
[0] = args
;
26510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26511 if (!SWIG_IsOK(res1
)) {
26512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26514 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)(arg1
)->HasTextColour();
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26530 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26531 PyObject
*resultobj
= 0;
26532 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26536 PyObject
*swig_obj
[1] ;
26538 if (!args
) SWIG_fail
;
26539 swig_obj
[0] = args
;
26540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26544 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (bool)(arg1
)->HasBackgroundColour();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26560 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26566 PyObject
*swig_obj
[1] ;
26568 if (!args
) SWIG_fail
;
26569 swig_obj
[0] = args
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26574 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (bool)(arg1
)->HasFont();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26590 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26596 PyObject
*swig_obj
[1] ;
26598 if (!args
) SWIG_fail
;
26599 swig_obj
[0] = args
;
26600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26604 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (arg1
)->GetTextColour();
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26618 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26619 PyObject
*resultobj
= 0;
26620 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26624 PyObject
*swig_obj
[1] ;
26626 if (!args
) SWIG_fail
;
26627 swig_obj
[0] = args
;
26628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26629 if (!SWIG_IsOK(res1
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26632 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (arg1
)->GetBackgroundColour();
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26646 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 PyObject
*resultobj
= 0;
26648 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26652 PyObject
*swig_obj
[1] ;
26654 if (!args
) SWIG_fail
;
26655 swig_obj
[0] = args
;
26656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26660 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (arg1
)->GetFont();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26674 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
= 0;
26676 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26677 wxListItemAttr
*arg2
= 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "source", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26693 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26695 if (!SWIG_IsOK(res2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26701 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_Py_Void();
26715 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26716 PyObject
*resultobj
= 0;
26717 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26720 PyObject
*swig_obj
[1] ;
26722 if (!args
) SWIG_fail
;
26723 swig_obj
[0] = args
;
26724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26728 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 wxListItemAttr_Destroy(arg1
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_Py_Void();
26742 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26745 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26746 return SWIG_Py_Void();
26749 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 return SWIG_Python_InitShadowInstance(args
);
26753 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26754 PyObject
*resultobj
= 0;
26755 wxListItem
*result
= 0 ;
26757 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (wxListItem
*)new wxListItem();
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26771 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26772 PyObject
*resultobj
= 0;
26773 wxListItem
*arg1
= (wxListItem
*) 0 ;
26776 PyObject
*swig_obj
[1] ;
26778 if (!args
) SWIG_fail
;
26779 swig_obj
[0] = args
;
26780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26781 if (!SWIG_IsOK(res1
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26784 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= SWIG_Py_Void();
26799 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26800 PyObject
*resultobj
= 0;
26801 wxListItem
*arg1
= (wxListItem
*) 0 ;
26804 PyObject
*swig_obj
[1] ;
26806 if (!args
) SWIG_fail
;
26807 swig_obj
[0] = args
;
26808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26812 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_Py_Void();
26826 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26827 PyObject
*resultobj
= 0;
26828 wxListItem
*arg1
= (wxListItem
*) 0 ;
26831 PyObject
*swig_obj
[1] ;
26833 if (!args
) SWIG_fail
;
26834 swig_obj
[0] = args
;
26835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26839 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 (arg1
)->ClearAttributes();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_Py_Void();
26853 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= 0;
26855 wxListItem
*arg1
= (wxListItem
*) 0 ;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 char * kwnames
[] = {
26864 (char *) "self",(char *) "mask", NULL
26867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26872 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26873 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26874 if (!SWIG_IsOK(ecode2
)) {
26875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26877 arg2
= static_cast< long >(val2
);
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 (arg1
)->SetMask(arg2
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_Py_Void();
26891 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
= 0;
26893 wxListItem
*arg1
= (wxListItem
*) 0 ;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 char * kwnames
[] = {
26902 (char *) "self",(char *) "id", NULL
26905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26907 if (!SWIG_IsOK(res1
)) {
26908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26910 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26911 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26912 if (!SWIG_IsOK(ecode2
)) {
26913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26915 arg2
= static_cast< long >(val2
);
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 (arg1
)->SetId(arg2
);
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= SWIG_Py_Void();
26929 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
= 0;
26931 wxListItem
*arg1
= (wxListItem
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char * kwnames
[] = {
26940 (char *) "self",(char *) "col", NULL
26943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26948 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26950 if (!SWIG_IsOK(ecode2
)) {
26951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26953 arg2
= static_cast< int >(val2
);
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 (arg1
)->SetColumn(arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_Py_Void();
26967 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
= 0;
26969 wxListItem
*arg1
= (wxListItem
*) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char * kwnames
[] = {
26978 (char *) "self",(char *) "state", NULL
26981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26983 if (!SWIG_IsOK(res1
)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26986 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26988 if (!SWIG_IsOK(ecode2
)) {
26989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26991 arg2
= static_cast< long >(val2
);
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->SetState(arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_Py_Void();
27005 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxListItem
*arg1
= (wxListItem
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "stateMask", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27024 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27025 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27026 if (!SWIG_IsOK(ecode2
)) {
27027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27029 arg2
= static_cast< long >(val2
);
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->SetStateMask(arg2
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_Py_Void();
27043 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
= 0;
27045 wxListItem
*arg1
= (wxListItem
*) 0 ;
27046 wxString
*arg2
= 0 ;
27049 bool temp2
= false ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 char * kwnames
[] = {
27053 (char *) "self",(char *) "text", NULL
27056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27061 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27063 arg2
= wxString_in_helper(obj1
);
27064 if (arg2
== NULL
) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 (arg1
)->SetText((wxString
const &)*arg2
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_Py_Void();
27088 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
= 0;
27090 wxListItem
*arg1
= (wxListItem
*) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 char * kwnames
[] = {
27099 (char *) "self",(char *) "image", NULL
27102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27107 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27109 if (!SWIG_IsOK(ecode2
)) {
27110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27112 arg2
= static_cast< int >(val2
);
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 (arg1
)->SetImage(arg2
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_Py_Void();
27126 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= 0;
27128 wxListItem
*arg1
= (wxListItem
*) 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char * kwnames
[] = {
27137 (char *) "self",(char *) "data", NULL
27140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27145 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27147 if (!SWIG_IsOK(ecode2
)) {
27148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27150 arg2
= static_cast< long >(val2
);
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 (arg1
)->SetData(arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_Py_Void();
27164 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
= 0;
27166 wxListItem
*arg1
= (wxListItem
*) 0 ;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char * kwnames
[] = {
27175 (char *) "self",(char *) "width", NULL
27178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27180 if (!SWIG_IsOK(res1
)) {
27181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27183 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27185 if (!SWIG_IsOK(ecode2
)) {
27186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27188 arg2
= static_cast< int >(val2
);
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 (arg1
)->SetWidth(arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_Py_Void();
27202 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
= 0;
27204 wxListItem
*arg1
= (wxListItem
*) 0 ;
27205 wxListColumnFormat arg2
;
27210 PyObject
* obj0
= 0 ;
27211 PyObject
* obj1
= 0 ;
27212 char * kwnames
[] = {
27213 (char *) "self",(char *) "align", NULL
27216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27223 if (!SWIG_IsOK(ecode2
)) {
27224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27226 arg2
= static_cast< wxListColumnFormat
>(val2
);
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 (arg1
)->SetAlign(arg2
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_Py_Void();
27240 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
= 0;
27242 wxListItem
*arg1
= (wxListItem
*) 0 ;
27243 wxColour
*arg2
= 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "self",(char *) "colText", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27258 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27261 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= SWIG_Py_Void();
27276 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
= 0;
27278 wxListItem
*arg1
= (wxListItem
*) 0 ;
27279 wxColour
*arg2
= 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char * kwnames
[] = {
27286 (char *) "self",(char *) "colBack", NULL
27289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27294 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= SWIG_Py_Void();
27312 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
= 0;
27314 wxListItem
*arg1
= (wxListItem
*) 0 ;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char * kwnames
[] = {
27323 (char *) "self",(char *) "font", NULL
27326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27328 if (!SWIG_IsOK(res1
)) {
27329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27331 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27333 if (!SWIG_IsOK(res2
)) {
27334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27339 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 (arg1
)->SetFont((wxFont
const &)*arg2
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_Py_Void();
27353 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27354 PyObject
*resultobj
= 0;
27355 wxListItem
*arg1
= (wxListItem
*) 0 ;
27359 PyObject
*swig_obj
[1] ;
27361 if (!args
) SWIG_fail
;
27362 swig_obj
[0] = args
;
27363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27364 if (!SWIG_IsOK(res1
)) {
27365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27367 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 result
= (long)(arg1
)->GetMask();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= SWIG_From_long(static_cast< long >(result
));
27381 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27382 PyObject
*resultobj
= 0;
27383 wxListItem
*arg1
= (wxListItem
*) 0 ;
27387 PyObject
*swig_obj
[1] ;
27389 if (!args
) SWIG_fail
;
27390 swig_obj
[0] = args
;
27391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27395 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= (long)(arg1
)->GetId();
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_From_long(static_cast< long >(result
));
27409 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27410 PyObject
*resultobj
= 0;
27411 wxListItem
*arg1
= (wxListItem
*) 0 ;
27415 PyObject
*swig_obj
[1] ;
27417 if (!args
) SWIG_fail
;
27418 swig_obj
[0] = args
;
27419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (int)(arg1
)->GetColumn();
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= SWIG_From_int(static_cast< int >(result
));
27437 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27438 PyObject
*resultobj
= 0;
27439 wxListItem
*arg1
= (wxListItem
*) 0 ;
27443 PyObject
*swig_obj
[1] ;
27445 if (!args
) SWIG_fail
;
27446 swig_obj
[0] = args
;
27447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27448 if (!SWIG_IsOK(res1
)) {
27449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27451 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= (long)(arg1
)->GetState();
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 resultobj
= SWIG_From_long(static_cast< long >(result
));
27465 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27466 PyObject
*resultobj
= 0;
27467 wxListItem
*arg1
= (wxListItem
*) 0 ;
27468 wxString
*result
= 0 ;
27471 PyObject
*swig_obj
[1] ;
27473 if (!args
) SWIG_fail
;
27474 swig_obj
[0] = args
;
27475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27479 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 wxString
const &_result_ref
= (arg1
)->GetText();
27484 result
= (wxString
*) &_result_ref
;
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27493 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27502 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListItem
*arg1
= (wxListItem
*) 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= (int)(arg1
)->GetImage();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= SWIG_From_int(static_cast< int >(result
));
27530 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27531 PyObject
*resultobj
= 0;
27532 wxListItem
*arg1
= (wxListItem
*) 0 ;
27536 PyObject
*swig_obj
[1] ;
27538 if (!args
) SWIG_fail
;
27539 swig_obj
[0] = args
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= (long)(arg1
)->GetData();
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_From_long(static_cast< long >(result
));
27558 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27559 PyObject
*resultobj
= 0;
27560 wxListItem
*arg1
= (wxListItem
*) 0 ;
27564 PyObject
*swig_obj
[1] ;
27566 if (!args
) SWIG_fail
;
27567 swig_obj
[0] = args
;
27568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27569 if (!SWIG_IsOK(res1
)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27572 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (int)(arg1
)->GetWidth();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_From_int(static_cast< int >(result
));
27586 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27587 PyObject
*resultobj
= 0;
27588 wxListItem
*arg1
= (wxListItem
*) 0 ;
27589 wxListColumnFormat result
;
27592 PyObject
*swig_obj
[1] ;
27594 if (!args
) SWIG_fail
;
27595 swig_obj
[0] = args
;
27596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27597 if (!SWIG_IsOK(res1
)) {
27598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27600 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_From_int(static_cast< int >(result
));
27614 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListItem
*arg1
= (wxListItem
*) 0 ;
27617 wxListItemAttr
*result
= 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27628 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27642 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27643 PyObject
*resultobj
= 0;
27644 wxListItem
*arg1
= (wxListItem
*) 0 ;
27648 PyObject
*swig_obj
[1] ;
27650 if (!args
) SWIG_fail
;
27651 swig_obj
[0] = args
;
27652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27653 if (!SWIG_IsOK(res1
)) {
27654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27656 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= (bool)(arg1
)->HasAttributes();
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27672 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListItem
*arg1
= (wxListItem
*) 0 ;
27678 PyObject
*swig_obj
[1] ;
27680 if (!args
) SWIG_fail
;
27681 swig_obj
[0] = args
;
27682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27683 if (!SWIG_IsOK(res1
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27686 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27700 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27701 PyObject
*resultobj
= 0;
27702 wxListItem
*arg1
= (wxListItem
*) 0 ;
27706 PyObject
*swig_obj
[1] ;
27708 if (!args
) SWIG_fail
;
27709 swig_obj
[0] = args
;
27710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27711 if (!SWIG_IsOK(res1
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27714 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27728 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27729 PyObject
*resultobj
= 0;
27730 wxListItem
*arg1
= (wxListItem
*) 0 ;
27734 PyObject
*swig_obj
[1] ;
27736 if (!args
) SWIG_fail
;
27737 swig_obj
[0] = args
;
27738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27742 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= ((wxListItem
const *)arg1
)->GetFont();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27756 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27757 PyObject
*resultobj
= 0;
27758 wxListItem
*arg1
= (wxListItem
*) 0 ;
27764 PyObject
*swig_obj
[2] ;
27766 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27768 if (!SWIG_IsOK(res1
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27772 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27773 if (!SWIG_IsOK(ecode2
)) {
27774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27776 arg2
= static_cast< long >(val2
);
27777 if (arg1
) (arg1
)->m_mask
= arg2
;
27779 resultobj
= SWIG_Py_Void();
27786 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27787 PyObject
*resultobj
= 0;
27788 wxListItem
*arg1
= (wxListItem
*) 0 ;
27792 PyObject
*swig_obj
[1] ;
27794 if (!args
) SWIG_fail
;
27795 swig_obj
[0] = args
;
27796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27797 if (!SWIG_IsOK(res1
)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27800 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27801 result
= (long) ((arg1
)->m_mask
);
27802 resultobj
= SWIG_From_long(static_cast< long >(result
));
27809 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27810 PyObject
*resultobj
= 0;
27811 wxListItem
*arg1
= (wxListItem
*) 0 ;
27817 PyObject
*swig_obj
[2] ;
27819 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27821 if (!SWIG_IsOK(res1
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27824 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27825 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27826 if (!SWIG_IsOK(ecode2
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27829 arg2
= static_cast< long >(val2
);
27830 if (arg1
) (arg1
)->m_itemId
= arg2
;
27832 resultobj
= SWIG_Py_Void();
27839 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27840 PyObject
*resultobj
= 0;
27841 wxListItem
*arg1
= (wxListItem
*) 0 ;
27845 PyObject
*swig_obj
[1] ;
27847 if (!args
) SWIG_fail
;
27848 swig_obj
[0] = args
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27853 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27854 result
= (long) ((arg1
)->m_itemId
);
27855 resultobj
= SWIG_From_long(static_cast< long >(result
));
27862 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListItem
*arg1
= (wxListItem
*) 0 ;
27870 PyObject
*swig_obj
[2] ;
27872 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27877 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27878 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27879 if (!SWIG_IsOK(ecode2
)) {
27880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27882 arg2
= static_cast< int >(val2
);
27883 if (arg1
) (arg1
)->m_col
= arg2
;
27885 resultobj
= SWIG_Py_Void();
27892 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27893 PyObject
*resultobj
= 0;
27894 wxListItem
*arg1
= (wxListItem
*) 0 ;
27898 PyObject
*swig_obj
[1] ;
27900 if (!args
) SWIG_fail
;
27901 swig_obj
[0] = args
;
27902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27906 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27907 result
= (int) ((arg1
)->m_col
);
27908 resultobj
= SWIG_From_int(static_cast< int >(result
));
27915 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListItem
*arg1
= (wxListItem
*) 0 ;
27923 PyObject
*swig_obj
[2] ;
27925 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27930 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27931 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27932 if (!SWIG_IsOK(ecode2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27935 arg2
= static_cast< long >(val2
);
27936 if (arg1
) (arg1
)->m_state
= arg2
;
27938 resultobj
= SWIG_Py_Void();
27945 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27946 PyObject
*resultobj
= 0;
27947 wxListItem
*arg1
= (wxListItem
*) 0 ;
27951 PyObject
*swig_obj
[1] ;
27953 if (!args
) SWIG_fail
;
27954 swig_obj
[0] = args
;
27955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27956 if (!SWIG_IsOK(res1
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27959 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27960 result
= (long) ((arg1
)->m_state
);
27961 resultobj
= SWIG_From_long(static_cast< long >(result
));
27968 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListItem
*arg1
= (wxListItem
*) 0 ;
27976 PyObject
*swig_obj
[2] ;
27978 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27983 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27984 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27985 if (!SWIG_IsOK(ecode2
)) {
27986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27988 arg2
= static_cast< long >(val2
);
27989 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27991 resultobj
= SWIG_Py_Void();
27998 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27999 PyObject
*resultobj
= 0;
28000 wxListItem
*arg1
= (wxListItem
*) 0 ;
28004 PyObject
*swig_obj
[1] ;
28006 if (!args
) SWIG_fail
;
28007 swig_obj
[0] = args
;
28008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28009 if (!SWIG_IsOK(res1
)) {
28010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28012 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28013 result
= (long) ((arg1
)->m_stateMask
);
28014 resultobj
= SWIG_From_long(static_cast< long >(result
));
28021 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListItem
*arg1
= (wxListItem
*) 0 ;
28024 wxString
*arg2
= (wxString
*) 0 ;
28027 bool temp2
= false ;
28028 PyObject
*swig_obj
[2] ;
28030 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28035 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28037 arg2
= wxString_in_helper(swig_obj
[1]);
28038 if (arg2
== NULL
) SWIG_fail
;
28041 if (arg1
) (arg1
)->m_text
= *arg2
;
28043 resultobj
= SWIG_Py_Void();
28058 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28059 PyObject
*resultobj
= 0;
28060 wxListItem
*arg1
= (wxListItem
*) 0 ;
28061 wxString
*result
= 0 ;
28064 PyObject
*swig_obj
[1] ;
28066 if (!args
) SWIG_fail
;
28067 swig_obj
[0] = args
;
28068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28069 if (!SWIG_IsOK(res1
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28072 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28073 result
= (wxString
*)& ((arg1
)->m_text
);
28076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28087 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28088 PyObject
*resultobj
= 0;
28089 wxListItem
*arg1
= (wxListItem
*) 0 ;
28095 PyObject
*swig_obj
[2] ;
28097 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28099 if (!SWIG_IsOK(res1
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28102 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28103 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28104 if (!SWIG_IsOK(ecode2
)) {
28105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28107 arg2
= static_cast< int >(val2
);
28108 if (arg1
) (arg1
)->m_image
= arg2
;
28110 resultobj
= SWIG_Py_Void();
28117 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28118 PyObject
*resultobj
= 0;
28119 wxListItem
*arg1
= (wxListItem
*) 0 ;
28123 PyObject
*swig_obj
[1] ;
28125 if (!args
) SWIG_fail
;
28126 swig_obj
[0] = args
;
28127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28131 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28132 result
= (int) ((arg1
)->m_image
);
28133 resultobj
= SWIG_From_int(static_cast< int >(result
));
28140 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28141 PyObject
*resultobj
= 0;
28142 wxListItem
*arg1
= (wxListItem
*) 0 ;
28148 PyObject
*swig_obj
[2] ;
28150 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28152 if (!SWIG_IsOK(res1
)) {
28153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28155 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28156 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28157 if (!SWIG_IsOK(ecode2
)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28160 arg2
= static_cast< long >(val2
);
28161 if (arg1
) (arg1
)->m_data
= arg2
;
28163 resultobj
= SWIG_Py_Void();
28170 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxListItem
*arg1
= (wxListItem
*) 0 ;
28176 PyObject
*swig_obj
[1] ;
28178 if (!args
) SWIG_fail
;
28179 swig_obj
[0] = args
;
28180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28184 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28185 result
= (long) ((arg1
)->m_data
);
28186 resultobj
= SWIG_From_long(static_cast< long >(result
));
28193 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28194 PyObject
*resultobj
= 0;
28195 wxListItem
*arg1
= (wxListItem
*) 0 ;
28201 PyObject
*swig_obj
[2] ;
28203 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28205 if (!SWIG_IsOK(res1
)) {
28206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28209 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28210 if (!SWIG_IsOK(ecode2
)) {
28211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28213 arg2
= static_cast< int >(val2
);
28214 if (arg1
) (arg1
)->m_format
= arg2
;
28216 resultobj
= SWIG_Py_Void();
28223 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxListItem
*arg1
= (wxListItem
*) 0 ;
28229 PyObject
*swig_obj
[1] ;
28231 if (!args
) SWIG_fail
;
28232 swig_obj
[0] = args
;
28233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28237 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28238 result
= (int) ((arg1
)->m_format
);
28239 resultobj
= SWIG_From_int(static_cast< int >(result
));
28246 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28247 PyObject
*resultobj
= 0;
28248 wxListItem
*arg1
= (wxListItem
*) 0 ;
28254 PyObject
*swig_obj
[2] ;
28256 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28258 if (!SWIG_IsOK(res1
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28261 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28262 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28263 if (!SWIG_IsOK(ecode2
)) {
28264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28266 arg2
= static_cast< int >(val2
);
28267 if (arg1
) (arg1
)->m_width
= arg2
;
28269 resultobj
= SWIG_Py_Void();
28276 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28277 PyObject
*resultobj
= 0;
28278 wxListItem
*arg1
= (wxListItem
*) 0 ;
28282 PyObject
*swig_obj
[1] ;
28284 if (!args
) SWIG_fail
;
28285 swig_obj
[0] = args
;
28286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28290 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28291 result
= (int) ((arg1
)->m_width
);
28292 resultobj
= SWIG_From_int(static_cast< int >(result
));
28299 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28302 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28303 return SWIG_Py_Void();
28306 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 return SWIG_Python_InitShadowInstance(args
);
28310 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
= 0;
28312 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28313 int arg2
= (int) 0 ;
28314 wxListEvent
*result
= 0 ;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 char * kwnames
[] = {
28322 (char *) "commandType",(char *) "id", NULL
28325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28328 if (!SWIG_IsOK(ecode1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28331 arg1
= static_cast< wxEventType
>(val1
);
28334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28335 if (!SWIG_IsOK(ecode2
)) {
28336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28338 arg2
= static_cast< int >(val2
);
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28353 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28354 PyObject
*resultobj
= 0;
28355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28361 PyObject
*swig_obj
[2] ;
28363 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28368 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28369 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28370 if (!SWIG_IsOK(ecode2
)) {
28371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28373 arg2
= static_cast< int >(val2
);
28374 if (arg1
) (arg1
)->m_code
= arg2
;
28376 resultobj
= SWIG_Py_Void();
28383 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28384 PyObject
*resultobj
= 0;
28385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28389 PyObject
*swig_obj
[1] ;
28391 if (!args
) SWIG_fail
;
28392 swig_obj
[0] = args
;
28393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28394 if (!SWIG_IsOK(res1
)) {
28395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28397 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28398 result
= (int) ((arg1
)->m_code
);
28399 resultobj
= SWIG_From_int(static_cast< int >(result
));
28406 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28407 PyObject
*resultobj
= 0;
28408 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28414 PyObject
*swig_obj
[2] ;
28416 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
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_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28421 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28422 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28423 if (!SWIG_IsOK(ecode2
)) {
28424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28426 arg2
= static_cast< long >(val2
);
28427 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28429 resultobj
= SWIG_Py_Void();
28436 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28437 PyObject
*resultobj
= 0;
28438 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28442 PyObject
*swig_obj
[1] ;
28444 if (!args
) SWIG_fail
;
28445 swig_obj
[0] = args
;
28446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28447 if (!SWIG_IsOK(res1
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28450 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28451 result
= (long) ((arg1
)->m_oldItemIndex
);
28452 resultobj
= SWIG_From_long(static_cast< long >(result
));
28459 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28460 PyObject
*resultobj
= 0;
28461 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28467 PyObject
*swig_obj
[2] ;
28469 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28471 if (!SWIG_IsOK(res1
)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28474 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28475 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28476 if (!SWIG_IsOK(ecode2
)) {
28477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28479 arg2
= static_cast< long >(val2
);
28480 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28482 resultobj
= SWIG_Py_Void();
28489 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 PyObject
*resultobj
= 0;
28491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28495 PyObject
*swig_obj
[1] ;
28497 if (!args
) SWIG_fail
;
28498 swig_obj
[0] = args
;
28499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28500 if (!SWIG_IsOK(res1
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28503 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28504 result
= (long) ((arg1
)->m_itemIndex
);
28505 resultobj
= SWIG_From_long(static_cast< long >(result
));
28512 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28513 PyObject
*resultobj
= 0;
28514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28520 PyObject
*swig_obj
[2] ;
28522 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28524 if (!SWIG_IsOK(res1
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28527 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28528 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28529 if (!SWIG_IsOK(ecode2
)) {
28530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28532 arg2
= static_cast< int >(val2
);
28533 if (arg1
) (arg1
)->m_col
= arg2
;
28535 resultobj
= SWIG_Py_Void();
28542 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28543 PyObject
*resultobj
= 0;
28544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28548 PyObject
*swig_obj
[1] ;
28550 if (!args
) SWIG_fail
;
28551 swig_obj
[0] = args
;
28552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28556 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28557 result
= (int) ((arg1
)->m_col
);
28558 resultobj
= SWIG_From_int(static_cast< int >(result
));
28565 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28566 PyObject
*resultobj
= 0;
28567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28568 wxPoint
*arg2
= (wxPoint
*) 0 ;
28573 PyObject
*swig_obj
[2] ;
28575 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28577 if (!SWIG_IsOK(res1
)) {
28578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28580 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28581 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28582 if (!SWIG_IsOK(res2
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28585 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28586 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28588 resultobj
= SWIG_Py_Void();
28595 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28596 PyObject
*resultobj
= 0;
28597 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28598 wxPoint
*result
= 0 ;
28601 PyObject
*swig_obj
[1] ;
28603 if (!args
) SWIG_fail
;
28604 swig_obj
[0] = args
;
28605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28606 if (!SWIG_IsOK(res1
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28609 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28610 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28618 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 PyObject
*resultobj
= 0;
28620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28621 wxListItem
*result
= 0 ;
28624 PyObject
*swig_obj
[1] ;
28626 if (!args
) SWIG_fail
;
28627 swig_obj
[0] = args
;
28628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28632 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28633 result
= (wxListItem
*)& ((arg1
)->m_item
);
28635 resultobj
= wxPyMake_wxObject(result
, 0);
28643 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28644 PyObject
*resultobj
= 0;
28645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28649 PyObject
*swig_obj
[1] ;
28651 if (!args
) SWIG_fail
;
28652 swig_obj
[0] = args
;
28653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28654 if (!SWIG_IsOK(res1
)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28657 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 result
= (int)(arg1
)->GetKeyCode();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_From_int(static_cast< int >(result
));
28671 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28672 PyObject
*resultobj
= 0;
28673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28677 PyObject
*swig_obj
[1] ;
28679 if (!args
) SWIG_fail
;
28680 swig_obj
[0] = args
;
28681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28682 if (!SWIG_IsOK(res1
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28685 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 result
= (long)(arg1
)->GetIndex();
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= SWIG_From_long(static_cast< long >(result
));
28699 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28700 PyObject
*resultobj
= 0;
28701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28705 PyObject
*swig_obj
[1] ;
28707 if (!args
) SWIG_fail
;
28708 swig_obj
[0] = args
;
28709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28710 if (!SWIG_IsOK(res1
)) {
28711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28713 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= (int)(arg1
)->GetColumn();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_From_int(static_cast< int >(result
));
28727 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28728 PyObject
*resultobj
= 0;
28729 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28733 PyObject
*swig_obj
[1] ;
28735 if (!args
) SWIG_fail
;
28736 swig_obj
[0] = args
;
28737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28738 if (!SWIG_IsOK(res1
)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28741 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= (arg1
)->GetPoint();
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28755 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28756 PyObject
*resultobj
= 0;
28757 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28758 wxString
*result
= 0 ;
28761 PyObject
*swig_obj
[1] ;
28763 if (!args
) SWIG_fail
;
28764 swig_obj
[0] = args
;
28765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28766 if (!SWIG_IsOK(res1
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28769 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 wxString
const &_result_ref
= (arg1
)->GetLabel();
28774 result
= (wxString
*) &_result_ref
;
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28783 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28792 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28793 PyObject
*resultobj
= 0;
28794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28795 wxString
*result
= 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28806 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 wxString
const &_result_ref
= (arg1
)->GetText();
28811 result
= (wxString
*) &_result_ref
;
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28829 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28830 PyObject
*resultobj
= 0;
28831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28835 PyObject
*swig_obj
[1] ;
28837 if (!args
) SWIG_fail
;
28838 swig_obj
[0] = args
;
28839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28840 if (!SWIG_IsOK(res1
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28843 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (int)(arg1
)->GetImage();
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= SWIG_From_int(static_cast< int >(result
));
28857 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28858 PyObject
*resultobj
= 0;
28859 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28863 PyObject
*swig_obj
[1] ;
28865 if (!args
) SWIG_fail
;
28866 swig_obj
[0] = args
;
28867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28871 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (long)(arg1
)->GetData();
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= SWIG_From_long(static_cast< long >(result
));
28885 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28886 PyObject
*resultobj
= 0;
28887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28891 PyObject
*swig_obj
[1] ;
28893 if (!args
) SWIG_fail
;
28894 swig_obj
[0] = args
;
28895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28896 if (!SWIG_IsOK(res1
)) {
28897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28899 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= (long)(arg1
)->GetMask();
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_From_long(static_cast< long >(result
));
28913 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28914 PyObject
*resultobj
= 0;
28915 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28916 wxListItem
*result
= 0 ;
28919 PyObject
*swig_obj
[1] ;
28921 if (!args
) SWIG_fail
;
28922 swig_obj
[0] = args
;
28923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28924 if (!SWIG_IsOK(res1
)) {
28925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28927 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28932 result
= (wxListItem
*) &_result_ref
;
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28944 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28945 PyObject
*resultobj
= 0;
28946 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28950 PyObject
*swig_obj
[1] ;
28952 if (!args
) SWIG_fail
;
28953 swig_obj
[0] = args
;
28954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28958 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (long)(arg1
)->GetCacheFrom();
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= SWIG_From_long(static_cast< long >(result
));
28972 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28973 PyObject
*resultobj
= 0;
28974 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28978 PyObject
*swig_obj
[1] ;
28980 if (!args
) SWIG_fail
;
28981 swig_obj
[0] = args
;
28982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28983 if (!SWIG_IsOK(res1
)) {
28984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28986 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (long)(arg1
)->GetCacheTo();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= SWIG_From_long(static_cast< long >(result
));
29000 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29001 PyObject
*resultobj
= 0;
29002 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29006 PyObject
*swig_obj
[1] ;
29008 if (!args
) SWIG_fail
;
29009 swig_obj
[0] = args
;
29010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29014 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29030 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
= 0;
29032 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 char * kwnames
[] = {
29041 (char *) "self",(char *) "editCancelled", NULL
29044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29046 if (!SWIG_IsOK(res1
)) {
29047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29049 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29050 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29051 if (!SWIG_IsOK(ecode2
)) {
29052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29054 arg2
= static_cast< bool >(val2
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->SetEditCanceled(arg2
);
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_Py_Void();
29068 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29071 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29072 return SWIG_Py_Void();
29075 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29076 return SWIG_Python_InitShadowInstance(args
);
29079 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxWindow
*arg1
= (wxWindow
*) 0 ;
29082 int arg2
= (int) -1 ;
29083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29087 long arg5
= (long) wxLC_ICON
;
29088 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29089 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29090 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29092 wxPyListCtrl
*result
= 0 ;
29103 bool temp7
= false ;
29104 PyObject
* obj0
= 0 ;
29105 PyObject
* obj1
= 0 ;
29106 PyObject
* obj2
= 0 ;
29107 PyObject
* obj3
= 0 ;
29108 PyObject
* obj4
= 0 ;
29109 PyObject
* obj5
= 0 ;
29110 PyObject
* obj6
= 0 ;
29111 char * kwnames
[] = {
29112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29117 if (!SWIG_IsOK(res1
)) {
29118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29120 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29123 if (!SWIG_IsOK(ecode2
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29126 arg2
= static_cast< int >(val2
);
29131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29137 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29141 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29142 if (!SWIG_IsOK(ecode5
)) {
29143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29145 arg5
= static_cast< long >(val5
);
29148 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29149 if (!SWIG_IsOK(res6
)) {
29150 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29155 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29159 arg7
= wxString_in_helper(obj6
);
29160 if (arg7
== NULL
) SWIG_fail
;
29165 if (!wxPyCheckForApp()) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29186 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29187 PyObject
*resultobj
= 0;
29188 wxPyListCtrl
*result
= 0 ;
29190 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29192 if (!wxPyCheckForApp()) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29205 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
= 0;
29207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29208 wxWindow
*arg2
= (wxWindow
*) 0 ;
29209 int arg3
= (int) -1 ;
29210 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29211 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29212 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29213 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29214 long arg6
= (long) wxLC_ICON
;
29215 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29216 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29217 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29218 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29232 bool temp8
= false ;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 PyObject
* obj2
= 0 ;
29236 PyObject
* obj3
= 0 ;
29237 PyObject
* obj4
= 0 ;
29238 PyObject
* obj5
= 0 ;
29239 PyObject
* obj6
= 0 ;
29240 PyObject
* obj7
= 0 ;
29241 char * kwnames
[] = {
29242 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29250 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29252 if (!SWIG_IsOK(res2
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29255 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29258 if (!SWIG_IsOK(ecode3
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29261 arg3
= static_cast< int >(val3
);
29266 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29272 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29276 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29277 if (!SWIG_IsOK(ecode6
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29280 arg6
= static_cast< long >(val6
);
29283 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29284 if (!SWIG_IsOK(res7
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29290 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29294 arg8
= wxString_in_helper(obj7
);
29295 if (arg8
== NULL
) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29322 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
= 0;
29324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29325 PyObject
*arg2
= (PyObject
*) 0 ;
29326 PyObject
*arg3
= (PyObject
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 char * kwnames
[] = {
29333 (char *) "self",(char *) "self",(char *) "_class", NULL
29336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_Py_Void();
29357 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
= 0;
29359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29361 wxListItem
*result
= 0 ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 char * kwnames
[] = {
29369 (char *) "self",(char *) "col", NULL
29372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29377 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29379 if (!SWIG_IsOK(ecode2
)) {
29380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29382 arg2
= static_cast< int >(val2
);
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= wxPyMake_wxObject(result
, 0);
29398 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
= 0;
29400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29402 wxListItem
*arg3
= 0 ;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 PyObject
* obj2
= 0 ;
29413 char * kwnames
[] = {
29414 (char *) "self",(char *) "col",(char *) "item", NULL
29417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29419 if (!SWIG_IsOK(res1
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29424 if (!SWIG_IsOK(ecode2
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29427 arg2
= static_cast< int >(val2
);
29428 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29429 if (!SWIG_IsOK(res3
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29435 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
= 0;
29453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 char * kwnames
[] = {
29463 (char *) "self",(char *) "col", NULL
29466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29468 if (!SWIG_IsOK(res1
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29471 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29473 if (!SWIG_IsOK(ecode2
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29476 arg2
= static_cast< int >(val2
);
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= SWIG_From_int(static_cast< int >(result
));
29490 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29491 PyObject
*resultobj
= 0;
29492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29502 PyObject
* obj0
= 0 ;
29503 PyObject
* obj1
= 0 ;
29504 PyObject
* obj2
= 0 ;
29505 char * kwnames
[] = {
29506 (char *) "self",(char *) "col",(char *) "width", NULL
29509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29511 if (!SWIG_IsOK(res1
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29514 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29516 if (!SWIG_IsOK(ecode2
)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29519 arg2
= static_cast< int >(val2
);
29520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29521 if (!SWIG_IsOK(ecode3
)) {
29522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29524 arg3
= static_cast< int >(val3
);
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29540 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29541 PyObject
*resultobj
= 0;
29542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29546 PyObject
*swig_obj
[1] ;
29548 if (!args
) SWIG_fail
;
29549 swig_obj
[0] = args
;
29550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29554 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= SWIG_From_int(static_cast< int >(result
));
29568 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29569 PyObject
*resultobj
= 0;
29570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29574 PyObject
*swig_obj
[1] ;
29576 if (!args
) SWIG_fail
;
29577 swig_obj
[0] = args
;
29578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29582 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29596 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29597 PyObject
*resultobj
= 0;
29598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29599 wxTextCtrl
*result
= 0 ;
29602 PyObject
*swig_obj
[1] ;
29604 if (!args
) SWIG_fail
;
29605 swig_obj
[0] = args
;
29606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29607 if (!SWIG_IsOK(res1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29610 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= wxPyMake_wxObject(result
, 0);
29626 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= 0;
29628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29630 int arg3
= (int) 0 ;
29631 wxListItem
*result
= 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 char * kwnames
[] = {
29642 (char *) "self",(char *) "itemId",(char *) "col", NULL
29645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29647 if (!SWIG_IsOK(res1
)) {
29648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29650 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29651 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29652 if (!SWIG_IsOK(ecode2
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29655 arg2
= static_cast< long >(val2
);
29657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29658 if (!SWIG_IsOK(ecode3
)) {
29659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29661 arg3
= static_cast< int >(val3
);
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= wxPyMake_wxObject(result
, 0);
29678 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
= 0;
29680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29681 wxListItem
*arg2
= 0 ;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 char * kwnames
[] = {
29690 (char *) "self",(char *) "info", NULL
29693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29695 if (!SWIG_IsOK(res1
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29698 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29700 if (!SWIG_IsOK(res2
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29706 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (bool)(arg1
)->SetItem(*arg2
);
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29722 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
= 0;
29724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29727 wxString
*arg4
= 0 ;
29728 int arg5
= (int) -1 ;
29736 bool temp4
= false ;
29739 PyObject
* obj0
= 0 ;
29740 PyObject
* obj1
= 0 ;
29741 PyObject
* obj2
= 0 ;
29742 PyObject
* obj3
= 0 ;
29743 PyObject
* obj4
= 0 ;
29744 char * kwnames
[] = {
29745 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29750 if (!SWIG_IsOK(res1
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29753 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29754 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29755 if (!SWIG_IsOK(ecode2
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29758 arg2
= static_cast< long >(val2
);
29759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29760 if (!SWIG_IsOK(ecode3
)) {
29761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29763 arg3
= static_cast< int >(val3
);
29765 arg4
= wxString_in_helper(obj3
);
29766 if (arg4
== NULL
) SWIG_fail
;
29770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29771 if (!SWIG_IsOK(ecode5
)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29774 arg5
= static_cast< int >(val5
);
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= SWIG_From_long(static_cast< long >(result
));
29797 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
= 0;
29799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 PyObject
* obj2
= 0 ;
29812 char * kwnames
[] = {
29813 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29818 if (!SWIG_IsOK(res1
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29821 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29822 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29823 if (!SWIG_IsOK(ecode2
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29826 arg2
= static_cast< long >(val2
);
29827 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29828 if (!SWIG_IsOK(ecode3
)) {
29829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29831 arg3
= static_cast< long >(val3
);
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= SWIG_From_int(static_cast< int >(result
));
29845 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
= 0;
29847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 char * kwnames
[] = {
29865 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29875 if (!SWIG_IsOK(ecode2
)) {
29876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29878 arg2
= static_cast< long >(val2
);
29879 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29880 if (!SWIG_IsOK(ecode3
)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29883 arg3
= static_cast< long >(val3
);
29884 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29885 if (!SWIG_IsOK(ecode4
)) {
29886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29888 arg4
= static_cast< long >(val4
);
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29891 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29904 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= 0;
29906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29909 int arg4
= (int) -1 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 PyObject
* obj2
= 0 ;
29922 PyObject
* obj3
= 0 ;
29923 char * kwnames
[] = {
29924 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29934 if (!SWIG_IsOK(ecode2
)) {
29935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29937 arg2
= static_cast< long >(val2
);
29938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29939 if (!SWIG_IsOK(ecode3
)) {
29940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29942 arg3
= static_cast< int >(val3
);
29944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29945 if (!SWIG_IsOK(ecode4
)) {
29946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29948 arg4
= static_cast< int >(val4
);
29951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29952 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29965 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
= 0;
29967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29980 PyObject
* obj0
= 0 ;
29981 PyObject
* obj1
= 0 ;
29982 PyObject
* obj2
= 0 ;
29983 PyObject
* obj3
= 0 ;
29984 char * kwnames
[] = {
29985 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29994 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29995 if (!SWIG_IsOK(ecode2
)) {
29996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29998 arg2
= static_cast< long >(val2
);
29999 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30000 if (!SWIG_IsOK(ecode3
)) {
30001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30003 arg3
= static_cast< long >(val3
);
30004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30005 if (!SWIG_IsOK(ecode4
)) {
30006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30008 arg4
= static_cast< int >(val4
);
30010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30011 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30024 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
= 0;
30026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char * kwnames
[] = {
30036 (char *) "self",(char *) "item", NULL
30039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30044 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30045 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30046 if (!SWIG_IsOK(ecode2
)) {
30047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30049 arg2
= static_cast< long >(val2
);
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30069 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
= 0;
30071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30073 wxString
*arg3
= 0 ;
30078 bool temp3
= false ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 PyObject
* obj2
= 0 ;
30082 char * kwnames
[] = {
30083 (char *) "self",(char *) "item",(char *) "str", NULL
30086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30091 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30092 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30093 if (!SWIG_IsOK(ecode2
)) {
30094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30096 arg2
= static_cast< long >(val2
);
30098 arg3
= wxString_in_helper(obj2
);
30099 if (arg3
== NULL
) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_Py_Void();
30123 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
= 0;
30125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30132 PyObject
* obj0
= 0 ;
30133 PyObject
* obj1
= 0 ;
30134 char * kwnames
[] = {
30135 (char *) "self",(char *) "item", NULL
30138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30140 if (!SWIG_IsOK(res1
)) {
30141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30143 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30145 if (!SWIG_IsOK(ecode2
)) {
30146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30148 arg2
= static_cast< long >(val2
);
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30151 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= SWIG_From_long(static_cast< long >(result
));
30162 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
= 0;
30164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 PyObject
* obj2
= 0 ;
30177 char * kwnames
[] = {
30178 (char *) "self",(char *) "item",(char *) "data", NULL
30181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30187 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30188 if (!SWIG_IsOK(ecode2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30191 arg2
= static_cast< long >(val2
);
30192 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30193 if (!SWIG_IsOK(ecode3
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30196 arg3
= static_cast< long >(val3
);
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30212 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
= 0;
30214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30221 PyObject
* obj0
= 0 ;
30222 PyObject
* obj1
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "self",(char *) "item", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30233 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30234 if (!SWIG_IsOK(ecode2
)) {
30235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30237 arg2
= static_cast< long >(val2
);
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30251 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
= 0;
30253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30255 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 PyObject
* obj2
= 0 ;
30266 char * kwnames
[] = {
30267 (char *) "self",(char *) "item",(char *) "code", NULL
30270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30275 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30277 if (!SWIG_IsOK(ecode2
)) {
30278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30280 arg2
= static_cast< long >(val2
);
30282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30283 if (!SWIG_IsOK(ecode3
)) {
30284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30286 arg3
= static_cast< int >(val3
);
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30301 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
= 0;
30303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30305 wxPoint
*arg3
= 0 ;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 PyObject
* obj2
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "self",(char *) "item",(char *) "pos", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30324 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30325 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30326 if (!SWIG_IsOK(ecode2
)) {
30327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30329 arg2
= static_cast< long >(val2
);
30332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30349 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30350 PyObject
*resultobj
= 0;
30351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30355 PyObject
*swig_obj
[1] ;
30357 if (!args
) SWIG_fail
;
30358 swig_obj
[0] = args
;
30359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30363 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_From_int(static_cast< int >(result
));
30377 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30378 PyObject
*resultobj
= 0;
30379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30383 PyObject
*swig_obj
[1] ;
30385 if (!args
) SWIG_fail
;
30386 swig_obj
[0] = args
;
30387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30388 if (!SWIG_IsOK(res1
)) {
30389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_From_int(static_cast< int >(result
));
30405 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30406 PyObject
*resultobj
= 0;
30407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30411 PyObject
*swig_obj
[1] ;
30413 if (!args
) SWIG_fail
;
30414 swig_obj
[0] = args
;
30415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30416 if (!SWIG_IsOK(res1
)) {
30417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30419 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30433 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
= 0;
30435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30437 bool arg3
= (bool) false ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 PyObject
* obj2
= 0 ;
30447 char * kwnames
[] = {
30448 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30453 if (!SWIG_IsOK(res1
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30456 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30458 if (!SWIG_IsOK(ecode2
)) {
30459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30461 arg2
= static_cast< int >(val2
);
30463 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30464 if (!SWIG_IsOK(ecode3
)) {
30465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30467 arg3
= static_cast< bool >(val3
);
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 (arg1
)->SetItemSpacing(arg2
,arg3
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= SWIG_Py_Void();
30482 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30483 PyObject
*resultobj
= 0;
30484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30488 PyObject
*swig_obj
[1] ;
30490 if (!args
) SWIG_fail
;
30491 swig_obj
[0] = args
;
30492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30496 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_From_int(static_cast< int >(result
));
30510 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30511 PyObject
*resultobj
= 0;
30512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30516 PyObject
*swig_obj
[1] ;
30518 if (!args
) SWIG_fail
;
30519 swig_obj
[0] = args
;
30520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30521 if (!SWIG_IsOK(res1
)) {
30522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30524 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30538 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
= 0;
30540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30541 wxColour
*arg2
= 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 char * kwnames
[] = {
30548 (char *) "self",(char *) "col", NULL
30551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30553 if (!SWIG_IsOK(res1
)) {
30554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30556 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= SWIG_Py_Void();
30574 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30575 PyObject
*resultobj
= 0;
30576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30580 PyObject
*swig_obj
[1] ;
30582 if (!args
) SWIG_fail
;
30583 swig_obj
[0] = args
;
30584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30585 if (!SWIG_IsOK(res1
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30588 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= SWIG_From_long(static_cast< long >(result
));
30602 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
= 0;
30604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30606 bool arg3
= (bool) true ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 PyObject
* obj2
= 0 ;
30616 char * kwnames
[] = {
30617 (char *) "self",(char *) "style",(char *) "add", NULL
30620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30626 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30627 if (!SWIG_IsOK(ecode2
)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30630 arg2
= static_cast< long >(val2
);
30632 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30633 if (!SWIG_IsOK(ecode3
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30636 arg3
= static_cast< bool >(val3
);
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 (arg1
)->SetSingleStyle(arg2
,arg3
);
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= SWIG_Py_Void();
30651 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
= 0;
30653 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30655 int arg3
= (int) wxLIST_NEXT_ALL
;
30656 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 PyObject
* obj2
= 0 ;
30669 PyObject
* obj3
= 0 ;
30670 char * kwnames
[] = {
30671 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30676 if (!SWIG_IsOK(res1
)) {
30677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30679 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30680 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30681 if (!SWIG_IsOK(ecode2
)) {
30682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30684 arg2
= static_cast< long >(val2
);
30686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30687 if (!SWIG_IsOK(ecode3
)) {
30688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30690 arg3
= static_cast< int >(val3
);
30693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30694 if (!SWIG_IsOK(ecode4
)) {
30695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30697 arg4
= static_cast< int >(val4
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= SWIG_From_long(static_cast< long >(result
));
30712 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30713 PyObject
*resultobj
= 0;
30714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30716 wxImageList
*result
= 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char * kwnames
[] = {
30724 (char *) "self",(char *) "which", NULL
30727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30729 if (!SWIG_IsOK(res1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30732 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30734 if (!SWIG_IsOK(ecode2
)) {
30735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30737 arg2
= static_cast< int >(val2
);
30739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30740 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30753 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
= 0;
30755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30756 wxImageList
*arg2
= (wxImageList
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 PyObject
* obj2
= 0 ;
30767 char * kwnames
[] = {
30768 (char *) "self",(char *) "imageList",(char *) "which", NULL
30771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30773 if (!SWIG_IsOK(res1
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30776 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30778 if (!SWIG_IsOK(res2
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30781 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30783 if (!SWIG_IsOK(ecode3
)) {
30784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30786 arg3
= static_cast< int >(val3
);
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 (arg1
)->SetImageList(arg2
,arg3
);
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= SWIG_Py_Void();
30800 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
= 0;
30802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30803 wxImageList
*arg2
= (wxImageList
*) 0 ;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 PyObject
* obj2
= 0 ;
30813 char * kwnames
[] = {
30814 (char *) "self",(char *) "imageList",(char *) "which", NULL
30817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30822 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30823 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30824 if (!SWIG_IsOK(res2
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30828 if (!SWIG_IsOK(ecode3
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30831 arg3
= static_cast< int >(val3
);
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 (arg1
)->AssignImageList(arg2
,arg3
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= SWIG_Py_Void();
30845 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30846 PyObject
*resultobj
= 0;
30847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30851 PyObject
*swig_obj
[1] ;
30853 if (!args
) SWIG_fail
;
30854 swig_obj
[0] = args
;
30855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30875 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30876 PyObject
*resultobj
= 0;
30877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30881 PyObject
*swig_obj
[1] ;
30883 if (!args
) SWIG_fail
;
30884 swig_obj
[0] = args
;
30885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30886 if (!SWIG_IsOK(res1
)) {
30887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30889 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30905 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
= 0;
30907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 PyObject
* obj1
= 0 ;
30915 char * kwnames
[] = {
30916 (char *) "self",(char *) "item", NULL
30919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30921 if (!SWIG_IsOK(res1
)) {
30922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30924 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30926 if (!SWIG_IsOK(ecode2
)) {
30927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30929 arg2
= static_cast< long >(val2
);
30931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 (arg1
)->RefreshItem(arg2
);
30933 wxPyEndAllowThreads(__tstate
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= SWIG_Py_Void();
30943 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
= 0;
30945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30954 PyObject
* obj0
= 0 ;
30955 PyObject
* obj1
= 0 ;
30956 PyObject
* obj2
= 0 ;
30957 char * kwnames
[] = {
30958 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30963 if (!SWIG_IsOK(res1
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30966 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30968 if (!SWIG_IsOK(ecode2
)) {
30969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30971 arg2
= static_cast< long >(val2
);
30972 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30973 if (!SWIG_IsOK(ecode3
)) {
30974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30976 arg3
= static_cast< long >(val3
);
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 (arg1
)->RefreshItems(arg2
,arg3
);
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 resultobj
= SWIG_Py_Void();
30990 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
= 0;
30992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30993 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char * kwnames
[] = {
31002 (char *) "self",(char *) "flag", NULL
31005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31013 if (!SWIG_IsOK(ecode2
)) {
31014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31016 arg2
= static_cast< int >(val2
);
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 result
= (bool)(arg1
)->Arrange(arg2
);
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31033 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "item", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31055 if (!SWIG_IsOK(ecode2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31058 arg2
= static_cast< long >(val2
);
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 result
= (bool)(arg1
)->DeleteItem(arg2
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31074 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31075 PyObject
*resultobj
= 0;
31076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31080 PyObject
*swig_obj
[1] ;
31082 if (!args
) SWIG_fail
;
31083 swig_obj
[0] = args
;
31084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31085 if (!SWIG_IsOK(res1
)) {
31086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31088 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 result
= (bool)(arg1
)->DeleteAllItems();
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31104 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
= 0;
31106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 char * kwnames
[] = {
31116 (char *) "self",(char *) "col", NULL
31119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31124 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31126 if (!SWIG_IsOK(ecode2
)) {
31127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31129 arg2
= static_cast< int >(val2
);
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31145 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31146 PyObject
*resultobj
= 0;
31147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31151 PyObject
*swig_obj
[1] ;
31153 if (!args
) SWIG_fail
;
31154 swig_obj
[0] = args
;
31155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31156 if (!SWIG_IsOK(res1
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31159 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31162 result
= (bool)(arg1
)->DeleteAllColumns();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31175 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31176 PyObject
*resultobj
= 0;
31177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31180 PyObject
*swig_obj
[1] ;
31182 if (!args
) SWIG_fail
;
31183 swig_obj
[0] = args
;
31184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31185 if (!SWIG_IsOK(res1
)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31188 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->ClearAll();
31192 wxPyEndAllowThreads(__tstate
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31195 resultobj
= SWIG_Py_Void();
31202 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
= 0;
31204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 char * kwnames
[] = {
31213 (char *) "self",(char *) "item", NULL
31216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31218 if (!SWIG_IsOK(res1
)) {
31219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31221 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31222 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31223 if (!SWIG_IsOK(ecode2
)) {
31224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31226 arg2
= static_cast< long >(val2
);
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 (arg1
)->EditLabel(arg2
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= SWIG_Py_Void();
31240 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
= 0;
31242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 char * kwnames
[] = {
31252 (char *) "self",(char *) "item", NULL
31255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31257 if (!SWIG_IsOK(res1
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31260 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31262 if (!SWIG_IsOK(ecode2
)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31265 arg2
= static_cast< long >(val2
);
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31281 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
= 0;
31283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31285 wxString
*arg3
= 0 ;
31286 bool arg4
= (bool) false ;
31292 bool temp3
= false ;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 PyObject
* obj2
= 0 ;
31298 PyObject
* obj3
= 0 ;
31299 char * kwnames
[] = {
31300 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31305 if (!SWIG_IsOK(res1
)) {
31306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31308 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31309 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31310 if (!SWIG_IsOK(ecode2
)) {
31311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31313 arg2
= static_cast< long >(val2
);
31315 arg3
= wxString_in_helper(obj2
);
31316 if (arg3
== NULL
) SWIG_fail
;
31320 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31321 if (!SWIG_IsOK(ecode4
)) {
31322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31324 arg4
= static_cast< bool >(val4
);
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31332 resultobj
= SWIG_From_long(static_cast< long >(result
));
31347 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
= 0;
31349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 PyObject
* obj2
= 0 ;
31362 char * kwnames
[] = {
31363 (char *) "self",(char *) "start",(char *) "data", NULL
31366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31368 if (!SWIG_IsOK(res1
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31371 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31372 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31373 if (!SWIG_IsOK(ecode2
)) {
31374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31376 arg2
= static_cast< long >(val2
);
31377 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31378 if (!SWIG_IsOK(ecode3
)) {
31379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31381 arg3
= static_cast< long >(val3
);
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= SWIG_From_long(static_cast< long >(result
));
31395 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31396 PyObject
*resultobj
= 0;
31397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31399 wxPoint
*arg3
= 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 PyObject
* obj2
= 0 ;
31412 PyObject
* obj3
= 0 ;
31413 char * kwnames
[] = {
31414 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31423 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31424 if (!SWIG_IsOK(ecode2
)) {
31425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31427 arg2
= static_cast< long >(val2
);
31430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31433 if (!SWIG_IsOK(ecode4
)) {
31434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31436 arg4
= static_cast< int >(val4
);
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 resultobj
= SWIG_From_long(static_cast< long >(result
));
31450 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
= 0;
31452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31453 wxPoint
*arg2
= 0 ;
31460 int res3
= SWIG_TMPOBJ
;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 char * kwnames
[] = {
31464 (char *) "self",(char *) "point", NULL
31468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31470 if (!SWIG_IsOK(res1
)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31473 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 resultobj
= SWIG_From_long(static_cast< long >(result
));
31485 if (SWIG_IsTmpObj(res3
)) {
31486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31488 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31497 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
= 0;
31499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31500 wxPoint
*arg2
= 0 ;
31502 long *arg4
= (long *) 0 ;
31508 int res3
= SWIG_TMPOBJ
;
31510 int res4
= SWIG_TMPOBJ
;
31511 PyObject
* obj0
= 0 ;
31512 PyObject
* obj1
= 0 ;
31513 char * kwnames
[] = {
31514 (char *) "self",(char *) "point", NULL
31519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31521 if (!SWIG_IsOK(res1
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31524 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= SWIG_From_long(static_cast< long >(result
));
31536 if (SWIG_IsTmpObj(res3
)) {
31537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31539 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31542 if (SWIG_IsTmpObj(res4
)) {
31543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31545 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31554 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
= 0;
31556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31557 wxListItem
*arg2
= 0 ;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 char * kwnames
[] = {
31566 (char *) "self",(char *) "info", NULL
31569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31571 if (!SWIG_IsOK(res1
)) {
31572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31574 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31576 if (!SWIG_IsOK(res2
)) {
31577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31582 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (long)(arg1
)->InsertItem(*arg2
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_From_long(static_cast< long >(result
));
31596 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
= 0;
31598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31600 wxString
*arg3
= 0 ;
31601 int arg4
= (int) -1 ;
31607 bool temp3
= false ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 PyObject
* obj2
= 0 ;
31613 PyObject
* obj3
= 0 ;
31614 char * kwnames
[] = {
31615 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31620 if (!SWIG_IsOK(res1
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31625 if (!SWIG_IsOK(ecode2
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31628 arg2
= static_cast< long >(val2
);
31630 arg3
= wxString_in_helper(obj2
);
31631 if (arg3
== NULL
) SWIG_fail
;
31635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31636 if (!SWIG_IsOK(ecode4
)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31639 arg4
= static_cast< int >(val4
);
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31647 resultobj
= SWIG_From_long(static_cast< long >(result
));
31662 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
= 0;
31664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 PyObject
* obj2
= 0 ;
31677 char * kwnames
[] = {
31678 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31683 if (!SWIG_IsOK(res1
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31686 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31687 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31688 if (!SWIG_IsOK(ecode2
)) {
31689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31691 arg2
= static_cast< long >(val2
);
31692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31693 if (!SWIG_IsOK(ecode3
)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31696 arg3
= static_cast< int >(val3
);
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31700 wxPyEndAllowThreads(__tstate
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= SWIG_From_long(static_cast< long >(result
));
31710 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31711 PyObject
*resultobj
= 0;
31712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31714 wxString
*arg3
= 0 ;
31721 bool temp3
= false ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 PyObject
* obj2
= 0 ;
31727 PyObject
* obj3
= 0 ;
31728 char * kwnames
[] = {
31729 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31734 if (!SWIG_IsOK(res1
)) {
31735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31737 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31738 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31739 if (!SWIG_IsOK(ecode2
)) {
31740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31742 arg2
= static_cast< long >(val2
);
31744 arg3
= wxString_in_helper(obj2
);
31745 if (arg3
== NULL
) SWIG_fail
;
31748 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31749 if (!SWIG_IsOK(ecode4
)) {
31750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31752 arg4
= static_cast< int >(val4
);
31754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31755 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31756 wxPyEndAllowThreads(__tstate
);
31757 if (PyErr_Occurred()) SWIG_fail
;
31759 resultobj
= SWIG_From_long(static_cast< long >(result
));
31774 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
= 0;
31776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31778 wxListItem
*arg3
= 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 PyObject
* obj2
= 0 ;
31789 char * kwnames
[] = {
31790 (char *) "self",(char *) "col",(char *) "info", NULL
31793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31795 if (!SWIG_IsOK(res1
)) {
31796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31798 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31799 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31800 if (!SWIG_IsOK(ecode2
)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31803 arg2
= static_cast< long >(val2
);
31804 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31805 if (!SWIG_IsOK(res3
)) {
31806 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31811 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= SWIG_From_long(static_cast< long >(result
));
31825 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
= 0;
31827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31829 wxString
*arg3
= 0 ;
31830 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31831 int arg5
= (int) -1 ;
31837 bool temp3
= false ;
31842 PyObject
* obj0
= 0 ;
31843 PyObject
* obj1
= 0 ;
31844 PyObject
* obj2
= 0 ;
31845 PyObject
* obj3
= 0 ;
31846 PyObject
* obj4
= 0 ;
31847 char * kwnames
[] = {
31848 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31853 if (!SWIG_IsOK(res1
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31857 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31858 if (!SWIG_IsOK(ecode2
)) {
31859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31861 arg2
= static_cast< long >(val2
);
31863 arg3
= wxString_in_helper(obj2
);
31864 if (arg3
== NULL
) SWIG_fail
;
31868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31869 if (!SWIG_IsOK(ecode4
)) {
31870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31872 arg4
= static_cast< int >(val4
);
31875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31876 if (!SWIG_IsOK(ecode5
)) {
31877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31879 arg5
= static_cast< int >(val5
);
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 resultobj
= SWIG_From_long(static_cast< long >(result
));
31902 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= 0;
31904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 char * kwnames
[] = {
31913 (char *) "self",(char *) "count", NULL
31916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31918 if (!SWIG_IsOK(res1
)) {
31919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31921 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31923 if (!SWIG_IsOK(ecode2
)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31926 arg2
= static_cast< long >(val2
);
31928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31929 (arg1
)->SetItemCount(arg2
);
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31933 resultobj
= SWIG_Py_Void();
31940 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
= 0;
31942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 PyObject
* obj1
= 0 ;
31954 PyObject
* obj2
= 0 ;
31955 char * kwnames
[] = {
31956 (char *) "self",(char *) "dx",(char *) "dy", NULL
31959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31961 if (!SWIG_IsOK(res1
)) {
31962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31966 if (!SWIG_IsOK(ecode2
)) {
31967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31969 arg2
= static_cast< int >(val2
);
31970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31971 if (!SWIG_IsOK(ecode3
)) {
31972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31974 arg3
= static_cast< int >(val3
);
31976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31977 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31990 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
= 0;
31992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31994 wxColour
*arg3
= 0 ;
32000 PyObject
* obj0
= 0 ;
32001 PyObject
* obj1
= 0 ;
32002 PyObject
* obj2
= 0 ;
32003 char * kwnames
[] = {
32004 (char *) "self",(char *) "item",(char *) "col", NULL
32007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32009 if (!SWIG_IsOK(res1
)) {
32010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32012 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32014 if (!SWIG_IsOK(ecode2
)) {
32015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32017 arg2
= static_cast< long >(val2
);
32020 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_Py_Void();
32035 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32044 PyObject
* obj0
= 0 ;
32045 PyObject
* obj1
= 0 ;
32046 char * kwnames
[] = {
32047 (char *) "self",(char *) "item", NULL
32050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32055 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32056 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32057 if (!SWIG_IsOK(ecode2
)) {
32058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32060 arg2
= static_cast< long >(val2
);
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32074 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
= 0;
32076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32078 wxColour
*arg3
= 0 ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 PyObject
* obj2
= 0 ;
32087 char * kwnames
[] = {
32088 (char *) "self",(char *) "item",(char *) "col", NULL
32091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32093 if (!SWIG_IsOK(res1
)) {
32094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32098 if (!SWIG_IsOK(ecode2
)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32101 arg2
= static_cast< long >(val2
);
32104 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 resultobj
= SWIG_Py_Void();
32119 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
= 0;
32121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32128 PyObject
* obj0
= 0 ;
32129 PyObject
* obj1
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "self",(char *) "item", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32136 if (!SWIG_IsOK(res1
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32139 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32140 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32141 if (!SWIG_IsOK(ecode2
)) {
32142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32144 arg2
= static_cast< long >(val2
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32158 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
= 0;
32160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32169 PyObject
* obj0
= 0 ;
32170 PyObject
* obj1
= 0 ;
32171 PyObject
* obj2
= 0 ;
32172 char * kwnames
[] = {
32173 (char *) "self",(char *) "item",(char *) "f", NULL
32176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32178 if (!SWIG_IsOK(res1
)) {
32179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32181 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32182 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32183 if (!SWIG_IsOK(ecode2
)) {
32184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32186 arg2
= static_cast< long >(val2
);
32187 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32188 if (!SWIG_IsOK(res3
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32194 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= SWIG_Py_Void();
32208 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
= 0;
32210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char * kwnames
[] = {
32220 (char *) "self",(char *) "item", NULL
32223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32225 if (!SWIG_IsOK(res1
)) {
32226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32229 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32230 if (!SWIG_IsOK(ecode2
)) {
32231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32233 arg2
= static_cast< long >(val2
);
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32247 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
= 0;
32249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32250 PyObject
*arg2
= (PyObject
*) 0 ;
32254 PyObject
* obj0
= 0 ;
32255 PyObject
* obj1
= 0 ;
32256 char * kwnames
[] = {
32257 (char *) "self",(char *) "func", NULL
32260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32262 if (!SWIG_IsOK(res1
)) {
32263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32270 wxPyEndAllowThreads(__tstate
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32282 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32283 PyObject
*resultobj
= 0;
32284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32285 wxWindow
*result
= 0 ;
32288 PyObject
*swig_obj
[1] ;
32290 if (!args
) SWIG_fail
;
32291 swig_obj
[0] = args
;
32292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32293 if (!SWIG_IsOK(res1
)) {
32294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= wxPyMake_wxObject(result
, 0);
32312 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
= 0;
32314 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32315 SwigValueWrapper
<wxVisualAttributes
> result
;
32318 PyObject
* obj0
= 0 ;
32319 char * kwnames
[] = {
32320 (char *) "variant", NULL
32323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32326 if (!SWIG_IsOK(ecode1
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32329 arg1
= static_cast< wxWindowVariant
>(val1
);
32332 if (!wxPyCheckForApp()) SWIG_fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32345 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32349 return SWIG_Py_Void();
32352 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32353 return SWIG_Python_InitShadowInstance(args
);
32356 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
= 0;
32358 wxWindow
*arg1
= (wxWindow
*) 0 ;
32359 int arg2
= (int) -1 ;
32360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32364 long arg5
= (long) wxLC_REPORT
;
32365 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32366 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32367 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32369 wxListView
*result
= 0 ;
32380 bool temp7
= false ;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 PyObject
* obj2
= 0 ;
32384 PyObject
* obj3
= 0 ;
32385 PyObject
* obj4
= 0 ;
32386 PyObject
* obj5
= 0 ;
32387 PyObject
* obj6
= 0 ;
32388 char * kwnames
[] = {
32389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32394 if (!SWIG_IsOK(res1
)) {
32395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32400 if (!SWIG_IsOK(ecode2
)) {
32401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32403 arg2
= static_cast< int >(val2
);
32408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32418 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32419 if (!SWIG_IsOK(ecode5
)) {
32420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32422 arg5
= static_cast< long >(val5
);
32425 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32426 if (!SWIG_IsOK(res6
)) {
32427 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32432 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32436 arg7
= wxString_in_helper(obj6
);
32437 if (arg7
== NULL
) SWIG_fail
;
32442 if (!wxPyCheckForApp()) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32463 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32464 PyObject
*resultobj
= 0;
32465 wxListView
*result
= 0 ;
32467 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32469 if (!wxPyCheckForApp()) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 result
= (wxListView
*)new wxListView();
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32482 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= 0;
32484 wxListView
*arg1
= (wxListView
*) 0 ;
32485 wxWindow
*arg2
= (wxWindow
*) 0 ;
32486 int arg3
= (int) -1 ;
32487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32491 long arg6
= (long) wxLC_REPORT
;
32492 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32493 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32494 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32495 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32509 bool temp8
= false ;
32510 PyObject
* obj0
= 0 ;
32511 PyObject
* obj1
= 0 ;
32512 PyObject
* obj2
= 0 ;
32513 PyObject
* obj3
= 0 ;
32514 PyObject
* obj4
= 0 ;
32515 PyObject
* obj5
= 0 ;
32516 PyObject
* obj6
= 0 ;
32517 PyObject
* obj7
= 0 ;
32518 char * kwnames
[] = {
32519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32524 if (!SWIG_IsOK(res1
)) {
32525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32527 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32529 if (!SWIG_IsOK(res2
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32532 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32535 if (!SWIG_IsOK(ecode3
)) {
32536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32538 arg3
= static_cast< int >(val3
);
32543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32553 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32554 if (!SWIG_IsOK(ecode6
)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32557 arg6
= static_cast< long >(val6
);
32560 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32561 if (!SWIG_IsOK(res7
)) {
32562 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32567 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32571 arg8
= wxString_in_helper(obj7
);
32572 if (arg8
== NULL
) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32579 wxPyEndAllowThreads(__tstate
);
32580 if (PyErr_Occurred()) SWIG_fail
;
32583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32599 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
= 0;
32601 wxListView
*arg1
= (wxListView
*) 0 ;
32603 bool arg3
= (bool) true ;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 PyObject
* obj2
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "self",(char *) "n",(char *) "on", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32622 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32624 if (!SWIG_IsOK(ecode2
)) {
32625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32627 arg2
= static_cast< long >(val2
);
32629 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32630 if (!SWIG_IsOK(ecode3
)) {
32631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32633 arg3
= static_cast< bool >(val3
);
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 (arg1
)->Select(arg2
,arg3
);
32638 wxPyEndAllowThreads(__tstate
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 resultobj
= SWIG_Py_Void();
32648 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
= 0;
32650 wxListView
*arg1
= (wxListView
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 PyObject
* obj1
= 0 ;
32658 char * kwnames
[] = {
32659 (char *) "self",(char *) "index", NULL
32662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32664 if (!SWIG_IsOK(res1
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32667 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32669 if (!SWIG_IsOK(ecode2
)) {
32670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32672 arg2
= static_cast< long >(val2
);
32674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 (arg1
)->Focus(arg2
);
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= SWIG_Py_Void();
32686 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32687 PyObject
*resultobj
= 0;
32688 wxListView
*arg1
= (wxListView
*) 0 ;
32692 PyObject
*swig_obj
[1] ;
32694 if (!args
) SWIG_fail
;
32695 swig_obj
[0] = args
;
32696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32697 if (!SWIG_IsOK(res1
)) {
32698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32700 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32707 resultobj
= SWIG_From_long(static_cast< long >(result
));
32714 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32715 PyObject
*resultobj
= 0;
32716 wxListView
*arg1
= (wxListView
*) 0 ;
32723 PyObject
* obj0
= 0 ;
32724 PyObject
* obj1
= 0 ;
32725 char * kwnames
[] = {
32726 (char *) "self",(char *) "item", NULL
32729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32731 if (!SWIG_IsOK(res1
)) {
32732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32734 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32735 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32736 if (!SWIG_IsOK(ecode2
)) {
32737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32739 arg2
= static_cast< long >(val2
);
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_From_long(static_cast< long >(result
));
32753 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32754 PyObject
*resultobj
= 0;
32755 wxListView
*arg1
= (wxListView
*) 0 ;
32759 PyObject
*swig_obj
[1] ;
32761 if (!args
) SWIG_fail
;
32762 swig_obj
[0] = args
;
32763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32764 if (!SWIG_IsOK(res1
)) {
32765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32767 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_From_long(static_cast< long >(result
));
32781 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
= 0;
32783 wxListView
*arg1
= (wxListView
*) 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "self",(char *) "index", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32801 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32803 if (!SWIG_IsOK(ecode2
)) {
32804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32806 arg2
= static_cast< long >(val2
);
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 result
= (bool)(arg1
)->IsSelected(arg2
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32822 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
= 0;
32824 wxListView
*arg1
= (wxListView
*) 0 ;
32833 PyObject
* obj0
= 0 ;
32834 PyObject
* obj1
= 0 ;
32835 PyObject
* obj2
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "self",(char *) "col",(char *) "image", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32845 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32847 if (!SWIG_IsOK(ecode2
)) {
32848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32850 arg2
= static_cast< int >(val2
);
32851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32852 if (!SWIG_IsOK(ecode3
)) {
32853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32855 arg3
= static_cast< int >(val3
);
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 (arg1
)->SetColumnImage(arg2
,arg3
);
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32862 resultobj
= SWIG_Py_Void();
32869 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32870 PyObject
*resultobj
= 0;
32871 wxListView
*arg1
= (wxListView
*) 0 ;
32877 PyObject
* obj0
= 0 ;
32878 PyObject
* obj1
= 0 ;
32879 char * kwnames
[] = {
32880 (char *) "self",(char *) "col", NULL
32883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32885 if (!SWIG_IsOK(res1
)) {
32886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32888 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32890 if (!SWIG_IsOK(ecode2
)) {
32891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32893 arg2
= static_cast< int >(val2
);
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 (arg1
)->ClearColumnImage(arg2
);
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32900 resultobj
= SWIG_Py_Void();
32907 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32910 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32911 return SWIG_Py_Void();
32914 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32915 return SWIG_Python_InitShadowInstance(args
);
32918 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32919 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32924 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32925 PyObject
*pyobj
= 0;
32929 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32931 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32938 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32939 PyObject
*resultobj
= 0;
32940 wxTreeItemId
*result
= 0 ;
32942 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 result
= (wxTreeItemId
*)new wxTreeItemId();
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32956 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32961 PyObject
*swig_obj
[1] ;
32963 if (!args
) SWIG_fail
;
32964 swig_obj
[0] = args
;
32965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32966 if (!SWIG_IsOK(res1
)) {
32967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32969 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_Py_Void();
32984 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 PyObject
*resultobj
= 0;
32986 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32990 PyObject
*swig_obj
[1] ;
32992 if (!args
) SWIG_fail
;
32993 swig_obj
[0] = args
;
32994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32998 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33014 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
= 0;
33016 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33017 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33023 PyObject
* obj0
= 0 ;
33024 PyObject
* obj1
= 0 ;
33025 char * kwnames
[] = {
33026 (char *) "self",(char *) "other", NULL
33029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33031 if (!SWIG_IsOK(res1
)) {
33032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33034 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33036 if (!SWIG_IsOK(res2
)) {
33037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33039 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33055 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
= 0;
33057 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33058 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33064 PyObject
* obj0
= 0 ;
33065 PyObject
* obj1
= 0 ;
33066 char * kwnames
[] = {
33067 (char *) "self",(char *) "other", NULL
33070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33072 if (!SWIG_IsOK(res1
)) {
33073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33075 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33077 if (!SWIG_IsOK(res2
)) {
33078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33080 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33096 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33097 PyObject
*resultobj
= 0;
33098 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33099 void *arg2
= (void *) 0 ;
33103 PyObject
*swig_obj
[2] ;
33105 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33107 if (!SWIG_IsOK(res1
)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33110 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33111 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33112 if (!SWIG_IsOK(res2
)) {
33113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33115 if (arg1
) (arg1
)->m_pItem
= arg2
;
33117 resultobj
= SWIG_Py_Void();
33124 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33125 PyObject
*resultobj
= 0;
33126 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33130 PyObject
*swig_obj
[1] ;
33132 if (!args
) SWIG_fail
;
33133 swig_obj
[0] = args
;
33134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33135 if (!SWIG_IsOK(res1
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33138 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33139 result
= (void *) ((arg1
)->m_pItem
);
33140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33147 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33150 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33151 return SWIG_Py_Void();
33154 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33155 return SWIG_Python_InitShadowInstance(args
);
33158 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
= 0;
33160 PyObject
*arg1
= (PyObject
*) NULL
;
33161 wxPyTreeItemData
*result
= 0 ;
33162 PyObject
* obj0
= 0 ;
33163 char * kwnames
[] = {
33164 (char *) "obj", NULL
33167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33184 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33185 PyObject
*resultobj
= 0;
33186 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33189 PyObject
*swig_obj
[1] ;
33191 if (!args
) SWIG_fail
;
33192 swig_obj
[0] = args
;
33193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33194 if (!SWIG_IsOK(res1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33197 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33205 resultobj
= SWIG_Py_Void();
33212 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33213 PyObject
*resultobj
= 0;
33214 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33215 PyObject
*result
= 0 ;
33218 PyObject
*swig_obj
[1] ;
33220 if (!args
) SWIG_fail
;
33221 swig_obj
[0] = args
;
33222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33226 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 result
= (PyObject
*)(arg1
)->GetData();
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= result
;
33240 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
= 0;
33242 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33243 PyObject
*arg2
= (PyObject
*) 0 ;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 char * kwnames
[] = {
33249 (char *) "self",(char *) "obj", NULL
33252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33254 if (!SWIG_IsOK(res1
)) {
33255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33257 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 (arg1
)->SetData(arg2
);
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= SWIG_Py_Void();
33272 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33273 PyObject
*resultobj
= 0;
33274 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33275 wxTreeItemId
*result
= 0 ;
33278 PyObject
*swig_obj
[1] ;
33280 if (!args
) SWIG_fail
;
33281 swig_obj
[0] = args
;
33282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33283 if (!SWIG_IsOK(res1
)) {
33284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33286 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33291 result
= (wxTreeItemId
*) &_result_ref
;
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33303 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33304 PyObject
*resultobj
= 0;
33305 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33306 wxTreeItemId
*arg2
= 0 ;
33311 PyObject
* obj0
= 0 ;
33312 PyObject
* obj1
= 0 ;
33313 char * kwnames
[] = {
33314 (char *) "self",(char *) "id", NULL
33317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33319 if (!SWIG_IsOK(res1
)) {
33320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33322 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33324 if (!SWIG_IsOK(res2
)) {
33325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33330 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= SWIG_Py_Void();
33344 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33345 PyObject
*resultobj
= 0;
33346 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33349 PyObject
*swig_obj
[1] ;
33351 if (!args
) SWIG_fail
;
33352 swig_obj
[0] = args
;
33353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33357 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 wxPyTreeItemData_Destroy(arg1
);
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= SWIG_Py_Void();
33371 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33374 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33375 return SWIG_Py_Void();
33378 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33379 return SWIG_Python_InitShadowInstance(args
);
33382 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33385 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33386 if (!SWIG_IsOK(res
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33392 wxTreeItemId
* temp
;
33393 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33394 wxNullTreeItemId
= *temp
;
33395 if (SWIG_IsNewObj(res
)) delete temp
;
33404 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33405 PyObject
*pyobj
= 0;
33407 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33412 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33413 PyObject
*resultobj
= 0;
33414 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33415 int arg2
= (int) 0 ;
33416 wxTreeEvent
*result
= 0 ;
33422 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33424 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33425 if (!SWIG_IsOK(ecode1
)) {
33426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33428 arg1
= static_cast< wxEventType
>(val1
);
33431 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33432 if (!SWIG_IsOK(ecode2
)) {
33433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33435 arg2
= static_cast< int >(val2
);
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33450 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33451 PyObject
*resultobj
= 0;
33453 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33454 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33455 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33456 wxTreeEvent
*result
= 0 ;
33464 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33465 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33466 if (!SWIG_IsOK(ecode1
)) {
33467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33469 arg1
= static_cast< wxEventType
>(val1
);
33470 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33471 if (!SWIG_IsOK(res2
)) {
33472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33474 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33476 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33477 if (!SWIG_IsOK(res3
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33483 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33487 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33498 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33502 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33504 if ((argc
>= 0) && (argc
<= 2)) {
33509 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33510 _v
= SWIG_CheckState(res
);
33513 if (!_v
) goto check_1
;
33515 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33519 if ((argc
>= 2) && (argc
<= 3)) {
33520 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33524 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33529 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33530 PyObject
*resultobj
= 0;
33531 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33532 wxTreeItemId result
;
33535 PyObject
*swig_obj
[1] ;
33537 if (!args
) SWIG_fail
;
33538 swig_obj
[0] = args
;
33539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33540 if (!SWIG_IsOK(res1
)) {
33541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33543 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33557 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
= 0;
33559 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33560 wxTreeItemId
*arg2
= 0 ;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33567 char * kwnames
[] = {
33568 (char *) "self",(char *) "item", NULL
33571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33576 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33578 if (!SWIG_IsOK(res2
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33584 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_Py_Void();
33598 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33599 PyObject
*resultobj
= 0;
33600 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33601 wxTreeItemId result
;
33604 PyObject
*swig_obj
[1] ;
33606 if (!args
) SWIG_fail
;
33607 swig_obj
[0] = args
;
33608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33609 if (!SWIG_IsOK(res1
)) {
33610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33612 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33615 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33626 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33627 PyObject
*resultobj
= 0;
33628 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33629 wxTreeItemId
*arg2
= 0 ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 char * kwnames
[] = {
33637 (char *) "self",(char *) "item", NULL
33640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33645 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33647 if (!SWIG_IsOK(res2
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33653 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 resultobj
= SWIG_Py_Void();
33667 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33668 PyObject
*resultobj
= 0;
33669 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33673 PyObject
*swig_obj
[1] ;
33675 if (!args
) SWIG_fail
;
33676 swig_obj
[0] = args
;
33677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33681 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33695 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
= 0;
33697 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33698 wxPoint
*arg2
= 0 ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33704 char * kwnames
[] = {
33705 (char *) "self",(char *) "pt", NULL
33708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33710 if (!SWIG_IsOK(res1
)) {
33711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33713 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33724 resultobj
= SWIG_Py_Void();
33731 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33732 PyObject
*resultobj
= 0;
33733 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33734 wxKeyEvent
*result
= 0 ;
33737 PyObject
*swig_obj
[1] ;
33739 if (!args
) SWIG_fail
;
33740 swig_obj
[0] = args
;
33741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33742 if (!SWIG_IsOK(res1
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33745 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33750 result
= (wxKeyEvent
*) &_result_ref
;
33752 wxPyEndAllowThreads(__tstate
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33762 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33763 PyObject
*resultobj
= 0;
33764 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33768 PyObject
*swig_obj
[1] ;
33770 if (!args
) SWIG_fail
;
33771 swig_obj
[0] = args
;
33772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33773 if (!SWIG_IsOK(res1
)) {
33774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33776 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33780 wxPyEndAllowThreads(__tstate
);
33781 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= SWIG_From_int(static_cast< int >(result
));
33790 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33791 PyObject
*resultobj
= 0;
33792 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33793 wxKeyEvent
*arg2
= 0 ;
33798 PyObject
* obj0
= 0 ;
33799 PyObject
* obj1
= 0 ;
33800 char * kwnames
[] = {
33801 (char *) "self",(char *) "evt", NULL
33804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33806 if (!SWIG_IsOK(res1
)) {
33807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33809 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33811 if (!SWIG_IsOK(res2
)) {
33812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33817 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= SWIG_Py_Void();
33831 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33832 PyObject
*resultobj
= 0;
33833 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33834 wxString
*result
= 0 ;
33837 PyObject
*swig_obj
[1] ;
33839 if (!args
) SWIG_fail
;
33840 swig_obj
[0] = args
;
33841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33842 if (!SWIG_IsOK(res1
)) {
33843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33845 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33849 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33850 result
= (wxString
*) &_result_ref
;
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33868 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
= 0;
33870 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33871 wxString
*arg2
= 0 ;
33874 bool temp2
= false ;
33875 PyObject
* obj0
= 0 ;
33876 PyObject
* obj1
= 0 ;
33877 char * kwnames
[] = {
33878 (char *) "self",(char *) "label", NULL
33881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33883 if (!SWIG_IsOK(res1
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33886 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33888 arg2
= wxString_in_helper(obj1
);
33889 if (arg2
== NULL
) SWIG_fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 (arg1
)->SetLabel((wxString
const &)*arg2
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= SWIG_Py_Void();
33913 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33914 PyObject
*resultobj
= 0;
33915 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33919 PyObject
*swig_obj
[1] ;
33921 if (!args
) SWIG_fail
;
33922 swig_obj
[0] = args
;
33923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33927 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33943 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
= 0;
33945 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 PyObject
* obj1
= 0 ;
33953 char * kwnames
[] = {
33954 (char *) "self",(char *) "editCancelled", NULL
33957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33959 if (!SWIG_IsOK(res1
)) {
33960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33962 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33964 if (!SWIG_IsOK(ecode2
)) {
33965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33967 arg2
= static_cast< bool >(val2
);
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 (arg1
)->SetEditCanceled(arg2
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 resultobj
= SWIG_Py_Void();
33981 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
= 0;
33983 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33984 wxString
*arg2
= 0 ;
33987 bool temp2
= false ;
33988 PyObject
* obj0
= 0 ;
33989 PyObject
* obj1
= 0 ;
33990 char * kwnames
[] = {
33991 (char *) "self",(char *) "toolTip", NULL
33994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33996 if (!SWIG_IsOK(res1
)) {
33997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33999 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34001 arg2
= wxString_in_helper(obj1
);
34002 if (arg2
== NULL
) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 (arg1
)->SetToolTip((wxString
const &)*arg2
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_Py_Void();
34026 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34027 PyObject
*resultobj
= 0;
34028 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34032 PyObject
*swig_obj
[1] ;
34034 if (!args
) SWIG_fail
;
34035 swig_obj
[0] = args
;
34036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34037 if (!SWIG_IsOK(res1
)) {
34038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34040 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (arg1
)->GetToolTip();
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34060 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34063 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34064 return SWIG_Py_Void();
34067 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34068 return SWIG_Python_InitShadowInstance(args
);
34071 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
= 0;
34073 wxWindow
*arg1
= (wxWindow
*) 0 ;
34074 int arg2
= (int) -1 ;
34075 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34076 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34077 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34078 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34079 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34080 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34081 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34082 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34084 wxPyTreeCtrl
*result
= 0 ;
34095 bool temp7
= false ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 PyObject
* obj2
= 0 ;
34099 PyObject
* obj3
= 0 ;
34100 PyObject
* obj4
= 0 ;
34101 PyObject
* obj5
= 0 ;
34102 PyObject
* obj6
= 0 ;
34103 char * kwnames
[] = {
34104 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34109 if (!SWIG_IsOK(res1
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34112 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34115 if (!SWIG_IsOK(ecode2
)) {
34116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34118 arg2
= static_cast< int >(val2
);
34123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34129 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34133 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34134 if (!SWIG_IsOK(ecode5
)) {
34135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34137 arg5
= static_cast< long >(val5
);
34140 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34141 if (!SWIG_IsOK(res6
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34147 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34151 arg7
= wxString_in_helper(obj6
);
34152 if (arg7
== NULL
) SWIG_fail
;
34157 if (!wxPyCheckForApp()) SWIG_fail
;
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34178 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 PyObject
*resultobj
= 0;
34180 wxPyTreeCtrl
*result
= 0 ;
34182 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34184 if (!wxPyCheckForApp()) SWIG_fail
;
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34197 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
= 0;
34199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34200 wxWindow
*arg2
= (wxWindow
*) 0 ;
34201 int arg3
= (int) -1 ;
34202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34206 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34207 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34208 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34209 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34210 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34224 bool temp8
= false ;
34225 PyObject
* obj0
= 0 ;
34226 PyObject
* obj1
= 0 ;
34227 PyObject
* obj2
= 0 ;
34228 PyObject
* obj3
= 0 ;
34229 PyObject
* obj4
= 0 ;
34230 PyObject
* obj5
= 0 ;
34231 PyObject
* obj6
= 0 ;
34232 PyObject
* obj7
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34243 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34244 if (!SWIG_IsOK(res2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34247 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34250 if (!SWIG_IsOK(ecode3
)) {
34251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34253 arg3
= static_cast< int >(val3
);
34258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34268 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34269 if (!SWIG_IsOK(ecode6
)) {
34270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34272 arg6
= static_cast< long >(val6
);
34275 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34276 if (!SWIG_IsOK(res7
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34282 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34286 arg8
= wxString_in_helper(obj7
);
34287 if (arg8
== NULL
) SWIG_fail
;
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34314 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
= 0;
34316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34317 PyObject
*arg2
= (PyObject
*) 0 ;
34318 PyObject
*arg3
= (PyObject
*) 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 PyObject
* obj2
= 0 ;
34324 char * kwnames
[] = {
34325 (char *) "self",(char *) "self",(char *) "_class", NULL
34328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34330 if (!SWIG_IsOK(res1
)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= SWIG_Py_Void();
34349 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34350 PyObject
*resultobj
= 0;
34351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34352 unsigned int result
;
34355 PyObject
*swig_obj
[1] ;
34357 if (!args
) SWIG_fail
;
34358 swig_obj
[0] = args
;
34359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34360 if (!SWIG_IsOK(res1
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34363 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34377 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34378 PyObject
*resultobj
= 0;
34379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34380 unsigned int result
;
34383 PyObject
*swig_obj
[1] ;
34385 if (!args
) SWIG_fail
;
34386 swig_obj
[0] = args
;
34387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34388 if (!SWIG_IsOK(res1
)) {
34389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34391 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34394 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34395 wxPyEndAllowThreads(__tstate
);
34396 if (PyErr_Occurred()) SWIG_fail
;
34398 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34405 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
= 0;
34407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34408 unsigned int arg2
;
34411 unsigned int val2
;
34413 PyObject
* obj0
= 0 ;
34414 PyObject
* obj1
= 0 ;
34415 char * kwnames
[] = {
34416 (char *) "self",(char *) "indent", NULL
34419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34421 if (!SWIG_IsOK(res1
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34424 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34425 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34426 if (!SWIG_IsOK(ecode2
)) {
34427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34429 arg2
= static_cast< unsigned int >(val2
);
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 (arg1
)->SetIndent(arg2
);
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= SWIG_Py_Void();
34443 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34444 PyObject
*resultobj
= 0;
34445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34446 unsigned int result
;
34449 PyObject
*swig_obj
[1] ;
34451 if (!args
) SWIG_fail
;
34452 swig_obj
[0] = args
;
34453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34454 if (!SWIG_IsOK(res1
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34457 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34464 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34471 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
= 0;
34473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34474 unsigned int arg2
;
34477 unsigned int val2
;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 char * kwnames
[] = {
34482 (char *) "self",(char *) "spacing", NULL
34485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34487 if (!SWIG_IsOK(res1
)) {
34488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34490 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34491 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34492 if (!SWIG_IsOK(ecode2
)) {
34493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34495 arg2
= static_cast< unsigned int >(val2
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->SetSpacing(arg2
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= SWIG_Py_Void();
34509 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34510 PyObject
*resultobj
= 0;
34511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34512 wxImageList
*result
= 0 ;
34515 PyObject
*swig_obj
[1] ;
34517 if (!args
) SWIG_fail
;
34518 swig_obj
[0] = args
;
34519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34520 if (!SWIG_IsOK(res1
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34523 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34531 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34539 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34540 PyObject
*resultobj
= 0;
34541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34542 wxImageList
*result
= 0 ;
34545 PyObject
*swig_obj
[1] ;
34547 if (!args
) SWIG_fail
;
34548 swig_obj
[0] = args
;
34549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34550 if (!SWIG_IsOK(res1
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34561 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34569 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
= 0;
34571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34572 wxImageList
*arg2
= (wxImageList
*) 0 ;
34577 PyObject
* obj0
= 0 ;
34578 PyObject
* obj1
= 0 ;
34579 char * kwnames
[] = {
34580 (char *) "self",(char *) "imageList", NULL
34583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34585 if (!SWIG_IsOK(res1
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34590 if (!SWIG_IsOK(res2
)) {
34591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34593 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 (arg1
)->SetImageList(arg2
);
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= SWIG_Py_Void();
34607 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
= 0;
34609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34610 wxImageList
*arg2
= (wxImageList
*) 0 ;
34615 PyObject
* obj0
= 0 ;
34616 PyObject
* obj1
= 0 ;
34617 char * kwnames
[] = {
34618 (char *) "self",(char *) "imageList", NULL
34621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34623 if (!SWIG_IsOK(res1
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34626 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34628 if (!SWIG_IsOK(res2
)) {
34629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34631 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 (arg1
)->SetStateImageList(arg2
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 resultobj
= SWIG_Py_Void();
34645 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= 0;
34647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34648 wxImageList
*arg2
= (wxImageList
*) 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "imageList", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34664 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34665 if (!SWIG_IsOK(res2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 (arg1
)->AssignImageList(arg2
);
34671 wxPyEndAllowThreads(__tstate
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34674 resultobj
= SWIG_Py_Void();
34681 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
= 0;
34683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34684 wxImageList
*arg2
= (wxImageList
*) 0 ;
34688 PyObject
* obj0
= 0 ;
34689 PyObject
* obj1
= 0 ;
34690 char * kwnames
[] = {
34691 (char *) "self",(char *) "imageList", NULL
34694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34696 if (!SWIG_IsOK(res1
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34699 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34700 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34701 if (!SWIG_IsOK(res2
)) {
34702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 (arg1
)->AssignStateImageList(arg2
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= SWIG_Py_Void();
34717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34720 wxTreeItemId
*arg2
= 0 ;
34726 PyObject
* obj0
= 0 ;
34727 PyObject
* obj1
= 0 ;
34728 char * kwnames
[] = {
34729 (char *) "self",(char *) "item", NULL
34732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34734 if (!SWIG_IsOK(res1
)) {
34735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34739 if (!SWIG_IsOK(res2
)) {
34740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34765 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34766 PyObject
*resultobj
= 0;
34767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34768 wxTreeItemId
*arg2
= 0 ;
34769 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34777 PyObject
* obj0
= 0 ;
34778 PyObject
* obj1
= 0 ;
34779 PyObject
* obj2
= 0 ;
34780 char * kwnames
[] = {
34781 (char *) "self",(char *) "item",(char *) "which", NULL
34784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34786 if (!SWIG_IsOK(res1
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34789 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34791 if (!SWIG_IsOK(res2
)) {
34792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34797 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34800 if (!SWIG_IsOK(ecode3
)) {
34801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34803 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= SWIG_From_int(static_cast< int >(result
));
34818 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
= 0;
34820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34821 wxTreeItemId
*arg2
= 0 ;
34822 wxPyTreeItemData
*result
= 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 char * kwnames
[] = {
34830 (char *) "self",(char *) "item", NULL
34833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34835 if (!SWIG_IsOK(res1
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34840 if (!SWIG_IsOK(res2
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34846 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34849 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34860 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
= 0;
34862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34863 wxTreeItemId
*arg2
= 0 ;
34864 PyObject
*result
= 0 ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 char * kwnames
[] = {
34872 (char *) "self",(char *) "item", NULL
34875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34877 if (!SWIG_IsOK(res1
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34880 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34882 if (!SWIG_IsOK(res2
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34888 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= result
;
34902 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
= 0;
34904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34905 wxTreeItemId
*arg2
= 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 char * kwnames
[] = {
34914 (char *) "self",(char *) "item", NULL
34917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34919 if (!SWIG_IsOK(res1
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34924 if (!SWIG_IsOK(res2
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34930 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34933 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34937 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34944 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
= 0;
34946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34947 wxTreeItemId
*arg2
= 0 ;
34953 PyObject
* obj0
= 0 ;
34954 PyObject
* obj1
= 0 ;
34955 char * kwnames
[] = {
34956 (char *) "self",(char *) "item", NULL
34959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34961 if (!SWIG_IsOK(res1
)) {
34962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34966 if (!SWIG_IsOK(res2
)) {
34967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34972 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34986 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34987 PyObject
*resultobj
= 0;
34988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34989 wxTreeItemId
*arg2
= 0 ;
34995 PyObject
* obj0
= 0 ;
34996 PyObject
* obj1
= 0 ;
34997 char * kwnames
[] = {
34998 (char *) "self",(char *) "item", NULL
35001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35003 if (!SWIG_IsOK(res1
)) {
35004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35008 if (!SWIG_IsOK(res2
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35014 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
35018 wxPyEndAllowThreads(__tstate
);
35019 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35028 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35031 wxTreeItemId
*arg2
= 0 ;
35032 wxString
*arg3
= 0 ;
35037 bool temp3
= false ;
35038 PyObject
* obj0
= 0 ;
35039 PyObject
* obj1
= 0 ;
35040 PyObject
* obj2
= 0 ;
35041 char * kwnames
[] = {
35042 (char *) "self",(char *) "item",(char *) "text", NULL
35045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35047 if (!SWIG_IsOK(res1
)) {
35048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35050 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35052 if (!SWIG_IsOK(res2
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35058 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35060 arg3
= wxString_in_helper(obj2
);
35061 if (arg3
== NULL
) SWIG_fail
;
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35070 resultobj
= SWIG_Py_Void();
35085 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
= 0;
35087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35088 wxTreeItemId
*arg2
= 0 ;
35090 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35099 PyObject
* obj0
= 0 ;
35100 PyObject
* obj1
= 0 ;
35101 PyObject
* obj2
= 0 ;
35102 PyObject
* obj3
= 0 ;
35103 char * kwnames
[] = {
35104 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35109 if (!SWIG_IsOK(res1
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35112 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35114 if (!SWIG_IsOK(res2
)) {
35115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35120 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35122 if (!SWIG_IsOK(ecode3
)) {
35123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35125 arg3
= static_cast< int >(val3
);
35127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35128 if (!SWIG_IsOK(ecode4
)) {
35129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35131 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35135 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35136 wxPyEndAllowThreads(__tstate
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35139 resultobj
= SWIG_Py_Void();
35146 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35147 PyObject
*resultobj
= 0;
35148 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35149 wxTreeItemId
*arg2
= 0 ;
35150 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35156 PyObject
* obj0
= 0 ;
35157 PyObject
* obj1
= 0 ;
35158 PyObject
* obj2
= 0 ;
35159 char * kwnames
[] = {
35160 (char *) "self",(char *) "item",(char *) "data", NULL
35163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35165 if (!SWIG_IsOK(res1
)) {
35166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35168 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35170 if (!SWIG_IsOK(res2
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35176 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35177 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35178 if (!SWIG_IsOK(res3
)) {
35179 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35187 resultobj
= SWIG_Py_Void();
35194 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35195 PyObject
*resultobj
= 0;
35196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35197 wxTreeItemId
*arg2
= 0 ;
35198 PyObject
*arg3
= (PyObject
*) 0 ;
35203 PyObject
* obj0
= 0 ;
35204 PyObject
* obj1
= 0 ;
35205 PyObject
* obj2
= 0 ;
35206 char * kwnames
[] = {
35207 (char *) "self",(char *) "item",(char *) "obj", NULL
35210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35212 if (!SWIG_IsOK(res1
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35215 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35217 if (!SWIG_IsOK(res2
)) {
35218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35223 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35227 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35228 wxPyEndAllowThreads(__tstate
);
35229 if (PyErr_Occurred()) SWIG_fail
;
35231 resultobj
= SWIG_Py_Void();
35238 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
= 0;
35240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35241 wxTreeItemId
*arg2
= 0 ;
35242 bool arg3
= (bool) true ;
35249 PyObject
* obj0
= 0 ;
35250 PyObject
* obj1
= 0 ;
35251 PyObject
* obj2
= 0 ;
35252 char * kwnames
[] = {
35253 (char *) "self",(char *) "item",(char *) "has", NULL
35256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35258 if (!SWIG_IsOK(res1
)) {
35259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35261 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35263 if (!SWIG_IsOK(res2
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35269 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35271 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35272 if (!SWIG_IsOK(ecode3
)) {
35273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35275 arg3
= static_cast< bool >(val3
);
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35280 wxPyEndAllowThreads(__tstate
);
35281 if (PyErr_Occurred()) SWIG_fail
;
35283 resultobj
= SWIG_Py_Void();
35290 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35291 PyObject
*resultobj
= 0;
35292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35293 wxTreeItemId
*arg2
= 0 ;
35294 bool arg3
= (bool) true ;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 PyObject
* obj2
= 0 ;
35304 char * kwnames
[] = {
35305 (char *) "self",(char *) "item",(char *) "bold", NULL
35308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35310 if (!SWIG_IsOK(res1
)) {
35311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35313 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35315 if (!SWIG_IsOK(res2
)) {
35316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35321 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35323 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35324 if (!SWIG_IsOK(ecode3
)) {
35325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35327 arg3
= static_cast< bool >(val3
);
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35332 wxPyEndAllowThreads(__tstate
);
35333 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= SWIG_Py_Void();
35342 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35343 PyObject
*resultobj
= 0;
35344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35345 wxTreeItemId
*arg2
= 0 ;
35346 bool arg3
= (bool) true ;
35353 PyObject
* obj0
= 0 ;
35354 PyObject
* obj1
= 0 ;
35355 PyObject
* obj2
= 0 ;
35356 char * kwnames
[] = {
35357 (char *) "self",(char *) "item",(char *) "highlight", NULL
35360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35362 if (!SWIG_IsOK(res1
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35367 if (!SWIG_IsOK(res2
)) {
35368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35373 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35375 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35376 if (!SWIG_IsOK(ecode3
)) {
35377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35379 arg3
= static_cast< bool >(val3
);
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= SWIG_Py_Void();
35394 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
= 0;
35396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35397 wxTreeItemId
*arg2
= 0 ;
35398 wxColour
*arg3
= 0 ;
35404 PyObject
* obj0
= 0 ;
35405 PyObject
* obj1
= 0 ;
35406 PyObject
* obj2
= 0 ;
35407 char * kwnames
[] = {
35408 (char *) "self",(char *) "item",(char *) "col", NULL
35411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35413 if (!SWIG_IsOK(res1
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35416 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35418 if (!SWIG_IsOK(res2
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35424 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35427 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35431 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35432 wxPyEndAllowThreads(__tstate
);
35433 if (PyErr_Occurred()) SWIG_fail
;
35435 resultobj
= SWIG_Py_Void();
35442 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35443 PyObject
*resultobj
= 0;
35444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35445 wxTreeItemId
*arg2
= 0 ;
35446 wxColour
*arg3
= 0 ;
35452 PyObject
* obj0
= 0 ;
35453 PyObject
* obj1
= 0 ;
35454 PyObject
* obj2
= 0 ;
35455 char * kwnames
[] = {
35456 (char *) "self",(char *) "item",(char *) "col", NULL
35459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35461 if (!SWIG_IsOK(res1
)) {
35462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35464 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35466 if (!SWIG_IsOK(res2
)) {
35467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35472 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35475 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35480 wxPyEndAllowThreads(__tstate
);
35481 if (PyErr_Occurred()) SWIG_fail
;
35483 resultobj
= SWIG_Py_Void();
35490 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35491 PyObject
*resultobj
= 0;
35492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35493 wxTreeItemId
*arg2
= 0 ;
35501 PyObject
* obj0
= 0 ;
35502 PyObject
* obj1
= 0 ;
35503 PyObject
* obj2
= 0 ;
35504 char * kwnames
[] = {
35505 (char *) "self",(char *) "item",(char *) "font", NULL
35508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35510 if (!SWIG_IsOK(res1
)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35513 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35515 if (!SWIG_IsOK(res2
)) {
35516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35521 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35522 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35523 if (!SWIG_IsOK(res3
)) {
35524 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35529 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= SWIG_Py_Void();
35543 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35544 PyObject
*resultobj
= 0;
35545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35546 wxTreeItemId
*arg2
= 0 ;
35552 PyObject
* obj0
= 0 ;
35553 PyObject
* obj1
= 0 ;
35554 char * kwnames
[] = {
35555 (char *) "self",(char *) "item", NULL
35558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35560 if (!SWIG_IsOK(res1
)) {
35561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35563 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35565 if (!SWIG_IsOK(res2
)) {
35566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35571 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35574 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35575 wxPyEndAllowThreads(__tstate
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35587 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
= 0;
35589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35590 wxTreeItemId
*arg2
= 0 ;
35596 PyObject
* obj0
= 0 ;
35597 PyObject
* obj1
= 0 ;
35598 char * kwnames
[] = {
35599 (char *) "self",(char *) "item", NULL
35602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35604 if (!SWIG_IsOK(res1
)) {
35605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35607 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35609 if (!SWIG_IsOK(res2
)) {
35610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35615 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35618 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35619 wxPyEndAllowThreads(__tstate
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35631 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
= 0;
35633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35634 wxTreeItemId
*arg2
= 0 ;
35640 PyObject
* obj0
= 0 ;
35641 PyObject
* obj1
= 0 ;
35642 char * kwnames
[] = {
35643 (char *) "self",(char *) "item", NULL
35646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35648 if (!SWIG_IsOK(res1
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35651 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35653 if (!SWIG_IsOK(res2
)) {
35654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35659 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35675 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35678 wxTreeItemId
*arg2
= 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char * kwnames
[] = {
35687 (char *) "self",(char *) "item", NULL
35690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35692 if (!SWIG_IsOK(res1
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35695 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35697 if (!SWIG_IsOK(res2
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35703 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35719 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
= 0;
35721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35722 wxTreeItemId
*arg2
= 0 ;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 char * kwnames
[] = {
35731 (char *) "self",(char *) "item", NULL
35734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35736 if (!SWIG_IsOK(res1
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35739 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35741 if (!SWIG_IsOK(res2
)) {
35742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35747 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35750 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35751 wxPyEndAllowThreads(__tstate
);
35752 if (PyErr_Occurred()) SWIG_fail
;
35755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35763 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35764 PyObject
*resultobj
= 0;
35765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35769 PyObject
*swig_obj
[1] ;
35771 if (!args
) SWIG_fail
;
35772 swig_obj
[0] = args
;
35773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35774 if (!SWIG_IsOK(res1
)) {
35775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35777 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35793 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
= 0;
35795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35796 wxTreeItemId
*arg2
= 0 ;
35797 bool arg3
= (bool) true ;
35805 PyObject
* obj0
= 0 ;
35806 PyObject
* obj1
= 0 ;
35807 PyObject
* obj2
= 0 ;
35808 char * kwnames
[] = {
35809 (char *) "self",(char *) "item",(char *) "recursively", NULL
35812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35825 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35827 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35828 if (!SWIG_IsOK(ecode3
)) {
35829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35831 arg3
= static_cast< bool >(val3
);
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35835 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35839 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35846 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35847 PyObject
*resultobj
= 0;
35848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35849 wxTreeItemId result
;
35852 PyObject
*swig_obj
[1] ;
35854 if (!args
) SWIG_fail
;
35855 swig_obj
[0] = args
;
35856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35857 if (!SWIG_IsOK(res1
)) {
35858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35860 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35863 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35864 wxPyEndAllowThreads(__tstate
);
35865 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35874 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35875 PyObject
*resultobj
= 0;
35876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35877 wxTreeItemId result
;
35880 PyObject
*swig_obj
[1] ;
35882 if (!args
) SWIG_fail
;
35883 swig_obj
[0] = args
;
35884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35885 if (!SWIG_IsOK(res1
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35888 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35891 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35902 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35903 PyObject
*resultobj
= 0;
35904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35905 PyObject
*result
= 0 ;
35908 PyObject
*swig_obj
[1] ;
35910 if (!args
) SWIG_fail
;
35911 swig_obj
[0] = args
;
35912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35913 if (!SWIG_IsOK(res1
)) {
35914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35919 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35920 wxPyEndAllowThreads(__tstate
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35923 resultobj
= result
;
35930 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35931 PyObject
*resultobj
= 0;
35932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35933 wxTreeItemId
*arg2
= 0 ;
35934 wxTreeItemId result
;
35939 PyObject
* obj0
= 0 ;
35940 PyObject
* obj1
= 0 ;
35941 char * kwnames
[] = {
35942 (char *) "self",(char *) "item", NULL
35945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35947 if (!SWIG_IsOK(res1
)) {
35948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35950 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35952 if (!SWIG_IsOK(res2
)) {
35953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35958 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35961 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35972 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
= 0;
35974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35975 wxTreeItemId
*arg2
= 0 ;
35976 PyObject
*result
= 0 ;
35981 PyObject
* obj0
= 0 ;
35982 PyObject
* obj1
= 0 ;
35983 char * kwnames
[] = {
35984 (char *) "self",(char *) "item", NULL
35987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35989 if (!SWIG_IsOK(res1
)) {
35990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35992 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35994 if (!SWIG_IsOK(res2
)) {
35995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36000 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 resultobj
= result
;
36014 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36015 PyObject
*resultobj
= 0;
36016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36017 wxTreeItemId
*arg2
= 0 ;
36018 void *arg3
= (void *) 0 ;
36019 PyObject
*result
= 0 ;
36025 PyObject
* obj0
= 0 ;
36026 PyObject
* obj1
= 0 ;
36027 PyObject
* obj2
= 0 ;
36028 char * kwnames
[] = {
36029 (char *) "self",(char *) "item",(char *) "cookie", NULL
36032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36034 if (!SWIG_IsOK(res1
)) {
36035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36039 if (!SWIG_IsOK(res2
)) {
36040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36045 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36046 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36047 if (!SWIG_IsOK(res3
)) {
36048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= result
;
36063 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
= 0;
36065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36066 wxTreeItemId
*arg2
= 0 ;
36067 wxTreeItemId result
;
36072 PyObject
* obj0
= 0 ;
36073 PyObject
* obj1
= 0 ;
36074 char * kwnames
[] = {
36075 (char *) "self",(char *) "item", NULL
36078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36080 if (!SWIG_IsOK(res1
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36083 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36085 if (!SWIG_IsOK(res2
)) {
36086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36091 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36105 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
= 0;
36107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36108 wxTreeItemId
*arg2
= 0 ;
36109 wxTreeItemId result
;
36114 PyObject
* obj0
= 0 ;
36115 PyObject
* obj1
= 0 ;
36116 char * kwnames
[] = {
36117 (char *) "self",(char *) "item", NULL
36120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36122 if (!SWIG_IsOK(res1
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36127 if (!SWIG_IsOK(res2
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36133 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36147 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36148 PyObject
*resultobj
= 0;
36149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36150 wxTreeItemId
*arg2
= 0 ;
36151 wxTreeItemId result
;
36156 PyObject
* obj0
= 0 ;
36157 PyObject
* obj1
= 0 ;
36158 char * kwnames
[] = {
36159 (char *) "self",(char *) "item", NULL
36162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36164 if (!SWIG_IsOK(res1
)) {
36165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36167 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36169 if (!SWIG_IsOK(res2
)) {
36170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36175 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36179 wxPyEndAllowThreads(__tstate
);
36180 if (PyErr_Occurred()) SWIG_fail
;
36182 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36189 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36190 PyObject
*resultobj
= 0;
36191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36192 wxTreeItemId result
;
36195 PyObject
*swig_obj
[1] ;
36197 if (!args
) SWIG_fail
;
36198 swig_obj
[0] = args
;
36199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36210 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36217 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36218 PyObject
*resultobj
= 0;
36219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36220 wxTreeItemId
*arg2
= 0 ;
36221 wxTreeItemId result
;
36226 PyObject
* obj0
= 0 ;
36227 PyObject
* obj1
= 0 ;
36228 char * kwnames
[] = {
36229 (char *) "self",(char *) "item", NULL
36232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36234 if (!SWIG_IsOK(res1
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36237 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36239 if (!SWIG_IsOK(res2
)) {
36240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36245 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36249 wxPyEndAllowThreads(__tstate
);
36250 if (PyErr_Occurred()) SWIG_fail
;
36252 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36259 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36260 PyObject
*resultobj
= 0;
36261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36262 wxTreeItemId
*arg2
= 0 ;
36263 wxTreeItemId result
;
36268 PyObject
* obj0
= 0 ;
36269 PyObject
* obj1
= 0 ;
36270 char * kwnames
[] = {
36271 (char *) "self",(char *) "item", NULL
36274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36276 if (!SWIG_IsOK(res1
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36279 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36281 if (!SWIG_IsOK(res2
)) {
36282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36287 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36291 wxPyEndAllowThreads(__tstate
);
36292 if (PyErr_Occurred()) SWIG_fail
;
36294 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36301 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36302 PyObject
*resultobj
= 0;
36303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36304 wxString
*arg2
= 0 ;
36305 int arg3
= (int) -1 ;
36306 int arg4
= (int) -1 ;
36307 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36308 wxTreeItemId result
;
36311 bool temp2
= false ;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 PyObject
* obj2
= 0 ;
36320 PyObject
* obj3
= 0 ;
36321 PyObject
* obj4
= 0 ;
36322 char * kwnames
[] = {
36323 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36328 if (!SWIG_IsOK(res1
)) {
36329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36333 arg2
= wxString_in_helper(obj1
);
36334 if (arg2
== NULL
) SWIG_fail
;
36338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36339 if (!SWIG_IsOK(ecode3
)) {
36340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36342 arg3
= static_cast< int >(val3
);
36345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36346 if (!SWIG_IsOK(ecode4
)) {
36347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36349 arg4
= static_cast< int >(val4
);
36352 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36353 if (!SWIG_IsOK(res5
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36378 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
= 0;
36380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36381 wxTreeItemId
*arg2
= 0 ;
36382 wxString
*arg3
= 0 ;
36383 int arg4
= (int) -1 ;
36384 int arg5
= (int) -1 ;
36385 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36386 wxTreeItemId result
;
36391 bool temp3
= false ;
36397 PyObject
* obj0
= 0 ;
36398 PyObject
* obj1
= 0 ;
36399 PyObject
* obj2
= 0 ;
36400 PyObject
* obj3
= 0 ;
36401 PyObject
* obj4
= 0 ;
36402 PyObject
* obj5
= 0 ;
36403 char * kwnames
[] = {
36404 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36409 if (!SWIG_IsOK(res1
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36412 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36414 if (!SWIG_IsOK(res2
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36422 arg3
= wxString_in_helper(obj2
);
36423 if (arg3
== NULL
) SWIG_fail
;
36427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36428 if (!SWIG_IsOK(ecode4
)) {
36429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36431 arg4
= static_cast< int >(val4
);
36434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36435 if (!SWIG_IsOK(ecode5
)) {
36436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36438 arg5
= static_cast< int >(val5
);
36441 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36442 if (!SWIG_IsOK(res6
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36448 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36452 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36467 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
= 0;
36469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36470 wxTreeItemId
*arg2
= 0 ;
36471 wxTreeItemId
*arg3
= 0 ;
36472 wxString
*arg4
= 0 ;
36473 int arg5
= (int) -1 ;
36474 int arg6
= (int) -1 ;
36475 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36476 wxTreeItemId result
;
36483 bool temp4
= false ;
36489 PyObject
* obj0
= 0 ;
36490 PyObject
* obj1
= 0 ;
36491 PyObject
* obj2
= 0 ;
36492 PyObject
* obj3
= 0 ;
36493 PyObject
* obj4
= 0 ;
36494 PyObject
* obj5
= 0 ;
36495 PyObject
* obj6
= 0 ;
36496 char * kwnames
[] = {
36497 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36502 if (!SWIG_IsOK(res1
)) {
36503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36505 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36507 if (!SWIG_IsOK(res2
)) {
36508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36513 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36514 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36515 if (!SWIG_IsOK(res3
)) {
36516 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36521 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36523 arg4
= wxString_in_helper(obj3
);
36524 if (arg4
== NULL
) SWIG_fail
;
36528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36529 if (!SWIG_IsOK(ecode5
)) {
36530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36532 arg5
= static_cast< int >(val5
);
36535 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36536 if (!SWIG_IsOK(ecode6
)) {
36537 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36539 arg6
= static_cast< int >(val6
);
36542 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36543 if (!SWIG_IsOK(res7
)) {
36544 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36549 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36550 wxPyEndAllowThreads(__tstate
);
36551 if (PyErr_Occurred()) SWIG_fail
;
36553 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36568 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
= 0;
36570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36571 wxTreeItemId
*arg2
= 0 ;
36573 wxString
*arg4
= 0 ;
36574 int arg5
= (int) -1 ;
36575 int arg6
= (int) -1 ;
36576 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36577 wxTreeItemId result
;
36584 bool temp4
= false ;
36590 PyObject
* obj0
= 0 ;
36591 PyObject
* obj1
= 0 ;
36592 PyObject
* obj2
= 0 ;
36593 PyObject
* obj3
= 0 ;
36594 PyObject
* obj4
= 0 ;
36595 PyObject
* obj5
= 0 ;
36596 PyObject
* obj6
= 0 ;
36597 char * kwnames
[] = {
36598 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36603 if (!SWIG_IsOK(res1
)) {
36604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36608 if (!SWIG_IsOK(res2
)) {
36609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36614 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36615 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36616 if (!SWIG_IsOK(ecode3
)) {
36617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36619 arg3
= static_cast< size_t >(val3
);
36621 arg4
= wxString_in_helper(obj3
);
36622 if (arg4
== NULL
) SWIG_fail
;
36626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36627 if (!SWIG_IsOK(ecode5
)) {
36628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36630 arg5
= static_cast< int >(val5
);
36633 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36634 if (!SWIG_IsOK(ecode6
)) {
36635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36637 arg6
= static_cast< int >(val6
);
36640 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36641 if (!SWIG_IsOK(res7
)) {
36642 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36666 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36667 PyObject
*resultobj
= 0;
36668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36669 wxTreeItemId
*arg2
= 0 ;
36670 wxString
*arg3
= 0 ;
36671 int arg4
= (int) -1 ;
36672 int arg5
= (int) -1 ;
36673 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36674 wxTreeItemId result
;
36679 bool temp3
= false ;
36685 PyObject
* obj0
= 0 ;
36686 PyObject
* obj1
= 0 ;
36687 PyObject
* obj2
= 0 ;
36688 PyObject
* obj3
= 0 ;
36689 PyObject
* obj4
= 0 ;
36690 PyObject
* obj5
= 0 ;
36691 char * kwnames
[] = {
36692 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36697 if (!SWIG_IsOK(res1
)) {
36698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36700 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36702 if (!SWIG_IsOK(res2
)) {
36703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36708 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36710 arg3
= wxString_in_helper(obj2
);
36711 if (arg3
== NULL
) SWIG_fail
;
36715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36716 if (!SWIG_IsOK(ecode4
)) {
36717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36719 arg4
= static_cast< int >(val4
);
36722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36723 if (!SWIG_IsOK(ecode5
)) {
36724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36726 arg5
= static_cast< int >(val5
);
36729 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36730 if (!SWIG_IsOK(res6
)) {
36731 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36755 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36756 PyObject
*resultobj
= 0;
36757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36758 wxTreeItemId
*arg2
= 0 ;
36763 PyObject
* obj0
= 0 ;
36764 PyObject
* obj1
= 0 ;
36765 char * kwnames
[] = {
36766 (char *) "self",(char *) "item", NULL
36769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36774 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36776 if (!SWIG_IsOK(res2
)) {
36777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36782 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36789 resultobj
= SWIG_Py_Void();
36796 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
= 0;
36798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36799 wxTreeItemId
*arg2
= 0 ;
36804 PyObject
* obj0
= 0 ;
36805 PyObject
* obj1
= 0 ;
36806 char * kwnames
[] = {
36807 (char *) "self",(char *) "item", NULL
36810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36812 if (!SWIG_IsOK(res1
)) {
36813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36815 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36817 if (!SWIG_IsOK(res2
)) {
36818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36823 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36827 wxPyEndAllowThreads(__tstate
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36830 resultobj
= SWIG_Py_Void();
36837 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36838 PyObject
*resultobj
= 0;
36839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36842 PyObject
*swig_obj
[1] ;
36844 if (!args
) SWIG_fail
;
36845 swig_obj
[0] = args
;
36846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36847 if (!SWIG_IsOK(res1
)) {
36848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36853 (arg1
)->DeleteAllItems();
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36857 resultobj
= SWIG_Py_Void();
36864 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36865 PyObject
*resultobj
= 0;
36866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36867 wxTreeItemId
*arg2
= 0 ;
36872 PyObject
* obj0
= 0 ;
36873 PyObject
* obj1
= 0 ;
36874 char * kwnames
[] = {
36875 (char *) "self",(char *) "item", NULL
36878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36880 if (!SWIG_IsOK(res1
)) {
36881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36885 if (!SWIG_IsOK(res2
)) {
36886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36894 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36895 wxPyEndAllowThreads(__tstate
);
36896 if (PyErr_Occurred()) SWIG_fail
;
36898 resultobj
= SWIG_Py_Void();
36905 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
= 0;
36907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36908 wxTreeItemId
*arg2
= 0 ;
36913 PyObject
* obj0
= 0 ;
36914 PyObject
* obj1
= 0 ;
36915 char * kwnames
[] = {
36916 (char *) "self",(char *) "item", NULL
36919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36921 if (!SWIG_IsOK(res1
)) {
36922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36924 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36926 if (!SWIG_IsOK(res2
)) {
36927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36932 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36935 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= SWIG_Py_Void();
36946 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36947 PyObject
*resultobj
= 0;
36948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36951 PyObject
*swig_obj
[1] ;
36953 if (!args
) SWIG_fail
;
36954 swig_obj
[0] = args
;
36955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36962 (arg1
)->ExpandAll();
36963 wxPyEndAllowThreads(__tstate
);
36964 if (PyErr_Occurred()) SWIG_fail
;
36966 resultobj
= SWIG_Py_Void();
36973 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36974 PyObject
*resultobj
= 0;
36975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36976 wxTreeItemId
*arg2
= 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 char * kwnames
[] = {
36984 (char *) "self",(char *) "item", NULL
36987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36989 if (!SWIG_IsOK(res1
)) {
36990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36992 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36994 if (!SWIG_IsOK(res2
)) {
36995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37000 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37003 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
37004 wxPyEndAllowThreads(__tstate
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37007 resultobj
= SWIG_Py_Void();
37014 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37015 PyObject
*resultobj
= 0;
37016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37017 wxTreeItemId
*arg2
= 0 ;
37022 PyObject
* obj0
= 0 ;
37023 PyObject
* obj1
= 0 ;
37024 char * kwnames
[] = {
37025 (char *) "self",(char *) "item", NULL
37028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37030 if (!SWIG_IsOK(res1
)) {
37031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37033 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37035 if (!SWIG_IsOK(res2
)) {
37036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37041 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37044 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37045 wxPyEndAllowThreads(__tstate
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= SWIG_Py_Void();
37055 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37056 PyObject
*resultobj
= 0;
37057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37060 PyObject
*swig_obj
[1] ;
37062 if (!args
) SWIG_fail
;
37063 swig_obj
[0] = args
;
37064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37065 if (!SWIG_IsOK(res1
)) {
37066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37071 (arg1
)->CollapseAll();
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37075 resultobj
= SWIG_Py_Void();
37082 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37083 PyObject
*resultobj
= 0;
37084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37085 wxTreeItemId
*arg2
= 0 ;
37090 PyObject
* obj0
= 0 ;
37091 PyObject
* obj1
= 0 ;
37092 char * kwnames
[] = {
37093 (char *) "self",(char *) "item", NULL
37096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37098 if (!SWIG_IsOK(res1
)) {
37099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37101 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37103 if (!SWIG_IsOK(res2
)) {
37104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37109 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37113 wxPyEndAllowThreads(__tstate
);
37114 if (PyErr_Occurred()) SWIG_fail
;
37116 resultobj
= SWIG_Py_Void();
37123 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37124 PyObject
*resultobj
= 0;
37125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37126 wxTreeItemId
*arg2
= 0 ;
37131 PyObject
* obj0
= 0 ;
37132 PyObject
* obj1
= 0 ;
37133 char * kwnames
[] = {
37134 (char *) "self",(char *) "item", NULL
37137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37139 if (!SWIG_IsOK(res1
)) {
37140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37142 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37144 if (!SWIG_IsOK(res2
)) {
37145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37150 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= SWIG_Py_Void();
37164 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37165 PyObject
*resultobj
= 0;
37166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37169 PyObject
*swig_obj
[1] ;
37171 if (!args
) SWIG_fail
;
37172 swig_obj
[0] = args
;
37173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37174 if (!SWIG_IsOK(res1
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37177 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 (arg1
)->Unselect();
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= SWIG_Py_Void();
37191 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
= 0;
37193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37194 wxTreeItemId
*arg2
= 0 ;
37199 PyObject
* obj0
= 0 ;
37200 PyObject
* obj1
= 0 ;
37201 char * kwnames
[] = {
37202 (char *) "self",(char *) "item", NULL
37205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37207 if (!SWIG_IsOK(res1
)) {
37208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37210 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37212 if (!SWIG_IsOK(res2
)) {
37213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37218 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37221 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37222 wxPyEndAllowThreads(__tstate
);
37223 if (PyErr_Occurred()) SWIG_fail
;
37225 resultobj
= SWIG_Py_Void();
37232 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37233 PyObject
*resultobj
= 0;
37234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37237 PyObject
*swig_obj
[1] ;
37239 if (!args
) SWIG_fail
;
37240 swig_obj
[0] = args
;
37241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37242 if (!SWIG_IsOK(res1
)) {
37243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37245 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37248 (arg1
)->UnselectAll();
37249 wxPyEndAllowThreads(__tstate
);
37250 if (PyErr_Occurred()) SWIG_fail
;
37252 resultobj
= SWIG_Py_Void();
37259 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37260 PyObject
*resultobj
= 0;
37261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37262 wxTreeItemId
*arg2
= 0 ;
37263 bool arg3
= (bool) true ;
37270 PyObject
* obj0
= 0 ;
37271 PyObject
* obj1
= 0 ;
37272 PyObject
* obj2
= 0 ;
37273 char * kwnames
[] = {
37274 (char *) "self",(char *) "item",(char *) "select", NULL
37277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37279 if (!SWIG_IsOK(res1
)) {
37280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37284 if (!SWIG_IsOK(res2
)) {
37285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37290 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37292 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37293 if (!SWIG_IsOK(ecode3
)) {
37294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37296 arg3
= static_cast< bool >(val3
);
37299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37300 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 resultobj
= SWIG_Py_Void();
37311 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37312 PyObject
*resultobj
= 0;
37313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37314 wxTreeItemId
*arg2
= 0 ;
37319 PyObject
* obj0
= 0 ;
37320 PyObject
* obj1
= 0 ;
37321 char * kwnames
[] = {
37322 (char *) "self",(char *) "item", NULL
37325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37327 if (!SWIG_IsOK(res1
)) {
37328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37332 if (!SWIG_IsOK(res2
)) {
37333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37341 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= SWIG_Py_Void();
37352 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37353 PyObject
*resultobj
= 0;
37354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37355 wxTreeItemId
*arg2
= 0 ;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 char * kwnames
[] = {
37363 (char *) "self",(char *) "item", NULL
37366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37368 if (!SWIG_IsOK(res1
)) {
37369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37373 if (!SWIG_IsOK(res2
)) {
37374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37379 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37386 resultobj
= SWIG_Py_Void();
37393 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
= 0;
37395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37396 wxTreeItemId
*arg2
= 0 ;
37401 PyObject
* obj0
= 0 ;
37402 PyObject
* obj1
= 0 ;
37403 char * kwnames
[] = {
37404 (char *) "self",(char *) "item", NULL
37407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37409 if (!SWIG_IsOK(res1
)) {
37410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37412 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37414 if (!SWIG_IsOK(res2
)) {
37415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37423 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37424 wxPyEndAllowThreads(__tstate
);
37425 if (PyErr_Occurred()) SWIG_fail
;
37427 resultobj
= SWIG_Py_Void();
37434 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37435 PyObject
*resultobj
= 0;
37436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37437 wxTreeItemId
*arg2
= 0 ;
37442 PyObject
* obj0
= 0 ;
37443 PyObject
* obj1
= 0 ;
37444 char * kwnames
[] = {
37445 (char *) "self",(char *) "item", NULL
37448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37450 if (!SWIG_IsOK(res1
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37453 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37455 if (!SWIG_IsOK(res2
)) {
37456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37461 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37464 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37465 wxPyEndAllowThreads(__tstate
);
37466 if (PyErr_Occurred()) SWIG_fail
;
37468 resultobj
= SWIG_Py_Void();
37475 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37476 PyObject
*resultobj
= 0;
37477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37478 wxTextCtrl
*result
= 0 ;
37481 PyObject
*swig_obj
[1] ;
37483 if (!args
) SWIG_fail
;
37484 swig_obj
[0] = args
;
37485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37486 if (!SWIG_IsOK(res1
)) {
37487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37489 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37497 resultobj
= wxPyMake_wxObject(result
, 0);
37505 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37506 PyObject
*resultobj
= 0;
37507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37508 wxTreeItemId
*arg2
= 0 ;
37513 PyObject
* obj0
= 0 ;
37514 PyObject
* obj1
= 0 ;
37515 char * kwnames
[] = {
37516 (char *) "self",(char *) "item", NULL
37519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37521 if (!SWIG_IsOK(res1
)) {
37522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37526 if (!SWIG_IsOK(res2
)) {
37527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_Py_Void();
37546 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
= 0;
37548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37549 wxPoint
*arg2
= 0 ;
37551 wxTreeItemId result
;
37556 int res3
= SWIG_TMPOBJ
;
37557 PyObject
* obj0
= 0 ;
37558 PyObject
* obj1
= 0 ;
37559 char * kwnames
[] = {
37560 (char *) "self",(char *) "point", NULL
37564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37566 if (!SWIG_IsOK(res1
)) {
37567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37576 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37577 wxPyEndAllowThreads(__tstate
);
37578 if (PyErr_Occurred()) SWIG_fail
;
37580 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37581 if (SWIG_IsTmpObj(res3
)) {
37582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37584 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37593 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37594 PyObject
*resultobj
= 0;
37595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37596 wxTreeItemId
*arg2
= 0 ;
37597 bool arg3
= (bool) false ;
37598 PyObject
*result
= 0 ;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 PyObject
* obj2
= 0 ;
37608 char * kwnames
[] = {
37609 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37614 if (!SWIG_IsOK(res1
)) {
37615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37619 if (!SWIG_IsOK(res2
)) {
37620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37625 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37627 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37628 if (!SWIG_IsOK(ecode3
)) {
37629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37631 arg3
= static_cast< bool >(val3
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 resultobj
= result
;
37646 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37647 PyObject
*resultobj
= 0;
37648 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37649 SwigValueWrapper
<wxVisualAttributes
> result
;
37652 PyObject
* obj0
= 0 ;
37653 char * kwnames
[] = {
37654 (char *) "variant", NULL
37657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37660 if (!SWIG_IsOK(ecode1
)) {
37661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37663 arg1
= static_cast< wxWindowVariant
>(val1
);
37666 if (!wxPyCheckForApp()) SWIG_fail
;
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37679 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37680 PyObject
*resultobj
= 0;
37681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 char * kwnames
[] = {
37690 (char *) "self",(char *) "q", NULL
37693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37700 if (!SWIG_IsOK(ecode2
)) {
37701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37703 arg2
= static_cast< bool >(val2
);
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 (arg1
)->SetQuickBestSize(arg2
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 resultobj
= SWIG_Py_Void();
37717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37718 PyObject
*resultobj
= 0;
37719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37723 PyObject
*swig_obj
[1] ;
37725 if (!args
) SWIG_fail
;
37726 swig_obj
[0] = args
;
37727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37728 if (!SWIG_IsOK(res1
)) {
37729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37731 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37735 wxPyEndAllowThreads(__tstate
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37747 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37750 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37751 return SWIG_Py_Void();
37754 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37755 return SWIG_Python_InitShadowInstance(args
);
37758 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37759 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37764 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37765 PyObject
*pyobj
= 0;
37769 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37771 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37778 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
= 0;
37780 wxWindow
*arg1
= (wxWindow
*) 0 ;
37781 int arg2
= (int) (int)-1 ;
37782 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37788 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37789 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37791 int arg8
= (int) 0 ;
37792 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37793 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37794 wxGenericDirCtrl
*result
= 0 ;
37799 bool temp3
= false ;
37804 bool temp7
= false ;
37807 bool temp9
= false ;
37808 PyObject
* obj0
= 0 ;
37809 PyObject
* obj1
= 0 ;
37810 PyObject
* obj2
= 0 ;
37811 PyObject
* obj3
= 0 ;
37812 PyObject
* obj4
= 0 ;
37813 PyObject
* obj5
= 0 ;
37814 PyObject
* obj6
= 0 ;
37815 PyObject
* obj7
= 0 ;
37816 PyObject
* obj8
= 0 ;
37817 char * kwnames
[] = {
37818 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37823 if (!SWIG_IsOK(res1
)) {
37824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37829 if (!SWIG_IsOK(ecode2
)) {
37830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37832 arg2
= static_cast< int >(val2
);
37836 arg3
= wxString_in_helper(obj2
);
37837 if (arg3
== NULL
) SWIG_fail
;
37844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37854 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37855 if (!SWIG_IsOK(ecode6
)) {
37856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37858 arg6
= static_cast< long >(val6
);
37862 arg7
= wxString_in_helper(obj6
);
37863 if (arg7
== NULL
) SWIG_fail
;
37868 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37869 if (!SWIG_IsOK(ecode8
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37872 arg8
= static_cast< int >(val8
);
37876 arg9
= wxString_in_helper(obj8
);
37877 if (arg9
== NULL
) SWIG_fail
;
37882 if (!wxPyCheckForApp()) SWIG_fail
;
37883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37884 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37885 wxPyEndAllowThreads(__tstate
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37919 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37920 PyObject
*resultobj
= 0;
37921 wxGenericDirCtrl
*result
= 0 ;
37923 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37925 if (!wxPyCheckForApp()) SWIG_fail
;
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37938 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
= 0;
37940 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37941 wxWindow
*arg2
= (wxWindow
*) 0 ;
37942 int arg3
= (int) (int)-1 ;
37943 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37944 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37949 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37950 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37951 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37952 int arg9
= (int) 0 ;
37953 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37954 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37962 bool temp4
= false ;
37967 bool temp8
= false ;
37970 bool temp10
= false ;
37971 PyObject
* obj0
= 0 ;
37972 PyObject
* obj1
= 0 ;
37973 PyObject
* obj2
= 0 ;
37974 PyObject
* obj3
= 0 ;
37975 PyObject
* obj4
= 0 ;
37976 PyObject
* obj5
= 0 ;
37977 PyObject
* obj6
= 0 ;
37978 PyObject
* obj7
= 0 ;
37979 PyObject
* obj8
= 0 ;
37980 PyObject
* obj9
= 0 ;
37981 char * kwnames
[] = {
37982 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37987 if (!SWIG_IsOK(res1
)) {
37988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37990 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37992 if (!SWIG_IsOK(res2
)) {
37993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37998 if (!SWIG_IsOK(ecode3
)) {
37999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38001 arg3
= static_cast< int >(val3
);
38005 arg4
= wxString_in_helper(obj3
);
38006 if (arg4
== NULL
) SWIG_fail
;
38013 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38019 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38023 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38024 if (!SWIG_IsOK(ecode7
)) {
38025 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38027 arg7
= static_cast< long >(val7
);
38031 arg8
= wxString_in_helper(obj7
);
38032 if (arg8
== NULL
) SWIG_fail
;
38037 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38038 if (!SWIG_IsOK(ecode9
)) {
38039 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38041 arg9
= static_cast< int >(val9
);
38045 arg10
= wxString_in_helper(obj9
);
38046 if (arg10
== NULL
) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38053 wxPyEndAllowThreads(__tstate
);
38054 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38089 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38090 PyObject
*resultobj
= 0;
38091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38092 wxString
*arg2
= 0 ;
38096 bool temp2
= false ;
38097 PyObject
* obj0
= 0 ;
38098 PyObject
* obj1
= 0 ;
38099 char * kwnames
[] = {
38100 (char *) "self",(char *) "path", NULL
38103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38105 if (!SWIG_IsOK(res1
)) {
38106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38108 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38110 arg2
= wxString_in_helper(obj1
);
38111 if (arg2
== NULL
) SWIG_fail
;
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38137 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38138 PyObject
*resultobj
= 0;
38139 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38140 wxString
*arg2
= 0 ;
38144 bool temp2
= false ;
38145 PyObject
* obj0
= 0 ;
38146 PyObject
* obj1
= 0 ;
38147 char * kwnames
[] = {
38148 (char *) "self",(char *) "path", NULL
38151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38153 if (!SWIG_IsOK(res1
)) {
38154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38156 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38158 arg2
= wxString_in_helper(obj1
);
38159 if (arg2
== NULL
) SWIG_fail
;
38163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38164 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38165 wxPyEndAllowThreads(__tstate
);
38166 if (PyErr_Occurred()) SWIG_fail
;
38169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38185 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38186 PyObject
*resultobj
= 0;
38187 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38191 PyObject
*swig_obj
[1] ;
38193 if (!args
) SWIG_fail
;
38194 swig_obj
[0] = args
;
38195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38196 if (!SWIG_IsOK(res1
)) {
38197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38199 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38219 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38220 PyObject
*resultobj
= 0;
38221 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38222 wxString
*arg2
= 0 ;
38225 bool temp2
= false ;
38226 PyObject
* obj0
= 0 ;
38227 PyObject
* obj1
= 0 ;
38228 char * kwnames
[] = {
38229 (char *) "self",(char *) "path", NULL
38232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",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_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38237 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38239 arg2
= wxString_in_helper(obj1
);
38240 if (arg2
== NULL
) SWIG_fail
;
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= SWIG_Py_Void();
38264 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38265 PyObject
*resultobj
= 0;
38266 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38270 PyObject
*swig_obj
[1] ;
38272 if (!args
) SWIG_fail
;
38273 swig_obj
[0] = args
;
38274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38275 if (!SWIG_IsOK(res1
)) {
38276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38278 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38282 wxPyEndAllowThreads(__tstate
);
38283 if (PyErr_Occurred()) SWIG_fail
;
38287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38298 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38299 PyObject
*resultobj
= 0;
38300 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38304 PyObject
*swig_obj
[1] ;
38306 if (!args
) SWIG_fail
;
38307 swig_obj
[0] = args
;
38308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38309 if (!SWIG_IsOK(res1
)) {
38310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38312 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38332 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38333 PyObject
*resultobj
= 0;
38334 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38335 wxString
*arg2
= 0 ;
38338 bool temp2
= false ;
38339 PyObject
* obj0
= 0 ;
38340 PyObject
* obj1
= 0 ;
38341 char * kwnames
[] = {
38342 (char *) "self",(char *) "path", NULL
38345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38347 if (!SWIG_IsOK(res1
)) {
38348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38350 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38352 arg2
= wxString_in_helper(obj1
);
38353 if (arg2
== NULL
) SWIG_fail
;
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 (arg1
)->SetPath((wxString
const &)*arg2
);
38359 wxPyEndAllowThreads(__tstate
);
38360 if (PyErr_Occurred()) SWIG_fail
;
38362 resultobj
= SWIG_Py_Void();
38377 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
= 0;
38379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 char * kwnames
[] = {
38388 (char *) "self",(char *) "show", NULL
38391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38393 if (!SWIG_IsOK(res1
)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38396 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38397 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38398 if (!SWIG_IsOK(ecode2
)) {
38399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38401 arg2
= static_cast< bool >(val2
);
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 (arg1
)->ShowHidden(arg2
);
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= SWIG_Py_Void();
38415 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38416 PyObject
*resultobj
= 0;
38417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38421 PyObject
*swig_obj
[1] ;
38423 if (!args
) SWIG_fail
;
38424 swig_obj
[0] = args
;
38425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38426 if (!SWIG_IsOK(res1
)) {
38427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38429 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38432 result
= (bool)(arg1
)->GetShowHidden();
38433 wxPyEndAllowThreads(__tstate
);
38434 if (PyErr_Occurred()) SWIG_fail
;
38437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38445 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38446 PyObject
*resultobj
= 0;
38447 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38451 PyObject
*swig_obj
[1] ;
38453 if (!args
) SWIG_fail
;
38454 swig_obj
[0] = args
;
38455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38456 if (!SWIG_IsOK(res1
)) {
38457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38459 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38462 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38479 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38480 PyObject
*resultobj
= 0;
38481 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38482 wxString
*arg2
= 0 ;
38485 bool temp2
= false ;
38486 PyObject
* obj0
= 0 ;
38487 PyObject
* obj1
= 0 ;
38488 char * kwnames
[] = {
38489 (char *) "self",(char *) "filter", NULL
38492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38494 if (!SWIG_IsOK(res1
)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38497 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38499 arg2
= wxString_in_helper(obj1
);
38500 if (arg2
== NULL
) SWIG_fail
;
38504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38505 (arg1
)->SetFilter((wxString
const &)*arg2
);
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38509 resultobj
= SWIG_Py_Void();
38524 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38525 PyObject
*resultobj
= 0;
38526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38530 PyObject
*swig_obj
[1] ;
38532 if (!args
) SWIG_fail
;
38533 swig_obj
[0] = args
;
38534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38535 if (!SWIG_IsOK(res1
)) {
38536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38538 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38541 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_From_int(static_cast< int >(result
));
38552 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
= 0;
38554 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38560 PyObject
* obj0
= 0 ;
38561 PyObject
* obj1
= 0 ;
38562 char * kwnames
[] = {
38563 (char *) "self",(char *) "n", NULL
38566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38568 if (!SWIG_IsOK(res1
)) {
38569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38571 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38573 if (!SWIG_IsOK(ecode2
)) {
38574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38576 arg2
= static_cast< int >(val2
);
38578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 (arg1
)->SetFilterIndex(arg2
);
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38583 resultobj
= SWIG_Py_Void();
38590 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38591 PyObject
*resultobj
= 0;
38592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38593 wxTreeItemId result
;
38596 PyObject
*swig_obj
[1] ;
38598 if (!args
) SWIG_fail
;
38599 swig_obj
[0] = args
;
38600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38601 if (!SWIG_IsOK(res1
)) {
38602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38604 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38607 result
= (arg1
)->GetRootId();
38608 wxPyEndAllowThreads(__tstate
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38611 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38618 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38619 PyObject
*resultobj
= 0;
38620 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38621 wxPyTreeCtrl
*result
= 0 ;
38624 PyObject
*swig_obj
[1] ;
38626 if (!args
) SWIG_fail
;
38627 swig_obj
[0] = args
;
38628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38629 if (!SWIG_IsOK(res1
)) {
38630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38632 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38635 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38636 wxPyEndAllowThreads(__tstate
);
38637 if (PyErr_Occurred()) SWIG_fail
;
38640 resultobj
= wxPyMake_wxObject(result
, 0);
38648 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38649 PyObject
*resultobj
= 0;
38650 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38651 wxDirFilterListCtrl
*result
= 0 ;
38654 PyObject
*swig_obj
[1] ;
38656 if (!args
) SWIG_fail
;
38657 swig_obj
[0] = args
;
38658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38659 if (!SWIG_IsOK(res1
)) {
38660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38662 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38676 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38677 PyObject
*resultobj
= 0;
38678 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38679 wxTreeItemId arg2
;
38680 wxString
*arg3
= 0 ;
38682 wxTreeItemId result
;
38687 bool temp3
= false ;
38689 int res4
= SWIG_TMPOBJ
;
38690 PyObject
* obj0
= 0 ;
38691 PyObject
* obj1
= 0 ;
38692 PyObject
* obj2
= 0 ;
38693 char * kwnames
[] = {
38694 (char *) "self",(char *) "parentId",(char *) "path", NULL
38698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38700 if (!SWIG_IsOK(res1
)) {
38701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38703 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38706 if (!SWIG_IsOK(res2
)) {
38707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38712 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38714 if (SWIG_IsNewObj(res2
)) delete temp
;
38718 arg3
= wxString_in_helper(obj2
);
38719 if (arg3
== NULL
) SWIG_fail
;
38723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38724 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38725 wxPyEndAllowThreads(__tstate
);
38726 if (PyErr_Occurred()) SWIG_fail
;
38728 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38729 if (SWIG_IsTmpObj(res4
)) {
38730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38732 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38749 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38750 PyObject
*resultobj
= 0;
38751 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38754 PyObject
*swig_obj
[1] ;
38756 if (!args
) SWIG_fail
;
38757 swig_obj
[0] = args
;
38758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38759 if (!SWIG_IsOK(res1
)) {
38760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38762 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38765 (arg1
)->DoResize();
38766 wxPyEndAllowThreads(__tstate
);
38767 if (PyErr_Occurred()) SWIG_fail
;
38769 resultobj
= SWIG_Py_Void();
38776 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38777 PyObject
*resultobj
= 0;
38778 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38781 PyObject
*swig_obj
[1] ;
38783 if (!args
) SWIG_fail
;
38784 swig_obj
[0] = args
;
38785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38786 if (!SWIG_IsOK(res1
)) {
38787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38789 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38792 (arg1
)->ReCreateTree();
38793 wxPyEndAllowThreads(__tstate
);
38794 if (PyErr_Occurred()) SWIG_fail
;
38796 resultobj
= SWIG_Py_Void();
38803 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38806 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38807 return SWIG_Py_Void();
38810 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38811 return SWIG_Python_InitShadowInstance(args
);
38814 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38815 PyObject
*resultobj
= 0;
38816 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38817 int arg2
= (int) (int)-1 ;
38818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38822 long arg5
= (long) 0 ;
38823 wxDirFilterListCtrl
*result
= 0 ;
38832 PyObject
* obj0
= 0 ;
38833 PyObject
* obj1
= 0 ;
38834 PyObject
* obj2
= 0 ;
38835 PyObject
* obj3
= 0 ;
38836 PyObject
* obj4
= 0 ;
38837 char * kwnames
[] = {
38838 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38843 if (!SWIG_IsOK(res1
)) {
38844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38846 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38849 if (!SWIG_IsOK(ecode2
)) {
38850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38852 arg2
= static_cast< int >(val2
);
38857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38867 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38868 if (!SWIG_IsOK(ecode5
)) {
38869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38871 arg5
= static_cast< long >(val5
);
38874 if (!wxPyCheckForApp()) SWIG_fail
;
38875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38876 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38877 wxPyEndAllowThreads(__tstate
);
38878 if (PyErr_Occurred()) SWIG_fail
;
38880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38887 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38888 PyObject
*resultobj
= 0;
38889 wxDirFilterListCtrl
*result
= 0 ;
38891 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38893 if (!wxPyCheckForApp()) SWIG_fail
;
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38896 wxPyEndAllowThreads(__tstate
);
38897 if (PyErr_Occurred()) SWIG_fail
;
38899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38906 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38907 PyObject
*resultobj
= 0;
38908 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38909 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38910 int arg3
= (int) (int)-1 ;
38911 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38912 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38913 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38914 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38915 long arg6
= (long) 0 ;
38927 PyObject
* obj0
= 0 ;
38928 PyObject
* obj1
= 0 ;
38929 PyObject
* obj2
= 0 ;
38930 PyObject
* obj3
= 0 ;
38931 PyObject
* obj4
= 0 ;
38932 PyObject
* obj5
= 0 ;
38933 char * kwnames
[] = {
38934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38939 if (!SWIG_IsOK(res1
)) {
38940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38942 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38944 if (!SWIG_IsOK(res2
)) {
38945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38947 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38950 if (!SWIG_IsOK(ecode3
)) {
38951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38953 arg3
= static_cast< int >(val3
);
38958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38968 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38969 if (!SWIG_IsOK(ecode6
)) {
38970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38972 arg6
= static_cast< long >(val6
);
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38989 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38990 PyObject
*resultobj
= 0;
38991 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38992 wxString
*arg2
= 0 ;
38996 bool temp2
= false ;
38999 PyObject
* obj0
= 0 ;
39000 PyObject
* obj1
= 0 ;
39001 PyObject
* obj2
= 0 ;
39002 char * kwnames
[] = {
39003 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39008 if (!SWIG_IsOK(res1
)) {
39009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39011 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39013 arg2
= wxString_in_helper(obj1
);
39014 if (arg2
== NULL
) SWIG_fail
;
39017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39018 if (!SWIG_IsOK(ecode3
)) {
39019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39021 arg3
= static_cast< int >(val3
);
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39024 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39028 resultobj
= SWIG_Py_Void();
39043 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39046 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39047 return SWIG_Py_Void();
39050 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39051 return SWIG_Python_InitShadowInstance(args
);
39054 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39055 PyObject
*resultobj
= 0;
39056 wxWindow
*arg1
= (wxWindow
*) 0 ;
39057 int arg2
= (int) (int)-1 ;
39058 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39059 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39060 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39061 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39062 long arg5
= (long) 0 ;
39063 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39064 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39065 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39067 wxPyControl
*result
= 0 ;
39078 bool temp7
= false ;
39079 PyObject
* obj0
= 0 ;
39080 PyObject
* obj1
= 0 ;
39081 PyObject
* obj2
= 0 ;
39082 PyObject
* obj3
= 0 ;
39083 PyObject
* obj4
= 0 ;
39084 PyObject
* obj5
= 0 ;
39085 PyObject
* obj6
= 0 ;
39086 char * kwnames
[] = {
39087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39092 if (!SWIG_IsOK(res1
)) {
39093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39098 if (!SWIG_IsOK(ecode2
)) {
39099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39101 arg2
= static_cast< int >(val2
);
39106 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39112 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39116 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39117 if (!SWIG_IsOK(ecode5
)) {
39118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39120 arg5
= static_cast< long >(val5
);
39123 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39124 if (!SWIG_IsOK(res6
)) {
39125 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39130 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39134 arg7
= wxString_in_helper(obj6
);
39135 if (arg7
== NULL
) SWIG_fail
;
39140 if (!wxPyCheckForApp()) SWIG_fail
;
39141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39142 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39143 wxPyEndAllowThreads(__tstate
);
39144 if (PyErr_Occurred()) SWIG_fail
;
39146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39161 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39162 PyObject
*resultobj
= 0;
39163 wxPyControl
*result
= 0 ;
39165 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39167 if (!wxPyCheckForApp()) SWIG_fail
;
39168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39169 result
= (wxPyControl
*)new wxPyControl();
39170 wxPyEndAllowThreads(__tstate
);
39171 if (PyErr_Occurred()) SWIG_fail
;
39173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39180 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39181 PyObject
*resultobj
= 0;
39182 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39183 PyObject
*arg2
= (PyObject
*) 0 ;
39184 PyObject
*arg3
= (PyObject
*) 0 ;
39187 PyObject
* obj0
= 0 ;
39188 PyObject
* obj1
= 0 ;
39189 PyObject
* obj2
= 0 ;
39190 char * kwnames
[] = {
39191 (char *) "self",(char *) "self",(char *) "_class", NULL
39194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39196 if (!SWIG_IsOK(res1
)) {
39197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39199 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_Py_Void();
39215 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39216 PyObject
*resultobj
= 0;
39217 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39218 wxDC
*arg2
= (wxDC
*) 0 ;
39224 PyObject
* obj0
= 0 ;
39225 PyObject
* obj1
= 0 ;
39226 char * kwnames
[] = {
39227 (char *) "self",(char *) "dc", NULL
39230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39232 if (!SWIG_IsOK(res1
)) {
39233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39235 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39237 if (!SWIG_IsOK(res2
)) {
39238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39240 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39243 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39244 wxPyEndAllowThreads(__tstate
);
39245 if (PyErr_Occurred()) SWIG_fail
;
39248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39256 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
= 0;
39258 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39273 PyObject
* obj0
= 0 ;
39274 PyObject
* obj1
= 0 ;
39275 PyObject
* obj2
= 0 ;
39276 PyObject
* obj3
= 0 ;
39277 PyObject
* obj4
= 0 ;
39278 char * kwnames
[] = {
39279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39284 if (!SWIG_IsOK(res1
)) {
39285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39287 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39289 if (!SWIG_IsOK(ecode2
)) {
39290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39292 arg2
= static_cast< int >(val2
);
39293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39294 if (!SWIG_IsOK(ecode3
)) {
39295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39297 arg3
= static_cast< int >(val3
);
39298 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39299 if (!SWIG_IsOK(ecode4
)) {
39300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39302 arg4
= static_cast< int >(val4
);
39303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39304 if (!SWIG_IsOK(ecode5
)) {
39305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39307 arg5
= static_cast< int >(val5
);
39309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39310 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39311 wxPyEndAllowThreads(__tstate
);
39312 if (PyErr_Occurred()) SWIG_fail
;
39314 resultobj
= SWIG_Py_Void();
39321 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39322 PyObject
*resultobj
= 0;
39323 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39328 int arg6
= (int) wxSIZE_AUTO
;
39341 PyObject
* obj0
= 0 ;
39342 PyObject
* obj1
= 0 ;
39343 PyObject
* obj2
= 0 ;
39344 PyObject
* obj3
= 0 ;
39345 PyObject
* obj4
= 0 ;
39346 PyObject
* obj5
= 0 ;
39347 char * kwnames
[] = {
39348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39353 if (!SWIG_IsOK(res1
)) {
39354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39356 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39358 if (!SWIG_IsOK(ecode2
)) {
39359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39361 arg2
= static_cast< int >(val2
);
39362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39363 if (!SWIG_IsOK(ecode3
)) {
39364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39366 arg3
= static_cast< int >(val3
);
39367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39368 if (!SWIG_IsOK(ecode4
)) {
39369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39371 arg4
= static_cast< int >(val4
);
39372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39373 if (!SWIG_IsOK(ecode5
)) {
39374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39376 arg5
= static_cast< int >(val5
);
39378 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39379 if (!SWIG_IsOK(ecode6
)) {
39380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39382 arg6
= static_cast< int >(val6
);
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39387 wxPyEndAllowThreads(__tstate
);
39388 if (PyErr_Occurred()) SWIG_fail
;
39390 resultobj
= SWIG_Py_Void();
39397 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39398 PyObject
*resultobj
= 0;
39399 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39408 PyObject
* obj0
= 0 ;
39409 PyObject
* obj1
= 0 ;
39410 PyObject
* obj2
= 0 ;
39411 char * kwnames
[] = {
39412 (char *) "self",(char *) "width",(char *) "height", NULL
39415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39417 if (!SWIG_IsOK(res1
)) {
39418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39420 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39422 if (!SWIG_IsOK(ecode2
)) {
39423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39425 arg2
= static_cast< int >(val2
);
39426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39427 if (!SWIG_IsOK(ecode3
)) {
39428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39430 arg3
= static_cast< int >(val3
);
39432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39433 (arg1
)->DoSetClientSize(arg2
,arg3
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39437 resultobj
= SWIG_Py_Void();
39444 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39445 PyObject
*resultobj
= 0;
39446 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39455 PyObject
* obj0
= 0 ;
39456 PyObject
* obj1
= 0 ;
39457 PyObject
* obj2
= 0 ;
39458 char * kwnames
[] = {
39459 (char *) "self",(char *) "x",(char *) "y", NULL
39462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39464 if (!SWIG_IsOK(res1
)) {
39465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39467 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39469 if (!SWIG_IsOK(ecode2
)) {
39470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39472 arg2
= static_cast< int >(val2
);
39473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39474 if (!SWIG_IsOK(ecode3
)) {
39475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39477 arg3
= static_cast< int >(val3
);
39479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39480 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39481 wxPyEndAllowThreads(__tstate
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39484 resultobj
= SWIG_Py_Void();
39491 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39492 PyObject
*resultobj
= 0;
39493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39494 int *arg2
= (int *) 0 ;
39495 int *arg3
= (int *) 0 ;
39499 int res2
= SWIG_TMPOBJ
;
39501 int res3
= SWIG_TMPOBJ
;
39502 PyObject
*swig_obj
[1] ;
39506 if (!args
) SWIG_fail
;
39507 swig_obj
[0] = args
;
39508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39509 if (!SWIG_IsOK(res1
)) {
39510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39512 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39515 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39516 wxPyEndAllowThreads(__tstate
);
39517 if (PyErr_Occurred()) SWIG_fail
;
39519 resultobj
= SWIG_Py_Void();
39520 if (SWIG_IsTmpObj(res2
)) {
39521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39523 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39526 if (SWIG_IsTmpObj(res3
)) {
39527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39529 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39538 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39539 PyObject
*resultobj
= 0;
39540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39541 int *arg2
= (int *) 0 ;
39542 int *arg3
= (int *) 0 ;
39546 int res2
= SWIG_TMPOBJ
;
39548 int res3
= SWIG_TMPOBJ
;
39549 PyObject
*swig_obj
[1] ;
39553 if (!args
) SWIG_fail
;
39554 swig_obj
[0] = args
;
39555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39556 if (!SWIG_IsOK(res1
)) {
39557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39559 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39563 wxPyEndAllowThreads(__tstate
);
39564 if (PyErr_Occurred()) SWIG_fail
;
39566 resultobj
= SWIG_Py_Void();
39567 if (SWIG_IsTmpObj(res2
)) {
39568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39570 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39573 if (SWIG_IsTmpObj(res3
)) {
39574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39576 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39585 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39586 PyObject
*resultobj
= 0;
39587 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39588 int *arg2
= (int *) 0 ;
39589 int *arg3
= (int *) 0 ;
39593 int res2
= SWIG_TMPOBJ
;
39595 int res3
= SWIG_TMPOBJ
;
39596 PyObject
*swig_obj
[1] ;
39600 if (!args
) SWIG_fail
;
39601 swig_obj
[0] = args
;
39602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39603 if (!SWIG_IsOK(res1
)) {
39604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39606 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39609 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39610 wxPyEndAllowThreads(__tstate
);
39611 if (PyErr_Occurred()) SWIG_fail
;
39613 resultobj
= SWIG_Py_Void();
39614 if (SWIG_IsTmpObj(res2
)) {
39615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39617 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39620 if (SWIG_IsTmpObj(res3
)) {
39621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39623 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39632 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39633 PyObject
*resultobj
= 0;
39634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39638 PyObject
*swig_obj
[1] ;
39640 if (!args
) SWIG_fail
;
39641 swig_obj
[0] = args
;
39642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39643 if (!SWIG_IsOK(res1
)) {
39644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39646 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39649 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39650 wxPyEndAllowThreads(__tstate
);
39651 if (PyErr_Occurred()) SWIG_fail
;
39653 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39660 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39661 PyObject
*resultobj
= 0;
39662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39666 PyObject
*swig_obj
[1] ;
39668 if (!args
) SWIG_fail
;
39669 swig_obj
[0] = args
;
39670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39671 if (!SWIG_IsOK(res1
)) {
39672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39674 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39678 wxPyEndAllowThreads(__tstate
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39681 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39688 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39689 PyObject
*resultobj
= 0;
39690 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39691 SwigValueWrapper
<wxVisualAttributes
> result
;
39694 PyObject
*swig_obj
[1] ;
39696 if (!args
) SWIG_fail
;
39697 swig_obj
[0] = args
;
39698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39699 if (!SWIG_IsOK(res1
)) {
39700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39702 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 result
= (arg1
)->GetDefaultAttributes();
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39709 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39716 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39717 PyObject
*resultobj
= 0;
39718 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39721 PyObject
*swig_obj
[1] ;
39723 if (!args
) SWIG_fail
;
39724 swig_obj
[0] = args
;
39725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39726 if (!SWIG_IsOK(res1
)) {
39727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39729 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 (arg1
)->OnInternalIdle();
39733 wxPyEndAllowThreads(__tstate
);
39734 if (PyErr_Occurred()) SWIG_fail
;
39736 resultobj
= SWIG_Py_Void();
39743 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39746 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39747 return SWIG_Py_Void();
39750 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39751 return SWIG_Python_InitShadowInstance(args
);
39754 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39755 PyObject
*resultobj
= 0;
39756 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39757 int arg2
= (int) 0 ;
39758 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39759 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39760 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39761 wxHelpEvent
*result
= 0 ;
39769 PyObject
* obj0
= 0 ;
39770 PyObject
* obj1
= 0 ;
39771 PyObject
* obj2
= 0 ;
39772 PyObject
* obj3
= 0 ;
39773 char * kwnames
[] = {
39774 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39780 if (!SWIG_IsOK(ecode1
)) {
39781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39783 arg1
= static_cast< wxEventType
>(val1
);
39786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39787 if (!SWIG_IsOK(ecode2
)) {
39788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39790 arg2
= static_cast< int >(val2
);
39795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39800 if (!SWIG_IsOK(ecode4
)) {
39801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39803 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39807 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39808 wxPyEndAllowThreads(__tstate
);
39809 if (PyErr_Occurred()) SWIG_fail
;
39811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39818 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39819 PyObject
*resultobj
= 0;
39820 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39824 PyObject
*swig_obj
[1] ;
39826 if (!args
) SWIG_fail
;
39827 swig_obj
[0] = args
;
39828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39829 if (!SWIG_IsOK(res1
)) {
39830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39832 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39835 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39836 wxPyEndAllowThreads(__tstate
);
39837 if (PyErr_Occurred()) SWIG_fail
;
39839 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39846 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39847 PyObject
*resultobj
= 0;
39848 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39849 wxPoint
*arg2
= 0 ;
39853 PyObject
* obj0
= 0 ;
39854 PyObject
* obj1
= 0 ;
39855 char * kwnames
[] = {
39856 (char *) "self",(char *) "pos", NULL
39859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39861 if (!SWIG_IsOK(res1
)) {
39862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39864 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39871 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39872 wxPyEndAllowThreads(__tstate
);
39873 if (PyErr_Occurred()) SWIG_fail
;
39875 resultobj
= SWIG_Py_Void();
39882 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39883 PyObject
*resultobj
= 0;
39884 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39885 wxString
*result
= 0 ;
39888 PyObject
*swig_obj
[1] ;
39890 if (!args
) SWIG_fail
;
39891 swig_obj
[0] = args
;
39892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39893 if (!SWIG_IsOK(res1
)) {
39894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39896 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39900 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39901 result
= (wxString
*) &_result_ref
;
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39908 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39910 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39919 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39920 PyObject
*resultobj
= 0;
39921 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39922 wxString
*arg2
= 0 ;
39925 bool temp2
= false ;
39926 PyObject
* obj0
= 0 ;
39927 PyObject
* obj1
= 0 ;
39928 char * kwnames
[] = {
39929 (char *) "self",(char *) "link", NULL
39932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39934 if (!SWIG_IsOK(res1
)) {
39935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39937 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39939 arg2
= wxString_in_helper(obj1
);
39940 if (arg2
== NULL
) SWIG_fail
;
39944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39945 (arg1
)->SetLink((wxString
const &)*arg2
);
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39949 resultobj
= SWIG_Py_Void();
39964 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39965 PyObject
*resultobj
= 0;
39966 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39967 wxString
*result
= 0 ;
39970 PyObject
*swig_obj
[1] ;
39972 if (!args
) SWIG_fail
;
39973 swig_obj
[0] = args
;
39974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39975 if (!SWIG_IsOK(res1
)) {
39976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39978 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39982 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39983 result
= (wxString
*) &_result_ref
;
39985 wxPyEndAllowThreads(__tstate
);
39986 if (PyErr_Occurred()) SWIG_fail
;
39990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40001 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40002 PyObject
*resultobj
= 0;
40003 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40004 wxString
*arg2
= 0 ;
40007 bool temp2
= false ;
40008 PyObject
* obj0
= 0 ;
40009 PyObject
* obj1
= 0 ;
40010 char * kwnames
[] = {
40011 (char *) "self",(char *) "target", NULL
40014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40016 if (!SWIG_IsOK(res1
)) {
40017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40019 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40021 arg2
= wxString_in_helper(obj1
);
40022 if (arg2
== NULL
) SWIG_fail
;
40026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40027 (arg1
)->SetTarget((wxString
const &)*arg2
);
40028 wxPyEndAllowThreads(__tstate
);
40029 if (PyErr_Occurred()) SWIG_fail
;
40031 resultobj
= SWIG_Py_Void();
40046 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40047 PyObject
*resultobj
= 0;
40048 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40049 wxHelpEvent::Origin result
;
40052 PyObject
*swig_obj
[1] ;
40054 if (!args
) SWIG_fail
;
40055 swig_obj
[0] = args
;
40056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40057 if (!SWIG_IsOK(res1
)) {
40058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40060 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40064 wxPyEndAllowThreads(__tstate
);
40065 if (PyErr_Occurred()) SWIG_fail
;
40067 resultobj
= SWIG_From_int(static_cast< int >(result
));
40074 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40075 PyObject
*resultobj
= 0;
40076 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40077 wxHelpEvent::Origin arg2
;
40082 PyObject
* obj0
= 0 ;
40083 PyObject
* obj1
= 0 ;
40084 char * kwnames
[] = {
40085 (char *) "self",(char *) "origin", NULL
40088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40090 if (!SWIG_IsOK(res1
)) {
40091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40093 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40095 if (!SWIG_IsOK(ecode2
)) {
40096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40098 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 (arg1
)->SetOrigin(arg2
);
40102 wxPyEndAllowThreads(__tstate
);
40103 if (PyErr_Occurred()) SWIG_fail
;
40105 resultobj
= SWIG_Py_Void();
40112 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40115 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40116 return SWIG_Py_Void();
40119 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40120 return SWIG_Python_InitShadowInstance(args
);
40123 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
= 0;
40125 wxWindow
*arg1
= (wxWindow
*) NULL
;
40126 bool arg2
= (bool) true ;
40127 wxContextHelp
*result
= 0 ;
40132 PyObject
* obj0
= 0 ;
40133 PyObject
* obj1
= 0 ;
40134 char * kwnames
[] = {
40135 (char *) "window",(char *) "doNow", NULL
40138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40141 if (!SWIG_IsOK(res1
)) {
40142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40147 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40148 if (!SWIG_IsOK(ecode2
)) {
40149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40151 arg2
= static_cast< bool >(val2
);
40154 if (!wxPyCheckForApp()) SWIG_fail
;
40155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40156 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40157 wxPyEndAllowThreads(__tstate
);
40158 if (PyErr_Occurred()) SWIG_fail
;
40160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40167 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40168 PyObject
*resultobj
= 0;
40169 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40172 PyObject
*swig_obj
[1] ;
40174 if (!args
) SWIG_fail
;
40175 swig_obj
[0] = args
;
40176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40177 if (!SWIG_IsOK(res1
)) {
40178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40180 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40185 wxPyEndAllowThreads(__tstate
);
40186 if (PyErr_Occurred()) SWIG_fail
;
40188 resultobj
= SWIG_Py_Void();
40195 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40196 PyObject
*resultobj
= 0;
40197 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40198 wxWindow
*arg2
= (wxWindow
*) NULL
;
40204 PyObject
* obj0
= 0 ;
40205 PyObject
* obj1
= 0 ;
40206 char * kwnames
[] = {
40207 (char *) "self",(char *) "window", NULL
40210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40212 if (!SWIG_IsOK(res1
)) {
40213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40215 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40218 if (!SWIG_IsOK(res2
)) {
40219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40225 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40226 wxPyEndAllowThreads(__tstate
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40238 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40239 PyObject
*resultobj
= 0;
40240 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40244 PyObject
*swig_obj
[1] ;
40246 if (!args
) SWIG_fail
;
40247 swig_obj
[0] = args
;
40248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40249 if (!SWIG_IsOK(res1
)) {
40250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40252 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 result
= (bool)(arg1
)->EndContextHelp();
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40268 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40271 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40272 return SWIG_Py_Void();
40275 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40276 return SWIG_Python_InitShadowInstance(args
);
40279 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40280 PyObject
*resultobj
= 0;
40281 wxWindow
*arg1
= (wxWindow
*) 0 ;
40282 int arg2
= (int) wxID_CONTEXT_HELP
;
40283 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40284 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40285 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40286 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40287 long arg5
= (long) wxBU_AUTODRAW
;
40288 wxContextHelpButton
*result
= 0 ;
40297 PyObject
* obj0
= 0 ;
40298 PyObject
* obj1
= 0 ;
40299 PyObject
* obj2
= 0 ;
40300 PyObject
* obj3
= 0 ;
40301 PyObject
* obj4
= 0 ;
40302 char * kwnames
[] = {
40303 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40308 if (!SWIG_IsOK(res1
)) {
40309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40314 if (!SWIG_IsOK(ecode2
)) {
40315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40317 arg2
= static_cast< int >(val2
);
40322 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40328 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40332 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40333 if (!SWIG_IsOK(ecode5
)) {
40334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40336 arg5
= static_cast< long >(val5
);
40339 if (!wxPyCheckForApp()) SWIG_fail
;
40340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40341 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40342 wxPyEndAllowThreads(__tstate
);
40343 if (PyErr_Occurred()) SWIG_fail
;
40345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40352 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40355 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40356 return SWIG_Py_Void();
40359 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40360 return SWIG_Python_InitShadowInstance(args
);
40363 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40364 PyObject
*resultobj
= 0;
40365 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40368 PyObject
*swig_obj
[1] ;
40370 if (!args
) SWIG_fail
;
40371 swig_obj
[0] = args
;
40372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40373 if (!SWIG_IsOK(res1
)) {
40374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40376 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40381 wxPyEndAllowThreads(__tstate
);
40382 if (PyErr_Occurred()) SWIG_fail
;
40384 resultobj
= SWIG_Py_Void();
40391 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40392 PyObject
*resultobj
= 0;
40393 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40394 wxHelpProvider
*result
= 0 ;
40396 PyObject
* obj0
= 0 ;
40397 char * kwnames
[] = {
40398 (char *) "helpProvider", NULL
40401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40402 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40403 if (!SWIG_IsOK(res1
)) {
40404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40408 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40409 wxPyEndAllowThreads(__tstate
);
40410 if (PyErr_Occurred()) SWIG_fail
;
40412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40419 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40420 PyObject
*resultobj
= 0;
40421 wxHelpProvider
*result
= 0 ;
40423 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40426 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40427 wxPyEndAllowThreads(__tstate
);
40428 if (PyErr_Occurred()) SWIG_fail
;
40430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40437 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40438 PyObject
*resultobj
= 0;
40439 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40440 wxWindow
*arg2
= (wxWindow
*) 0 ;
40446 PyObject
* obj0
= 0 ;
40447 PyObject
* obj1
= 0 ;
40448 char * kwnames
[] = {
40449 (char *) "self",(char *) "window", NULL
40452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40454 if (!SWIG_IsOK(res1
)) {
40455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40457 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40459 if (!SWIG_IsOK(res2
)) {
40460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40465 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40466 wxPyEndAllowThreads(__tstate
);
40467 if (PyErr_Occurred()) SWIG_fail
;
40471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40482 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40483 PyObject
*resultobj
= 0;
40484 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40485 wxWindow
*arg2
= (wxWindow
*) 0 ;
40491 PyObject
* obj0
= 0 ;
40492 PyObject
* obj1
= 0 ;
40493 char * kwnames
[] = {
40494 (char *) "self",(char *) "window", NULL
40497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40499 if (!SWIG_IsOK(res1
)) {
40500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40502 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40504 if (!SWIG_IsOK(res2
)) {
40505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40507 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40510 result
= (bool)(arg1
)->ShowHelp(arg2
);
40511 wxPyEndAllowThreads(__tstate
);
40512 if (PyErr_Occurred()) SWIG_fail
;
40515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40523 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40524 PyObject
*resultobj
= 0;
40525 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40526 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40527 wxPoint
*arg3
= 0 ;
40528 wxHelpEvent::Origin arg4
;
40537 PyObject
* obj0
= 0 ;
40538 PyObject
* obj1
= 0 ;
40539 PyObject
* obj2
= 0 ;
40540 PyObject
* obj3
= 0 ;
40541 char * kwnames
[] = {
40542 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40547 if (!SWIG_IsOK(res1
)) {
40548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40550 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40552 if (!SWIG_IsOK(res2
)) {
40553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40555 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40561 if (!SWIG_IsOK(ecode4
)) {
40562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40564 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40567 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40568 wxPyEndAllowThreads(__tstate
);
40569 if (PyErr_Occurred()) SWIG_fail
;
40572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40580 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40581 PyObject
*resultobj
= 0;
40582 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40583 wxWindow
*arg2
= (wxWindow
*) 0 ;
40584 wxString
*arg3
= 0 ;
40589 bool temp3
= false ;
40590 PyObject
* obj0
= 0 ;
40591 PyObject
* obj1
= 0 ;
40592 PyObject
* obj2
= 0 ;
40593 char * kwnames
[] = {
40594 (char *) "self",(char *) "window",(char *) "text", NULL
40597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40599 if (!SWIG_IsOK(res1
)) {
40600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40602 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40604 if (!SWIG_IsOK(res2
)) {
40605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40607 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40609 arg3
= wxString_in_helper(obj2
);
40610 if (arg3
== NULL
) SWIG_fail
;
40614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40615 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40616 wxPyEndAllowThreads(__tstate
);
40617 if (PyErr_Occurred()) SWIG_fail
;
40619 resultobj
= SWIG_Py_Void();
40634 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40635 PyObject
*resultobj
= 0;
40636 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40638 wxString
*arg3
= 0 ;
40643 bool temp3
= false ;
40644 PyObject
* obj0
= 0 ;
40645 PyObject
* obj1
= 0 ;
40646 PyObject
* obj2
= 0 ;
40647 char * kwnames
[] = {
40648 (char *) "self",(char *) "id",(char *) "text", NULL
40651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40653 if (!SWIG_IsOK(res1
)) {
40654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40656 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40658 if (!SWIG_IsOK(ecode2
)) {
40659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40661 arg2
= static_cast< int >(val2
);
40663 arg3
= wxString_in_helper(obj2
);
40664 if (arg3
== NULL
) SWIG_fail
;
40668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40669 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40670 wxPyEndAllowThreads(__tstate
);
40671 if (PyErr_Occurred()) SWIG_fail
;
40673 resultobj
= SWIG_Py_Void();
40688 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40689 PyObject
*resultobj
= 0;
40690 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40691 wxWindow
*arg2
= (wxWindow
*) 0 ;
40696 PyObject
* obj0
= 0 ;
40697 PyObject
* obj1
= 0 ;
40698 char * kwnames
[] = {
40699 (char *) "self",(char *) "window", NULL
40702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40704 if (!SWIG_IsOK(res1
)) {
40705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40707 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40709 if (!SWIG_IsOK(res2
)) {
40710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40712 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40715 (arg1
)->RemoveHelp(arg2
);
40716 wxPyEndAllowThreads(__tstate
);
40717 if (PyErr_Occurred()) SWIG_fail
;
40719 resultobj
= SWIG_Py_Void();
40726 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40727 PyObject
*resultobj
= 0;
40728 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40731 PyObject
*swig_obj
[1] ;
40733 if (!args
) SWIG_fail
;
40734 swig_obj
[0] = args
;
40735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40736 if (!SWIG_IsOK(res1
)) {
40737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40739 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40742 wxHelpProvider_Destroy(arg1
);
40743 wxPyEndAllowThreads(__tstate
);
40744 if (PyErr_Occurred()) SWIG_fail
;
40746 resultobj
= SWIG_Py_Void();
40753 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40756 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40757 return SWIG_Py_Void();
40760 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40761 PyObject
*resultobj
= 0;
40762 wxSimpleHelpProvider
*result
= 0 ;
40764 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40767 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40778 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40781 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40782 return SWIG_Py_Void();
40785 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40786 return SWIG_Python_InitShadowInstance(args
);
40789 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40790 PyObject
*resultobj
= 0;
40791 wxBitmap
*arg1
= 0 ;
40792 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40793 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40794 wxGenericDragImage
*result
= 0 ;
40799 PyObject
* obj0
= 0 ;
40800 PyObject
* obj1
= 0 ;
40801 char * kwnames
[] = {
40802 (char *) "image",(char *) "cursor", NULL
40805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40806 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40807 if (!SWIG_IsOK(res1
)) {
40808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40813 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40816 if (!SWIG_IsOK(res2
)) {
40817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40822 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40825 if (!wxPyCheckForApp()) SWIG_fail
;
40826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40827 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40828 wxPyEndAllowThreads(__tstate
);
40829 if (PyErr_Occurred()) SWIG_fail
;
40831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40838 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40839 PyObject
*resultobj
= 0;
40841 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40842 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40843 wxGenericDragImage
*result
= 0 ;
40848 PyObject
* obj0
= 0 ;
40849 PyObject
* obj1
= 0 ;
40850 char * kwnames
[] = {
40851 (char *) "image",(char *) "cursor", NULL
40854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40855 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40856 if (!SWIG_IsOK(res1
)) {
40857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40862 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40865 if (!SWIG_IsOK(res2
)) {
40866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40871 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40874 if (!wxPyCheckForApp()) SWIG_fail
;
40875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40876 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40877 wxPyEndAllowThreads(__tstate
);
40878 if (PyErr_Occurred()) SWIG_fail
;
40880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40887 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40888 PyObject
*resultobj
= 0;
40889 wxString
*arg1
= 0 ;
40890 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40891 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40892 wxGenericDragImage
*result
= 0 ;
40893 bool temp1
= false ;
40896 PyObject
* obj0
= 0 ;
40897 PyObject
* obj1
= 0 ;
40898 char * kwnames
[] = {
40899 (char *) "str",(char *) "cursor", NULL
40902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40904 arg1
= wxString_in_helper(obj0
);
40905 if (arg1
== NULL
) SWIG_fail
;
40909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40910 if (!SWIG_IsOK(res2
)) {
40911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40916 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40919 if (!wxPyCheckForApp()) SWIG_fail
;
40920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40921 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40922 wxPyEndAllowThreads(__tstate
);
40923 if (PyErr_Occurred()) SWIG_fail
;
40925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40940 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40941 PyObject
*resultobj
= 0;
40942 wxPyTreeCtrl
*arg1
= 0 ;
40943 wxTreeItemId
*arg2
= 0 ;
40944 wxGenericDragImage
*result
= 0 ;
40949 PyObject
* obj0
= 0 ;
40950 PyObject
* obj1
= 0 ;
40951 char * kwnames
[] = {
40952 (char *) "treeCtrl",(char *) "id", NULL
40955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40956 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40957 if (!SWIG_IsOK(res1
)) {
40958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40965 if (!SWIG_IsOK(res2
)) {
40966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40971 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40973 if (!wxPyCheckForApp()) SWIG_fail
;
40974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40975 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40986 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40987 PyObject
*resultobj
= 0;
40988 wxPyListCtrl
*arg1
= 0 ;
40990 wxGenericDragImage
*result
= 0 ;
40995 PyObject
* obj0
= 0 ;
40996 PyObject
* obj1
= 0 ;
40997 char * kwnames
[] = {
40998 (char *) "listCtrl",(char *) "id", NULL
41001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41002 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41003 if (!SWIG_IsOK(res1
)) {
41004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41011 if (!SWIG_IsOK(ecode2
)) {
41012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41014 arg2
= static_cast< long >(val2
);
41016 if (!wxPyCheckForApp()) SWIG_fail
;
41017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41018 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41019 wxPyEndAllowThreads(__tstate
);
41020 if (PyErr_Occurred()) SWIG_fail
;
41022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41029 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41030 PyObject
*resultobj
= 0;
41031 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41034 PyObject
*swig_obj
[1] ;
41036 if (!args
) SWIG_fail
;
41037 swig_obj
[0] = args
;
41038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41039 if (!SWIG_IsOK(res1
)) {
41040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41042 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41047 wxPyEndAllowThreads(__tstate
);
41048 if (PyErr_Occurred()) SWIG_fail
;
41050 resultobj
= SWIG_Py_Void();
41057 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41058 PyObject
*resultobj
= 0;
41059 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41060 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41065 PyObject
* obj0
= 0 ;
41066 PyObject
* obj1
= 0 ;
41067 char * kwnames
[] = {
41068 (char *) "self",(char *) "bitmap", NULL
41071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41073 if (!SWIG_IsOK(res1
)) {
41074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41076 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41078 if (!SWIG_IsOK(res2
)) {
41079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41081 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 (arg1
)->SetBackingBitmap(arg2
);
41085 wxPyEndAllowThreads(__tstate
);
41086 if (PyErr_Occurred()) SWIG_fail
;
41088 resultobj
= SWIG_Py_Void();
41095 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41096 PyObject
*resultobj
= 0;
41097 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41098 wxPoint
*arg2
= 0 ;
41099 wxWindow
*arg3
= (wxWindow
*) 0 ;
41100 bool arg4
= (bool) false ;
41101 wxRect
*arg5
= (wxRect
*) NULL
;
41112 PyObject
* obj0
= 0 ;
41113 PyObject
* obj1
= 0 ;
41114 PyObject
* obj2
= 0 ;
41115 PyObject
* obj3
= 0 ;
41116 PyObject
* obj4
= 0 ;
41117 char * kwnames
[] = {
41118 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41123 if (!SWIG_IsOK(res1
)) {
41124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41126 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41131 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41132 if (!SWIG_IsOK(res3
)) {
41133 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41135 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41137 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41138 if (!SWIG_IsOK(ecode4
)) {
41139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41141 arg4
= static_cast< bool >(val4
);
41144 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41145 if (!SWIG_IsOK(res5
)) {
41146 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41148 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41152 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41153 wxPyEndAllowThreads(__tstate
);
41154 if (PyErr_Occurred()) SWIG_fail
;
41157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41165 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41166 PyObject
*resultobj
= 0;
41167 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41168 wxPoint
*arg2
= 0 ;
41169 wxWindow
*arg3
= (wxWindow
*) 0 ;
41170 wxWindow
*arg4
= (wxWindow
*) 0 ;
41179 PyObject
* obj0
= 0 ;
41180 PyObject
* obj1
= 0 ;
41181 PyObject
* obj2
= 0 ;
41182 PyObject
* obj3
= 0 ;
41183 char * kwnames
[] = {
41184 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41189 if (!SWIG_IsOK(res1
)) {
41190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41192 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41197 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41198 if (!SWIG_IsOK(res3
)) {
41199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41201 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41202 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41203 if (!SWIG_IsOK(res4
)) {
41204 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41206 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41209 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41210 wxPyEndAllowThreads(__tstate
);
41211 if (PyErr_Occurred()) SWIG_fail
;
41214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41222 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41223 PyObject
*resultobj
= 0;
41224 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41228 PyObject
*swig_obj
[1] ;
41230 if (!args
) SWIG_fail
;
41231 swig_obj
[0] = args
;
41232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41233 if (!SWIG_IsOK(res1
)) {
41234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41236 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41239 result
= (bool)(arg1
)->EndDrag();
41240 wxPyEndAllowThreads(__tstate
);
41241 if (PyErr_Occurred()) SWIG_fail
;
41244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41252 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41253 PyObject
*resultobj
= 0;
41254 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41255 wxPoint
*arg2
= 0 ;
41260 PyObject
* obj0
= 0 ;
41261 PyObject
* obj1
= 0 ;
41262 char * kwnames
[] = {
41263 (char *) "self",(char *) "pt", NULL
41266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41268 if (!SWIG_IsOK(res1
)) {
41269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41271 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41278 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41279 wxPyEndAllowThreads(__tstate
);
41280 if (PyErr_Occurred()) SWIG_fail
;
41283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41291 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41292 PyObject
*resultobj
= 0;
41293 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41297 PyObject
*swig_obj
[1] ;
41299 if (!args
) SWIG_fail
;
41300 swig_obj
[0] = args
;
41301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41302 if (!SWIG_IsOK(res1
)) {
41303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41305 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41308 result
= (bool)(arg1
)->Show();
41309 wxPyEndAllowThreads(__tstate
);
41310 if (PyErr_Occurred()) SWIG_fail
;
41313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41321 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41322 PyObject
*resultobj
= 0;
41323 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41327 PyObject
*swig_obj
[1] ;
41329 if (!args
) SWIG_fail
;
41330 swig_obj
[0] = args
;
41331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41332 if (!SWIG_IsOK(res1
)) {
41333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41335 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 result
= (bool)(arg1
)->Hide();
41339 wxPyEndAllowThreads(__tstate
);
41340 if (PyErr_Occurred()) SWIG_fail
;
41343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41351 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41352 PyObject
*resultobj
= 0;
41353 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41354 wxPoint
*arg2
= 0 ;
41359 PyObject
* obj0
= 0 ;
41360 PyObject
* obj1
= 0 ;
41361 char * kwnames
[] = {
41362 (char *) "self",(char *) "pos", NULL
41365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41367 if (!SWIG_IsOK(res1
)) {
41368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41370 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41377 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41378 wxPyEndAllowThreads(__tstate
);
41379 if (PyErr_Occurred()) SWIG_fail
;
41381 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41388 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41389 PyObject
*resultobj
= 0;
41390 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41392 wxPoint
*arg3
= 0 ;
41399 PyObject
* obj0
= 0 ;
41400 PyObject
* obj1
= 0 ;
41401 PyObject
* obj2
= 0 ;
41402 char * kwnames
[] = {
41403 (char *) "self",(char *) "dc",(char *) "pos", NULL
41406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41408 if (!SWIG_IsOK(res1
)) {
41409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41411 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41413 if (!SWIG_IsOK(res2
)) {
41414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41419 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41426 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41427 wxPyEndAllowThreads(__tstate
);
41428 if (PyErr_Occurred()) SWIG_fail
;
41431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41439 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41440 PyObject
*resultobj
= 0;
41441 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41443 wxMemoryDC
*arg3
= 0 ;
41455 PyObject
* obj0
= 0 ;
41456 PyObject
* obj1
= 0 ;
41457 PyObject
* obj2
= 0 ;
41458 PyObject
* obj3
= 0 ;
41459 PyObject
* obj4
= 0 ;
41460 char * kwnames
[] = {
41461 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41466 if (!SWIG_IsOK(res1
)) {
41467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41469 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41471 if (!SWIG_IsOK(res2
)) {
41472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41477 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41478 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41479 if (!SWIG_IsOK(res3
)) {
41480 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41485 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41488 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41492 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41496 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41497 wxPyEndAllowThreads(__tstate
);
41498 if (PyErr_Occurred()) SWIG_fail
;
41501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41509 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41510 PyObject
*resultobj
= 0;
41511 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41512 wxPoint
*arg2
= 0 ;
41513 wxPoint
*arg3
= 0 ;
41525 PyObject
* obj0
= 0 ;
41526 PyObject
* obj1
= 0 ;
41527 PyObject
* obj2
= 0 ;
41528 PyObject
* obj3
= 0 ;
41529 PyObject
* obj4
= 0 ;
41530 char * kwnames
[] = {
41531 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41536 if (!SWIG_IsOK(res1
)) {
41537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41539 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41548 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41549 if (!SWIG_IsOK(ecode4
)) {
41550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41552 arg4
= static_cast< bool >(val4
);
41553 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41554 if (!SWIG_IsOK(ecode5
)) {
41555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41557 arg5
= static_cast< bool >(val5
);
41559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41560 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41561 wxPyEndAllowThreads(__tstate
);
41562 if (PyErr_Occurred()) SWIG_fail
;
41565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41573 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41576 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41577 return SWIG_Py_Void();
41580 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41581 return SWIG_Python_InitShadowInstance(args
);
41584 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41585 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41590 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41591 PyObject
*pyobj
= 0;
41595 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41597 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41604 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41605 PyObject
*resultobj
= 0;
41606 wxWindow
*arg1
= (wxWindow
*) 0 ;
41607 int arg2
= (int) -1 ;
41608 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41609 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41614 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41615 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41616 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41617 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41619 wxDatePickerCtrl
*result
= 0 ;
41632 bool temp8
= false ;
41633 PyObject
* obj0
= 0 ;
41634 PyObject
* obj1
= 0 ;
41635 PyObject
* obj2
= 0 ;
41636 PyObject
* obj3
= 0 ;
41637 PyObject
* obj4
= 0 ;
41638 PyObject
* obj5
= 0 ;
41639 PyObject
* obj6
= 0 ;
41640 PyObject
* obj7
= 0 ;
41641 char * kwnames
[] = {
41642 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41647 if (!SWIG_IsOK(res1
)) {
41648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41653 if (!SWIG_IsOK(ecode2
)) {
41654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41656 arg2
= static_cast< int >(val2
);
41659 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41660 if (!SWIG_IsOK(res3
)) {
41661 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41666 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41681 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41682 if (!SWIG_IsOK(ecode6
)) {
41683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41685 arg6
= static_cast< long >(val6
);
41688 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41689 if (!SWIG_IsOK(res7
)) {
41690 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41695 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41699 arg8
= wxString_in_helper(obj7
);
41700 if (arg8
== NULL
) SWIG_fail
;
41705 if (!wxPyCheckForApp()) SWIG_fail
;
41706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41707 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41708 wxPyEndAllowThreads(__tstate
);
41709 if (PyErr_Occurred()) SWIG_fail
;
41711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41726 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41727 PyObject
*resultobj
= 0;
41728 wxDatePickerCtrl
*result
= 0 ;
41730 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41732 if (!wxPyCheckForApp()) SWIG_fail
;
41733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41734 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41735 wxPyEndAllowThreads(__tstate
);
41736 if (PyErr_Occurred()) SWIG_fail
;
41738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41745 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41746 PyObject
*resultobj
= 0;
41747 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41748 wxWindow
*arg2
= (wxWindow
*) 0 ;
41749 int arg3
= (int) -1 ;
41750 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41751 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41752 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41753 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41754 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41755 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41756 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41757 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41758 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41759 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41760 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41776 bool temp9
= 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 PyObject
* obj8
= 0 ;
41786 char * kwnames
[] = {
41787 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41792 if (!SWIG_IsOK(res1
)) {
41793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41795 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41797 if (!SWIG_IsOK(res2
)) {
41798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41803 if (!SWIG_IsOK(ecode3
)) {
41804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41806 arg3
= static_cast< int >(val3
);
41809 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41810 if (!SWIG_IsOK(res4
)) {
41811 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41816 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41821 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41827 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41831 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41832 if (!SWIG_IsOK(ecode7
)) {
41833 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41835 arg7
= static_cast< long >(val7
);
41838 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41839 if (!SWIG_IsOK(res8
)) {
41840 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41845 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41849 arg9
= wxString_in_helper(obj8
);
41850 if (arg9
== NULL
) SWIG_fail
;
41855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41857 wxPyEndAllowThreads(__tstate
);
41858 if (PyErr_Occurred()) SWIG_fail
;
41861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41877 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41878 PyObject
*resultobj
= 0;
41879 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41880 wxDateTime
*arg2
= 0 ;
41885 PyObject
* obj0
= 0 ;
41886 PyObject
* obj1
= 0 ;
41887 char * kwnames
[] = {
41888 (char *) "self",(char *) "dt", NULL
41891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41893 if (!SWIG_IsOK(res1
)) {
41894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41896 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41898 if (!SWIG_IsOK(res2
)) {
41899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41904 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41907 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41908 wxPyEndAllowThreads(__tstate
);
41909 if (PyErr_Occurred()) SWIG_fail
;
41911 resultobj
= SWIG_Py_Void();
41918 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41919 PyObject
*resultobj
= 0;
41920 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41924 PyObject
*swig_obj
[1] ;
41926 if (!args
) SWIG_fail
;
41927 swig_obj
[0] = args
;
41928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41929 if (!SWIG_IsOK(res1
)) {
41930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41932 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41935 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41936 wxPyEndAllowThreads(__tstate
);
41937 if (PyErr_Occurred()) SWIG_fail
;
41939 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41946 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41947 PyObject
*resultobj
= 0;
41948 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41949 wxDateTime
*arg2
= 0 ;
41950 wxDateTime
*arg3
= 0 ;
41957 PyObject
* obj0
= 0 ;
41958 PyObject
* obj1
= 0 ;
41959 PyObject
* obj2
= 0 ;
41960 char * kwnames
[] = {
41961 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41966 if (!SWIG_IsOK(res1
)) {
41967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41969 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41971 if (!SWIG_IsOK(res2
)) {
41972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41977 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41978 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41979 if (!SWIG_IsOK(res3
)) {
41980 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41985 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41988 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41989 wxPyEndAllowThreads(__tstate
);
41990 if (PyErr_Occurred()) SWIG_fail
;
41992 resultobj
= SWIG_Py_Void();
41999 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42000 PyObject
*resultobj
= 0;
42001 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42005 PyObject
*swig_obj
[1] ;
42007 if (!args
) SWIG_fail
;
42008 swig_obj
[0] = args
;
42009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42010 if (!SWIG_IsOK(res1
)) {
42011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42013 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42016 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42017 wxPyEndAllowThreads(__tstate
);
42018 if (PyErr_Occurred()) SWIG_fail
;
42020 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42027 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42028 PyObject
*resultobj
= 0;
42029 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42033 PyObject
*swig_obj
[1] ;
42035 if (!args
) SWIG_fail
;
42036 swig_obj
[0] = args
;
42037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42038 if (!SWIG_IsOK(res1
)) {
42039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42041 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42044 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42045 wxPyEndAllowThreads(__tstate
);
42046 if (PyErr_Occurred()) SWIG_fail
;
42048 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42055 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42058 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42059 return SWIG_Py_Void();
42062 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42063 return SWIG_Python_InitShadowInstance(args
);
42066 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42067 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42072 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42073 PyObject
*pyobj
= 0;
42077 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42079 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42086 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42087 PyObject
*resultobj
= 0;
42088 wxWindow
*arg1
= (wxWindow
*) 0 ;
42090 wxString
*arg3
= 0 ;
42091 wxString
*arg4
= 0 ;
42092 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42093 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42094 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42095 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42096 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42097 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42098 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42099 wxHyperlinkCtrl
*result
= 0 ;
42104 bool temp3
= false ;
42105 bool temp4
= false ;
42110 bool temp8
= false ;
42111 PyObject
* obj0
= 0 ;
42112 PyObject
* obj1
= 0 ;
42113 PyObject
* obj2
= 0 ;
42114 PyObject
* obj3
= 0 ;
42115 PyObject
* obj4
= 0 ;
42116 PyObject
* obj5
= 0 ;
42117 PyObject
* obj6
= 0 ;
42118 PyObject
* obj7
= 0 ;
42119 char * kwnames
[] = {
42120 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42125 if (!SWIG_IsOK(res1
)) {
42126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42130 if (!SWIG_IsOK(ecode2
)) {
42131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42133 arg2
= static_cast< int >(val2
);
42135 arg3
= wxString_in_helper(obj2
);
42136 if (arg3
== NULL
) SWIG_fail
;
42140 arg4
= wxString_in_helper(obj3
);
42141 if (arg4
== NULL
) SWIG_fail
;
42147 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42153 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42157 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42158 if (!SWIG_IsOK(ecode7
)) {
42159 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42161 arg7
= static_cast< long >(val7
);
42165 arg8
= wxString_in_helper(obj7
);
42166 if (arg8
== NULL
) SWIG_fail
;
42171 if (!wxPyCheckForApp()) SWIG_fail
;
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42208 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42209 PyObject
*resultobj
= 0;
42210 wxHyperlinkCtrl
*result
= 0 ;
42212 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42214 if (!wxPyCheckForApp()) SWIG_fail
;
42215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42216 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42217 wxPyEndAllowThreads(__tstate
);
42218 if (PyErr_Occurred()) SWIG_fail
;
42220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42227 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42228 PyObject
*resultobj
= 0;
42229 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42230 wxWindow
*arg2
= (wxWindow
*) 0 ;
42232 wxString
*arg4
= 0 ;
42233 wxString
*arg5
= 0 ;
42234 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42235 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42236 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42237 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42238 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42239 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42240 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42248 bool temp4
= false ;
42249 bool temp5
= false ;
42254 bool temp9
= false ;
42255 PyObject
* obj0
= 0 ;
42256 PyObject
* obj1
= 0 ;
42257 PyObject
* obj2
= 0 ;
42258 PyObject
* obj3
= 0 ;
42259 PyObject
* obj4
= 0 ;
42260 PyObject
* obj5
= 0 ;
42261 PyObject
* obj6
= 0 ;
42262 PyObject
* obj7
= 0 ;
42263 PyObject
* obj8
= 0 ;
42264 char * kwnames
[] = {
42265 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42270 if (!SWIG_IsOK(res1
)) {
42271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42273 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42275 if (!SWIG_IsOK(res2
)) {
42276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42280 if (!SWIG_IsOK(ecode3
)) {
42281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42283 arg3
= static_cast< int >(val3
);
42285 arg4
= wxString_in_helper(obj3
);
42286 if (arg4
== NULL
) SWIG_fail
;
42290 arg5
= wxString_in_helper(obj4
);
42291 if (arg5
== NULL
) SWIG_fail
;
42297 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42303 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42307 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42308 if (!SWIG_IsOK(ecode8
)) {
42309 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42311 arg8
= static_cast< long >(val8
);
42315 arg9
= wxString_in_helper(obj8
);
42316 if (arg9
== NULL
) SWIG_fail
;
42321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42323 wxPyEndAllowThreads(__tstate
);
42324 if (PyErr_Occurred()) SWIG_fail
;
42327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42359 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42360 PyObject
*resultobj
= 0;
42361 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42365 PyObject
*swig_obj
[1] ;
42367 if (!args
) SWIG_fail
;
42368 swig_obj
[0] = args
;
42369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42370 if (!SWIG_IsOK(res1
)) {
42371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42373 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42376 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42377 wxPyEndAllowThreads(__tstate
);
42378 if (PyErr_Occurred()) SWIG_fail
;
42380 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42387 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42388 PyObject
*resultobj
= 0;
42389 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42390 wxColour
*arg2
= 0 ;
42394 PyObject
* obj0
= 0 ;
42395 PyObject
* obj1
= 0 ;
42396 char * kwnames
[] = {
42397 (char *) "self",(char *) "colour", NULL
42400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42402 if (!SWIG_IsOK(res1
)) {
42403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42405 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42408 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42412 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42413 wxPyEndAllowThreads(__tstate
);
42414 if (PyErr_Occurred()) SWIG_fail
;
42416 resultobj
= SWIG_Py_Void();
42423 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42424 PyObject
*resultobj
= 0;
42425 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42429 PyObject
*swig_obj
[1] ;
42431 if (!args
) SWIG_fail
;
42432 swig_obj
[0] = args
;
42433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42434 if (!SWIG_IsOK(res1
)) {
42435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42437 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42440 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42441 wxPyEndAllowThreads(__tstate
);
42442 if (PyErr_Occurred()) SWIG_fail
;
42444 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42451 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42452 PyObject
*resultobj
= 0;
42453 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42454 wxColour
*arg2
= 0 ;
42458 PyObject
* obj0
= 0 ;
42459 PyObject
* obj1
= 0 ;
42460 char * kwnames
[] = {
42461 (char *) "self",(char *) "colour", NULL
42464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42466 if (!SWIG_IsOK(res1
)) {
42467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42469 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42476 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42477 wxPyEndAllowThreads(__tstate
);
42478 if (PyErr_Occurred()) SWIG_fail
;
42480 resultobj
= SWIG_Py_Void();
42487 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42488 PyObject
*resultobj
= 0;
42489 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42493 PyObject
*swig_obj
[1] ;
42495 if (!args
) SWIG_fail
;
42496 swig_obj
[0] = args
;
42497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42498 if (!SWIG_IsOK(res1
)) {
42499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42501 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42504 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42505 wxPyEndAllowThreads(__tstate
);
42506 if (PyErr_Occurred()) SWIG_fail
;
42508 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42515 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42516 PyObject
*resultobj
= 0;
42517 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42518 wxColour
*arg2
= 0 ;
42522 PyObject
* obj0
= 0 ;
42523 PyObject
* obj1
= 0 ;
42524 char * kwnames
[] = {
42525 (char *) "self",(char *) "colour", NULL
42528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42530 if (!SWIG_IsOK(res1
)) {
42531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42533 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42540 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42541 wxPyEndAllowThreads(__tstate
);
42542 if (PyErr_Occurred()) SWIG_fail
;
42544 resultobj
= SWIG_Py_Void();
42551 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42552 PyObject
*resultobj
= 0;
42553 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42557 PyObject
*swig_obj
[1] ;
42559 if (!args
) SWIG_fail
;
42560 swig_obj
[0] = args
;
42561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42562 if (!SWIG_IsOK(res1
)) {
42563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42565 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42568 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42569 wxPyEndAllowThreads(__tstate
);
42570 if (PyErr_Occurred()) SWIG_fail
;
42574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42585 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42586 PyObject
*resultobj
= 0;
42587 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42588 wxString
*arg2
= 0 ;
42591 bool temp2
= false ;
42592 PyObject
* obj0
= 0 ;
42593 PyObject
* obj1
= 0 ;
42594 char * kwnames
[] = {
42595 (char *) "self",(char *) "url", NULL
42598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42600 if (!SWIG_IsOK(res1
)) {
42601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42603 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42605 arg2
= wxString_in_helper(obj1
);
42606 if (arg2
== NULL
) SWIG_fail
;
42610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42611 (arg1
)->SetURL((wxString
const &)*arg2
);
42612 wxPyEndAllowThreads(__tstate
);
42613 if (PyErr_Occurred()) SWIG_fail
;
42615 resultobj
= SWIG_Py_Void();
42630 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42631 PyObject
*resultobj
= 0;
42632 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42633 bool arg2
= (bool) true ;
42638 PyObject
* obj0
= 0 ;
42639 PyObject
* obj1
= 0 ;
42640 char * kwnames
[] = {
42641 (char *) "self",(char *) "visited", NULL
42644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42646 if (!SWIG_IsOK(res1
)) {
42647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42649 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42651 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42652 if (!SWIG_IsOK(ecode2
)) {
42653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42655 arg2
= static_cast< bool >(val2
);
42658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42659 (arg1
)->SetVisited(arg2
);
42660 wxPyEndAllowThreads(__tstate
);
42661 if (PyErr_Occurred()) SWIG_fail
;
42663 resultobj
= SWIG_Py_Void();
42670 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42671 PyObject
*resultobj
= 0;
42672 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42676 PyObject
*swig_obj
[1] ;
42678 if (!args
) SWIG_fail
;
42679 swig_obj
[0] = args
;
42680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42681 if (!SWIG_IsOK(res1
)) {
42682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42684 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42687 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42688 wxPyEndAllowThreads(__tstate
);
42689 if (PyErr_Occurred()) SWIG_fail
;
42692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42700 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42703 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42704 return SWIG_Py_Void();
42707 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42708 return SWIG_Python_InitShadowInstance(args
);
42711 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42712 PyObject
*resultobj
= 0;
42713 wxObject
*arg1
= (wxObject
*) 0 ;
42715 wxString
*arg3
= 0 ;
42716 wxHyperlinkEvent
*result
= 0 ;
42721 bool temp3
= false ;
42722 PyObject
* obj0
= 0 ;
42723 PyObject
* obj1
= 0 ;
42724 PyObject
* obj2
= 0 ;
42725 char * kwnames
[] = {
42726 (char *) "generator",(char *) "id",(char *) "url", NULL
42729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42731 if (!SWIG_IsOK(res1
)) {
42732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42734 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42736 if (!SWIG_IsOK(ecode2
)) {
42737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42739 arg2
= static_cast< int >(val2
);
42741 arg3
= wxString_in_helper(obj2
);
42742 if (arg3
== NULL
) SWIG_fail
;
42746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42747 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42748 wxPyEndAllowThreads(__tstate
);
42749 if (PyErr_Occurred()) SWIG_fail
;
42751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42766 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42767 PyObject
*resultobj
= 0;
42768 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42772 PyObject
*swig_obj
[1] ;
42774 if (!args
) SWIG_fail
;
42775 swig_obj
[0] = args
;
42776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42777 if (!SWIG_IsOK(res1
)) {
42778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42780 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42783 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42784 wxPyEndAllowThreads(__tstate
);
42785 if (PyErr_Occurred()) SWIG_fail
;
42789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42800 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42801 PyObject
*resultobj
= 0;
42802 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42803 wxString
*arg2
= 0 ;
42806 bool temp2
= false ;
42807 PyObject
* obj0
= 0 ;
42808 PyObject
* obj1
= 0 ;
42809 char * kwnames
[] = {
42810 (char *) "self",(char *) "url", NULL
42813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42815 if (!SWIG_IsOK(res1
)) {
42816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42818 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42820 arg2
= wxString_in_helper(obj1
);
42821 if (arg2
== NULL
) SWIG_fail
;
42825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42826 (arg1
)->SetURL((wxString
const &)*arg2
);
42827 wxPyEndAllowThreads(__tstate
);
42828 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= SWIG_Py_Void();
42845 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42848 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42849 return SWIG_Py_Void();
42852 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42853 return SWIG_Python_InitShadowInstance(args
);
42856 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42857 PyObject
*resultobj
= 0;
42858 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42859 wxWindow
*arg2
= (wxWindow
*) 0 ;
42861 wxString
const &arg4_defvalue
= wxEmptyString
;
42862 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42863 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42864 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42865 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42866 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42867 long arg7
= (long) 0 ;
42868 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42869 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42870 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42871 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42879 bool temp4
= false ;
42886 bool temp9
= false ;
42887 PyObject
* obj0
= 0 ;
42888 PyObject
* obj1
= 0 ;
42889 PyObject
* obj2
= 0 ;
42890 PyObject
* obj3
= 0 ;
42891 PyObject
* obj4
= 0 ;
42892 PyObject
* obj5
= 0 ;
42893 PyObject
* obj6
= 0 ;
42894 PyObject
* obj7
= 0 ;
42895 PyObject
* obj8
= 0 ;
42896 char * kwnames
[] = {
42897 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42902 if (!SWIG_IsOK(res1
)) {
42903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42905 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42907 if (!SWIG_IsOK(res2
)) {
42908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42910 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42912 if (!SWIG_IsOK(ecode3
)) {
42913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42915 arg3
= static_cast< int >(val3
);
42918 arg4
= wxString_in_helper(obj3
);
42919 if (arg4
== NULL
) SWIG_fail
;
42926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42936 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42937 if (!SWIG_IsOK(ecode7
)) {
42938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42940 arg7
= static_cast< long >(val7
);
42943 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42944 if (!SWIG_IsOK(res8
)) {
42945 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42950 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42954 arg9
= wxString_in_helper(obj8
);
42955 if (arg9
== NULL
) SWIG_fail
;
42960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42961 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42962 wxPyEndAllowThreads(__tstate
);
42963 if (PyErr_Occurred()) SWIG_fail
;
42966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42990 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42991 PyObject
*resultobj
= 0;
42992 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42998 PyObject
* obj0
= 0 ;
42999 PyObject
* obj1
= 0 ;
43000 char * kwnames
[] = {
43001 (char *) "self",(char *) "newmargin", NULL
43004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43006 if (!SWIG_IsOK(res1
)) {
43007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43009 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43011 if (!SWIG_IsOK(ecode2
)) {
43012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43014 arg2
= static_cast< int >(val2
);
43016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43017 (arg1
)->SetInternalMargin(arg2
);
43018 wxPyEndAllowThreads(__tstate
);
43019 if (PyErr_Occurred()) SWIG_fail
;
43021 resultobj
= SWIG_Py_Void();
43028 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43029 PyObject
*resultobj
= 0;
43030 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43034 PyObject
*swig_obj
[1] ;
43036 if (!args
) SWIG_fail
;
43037 swig_obj
[0] = args
;
43038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43039 if (!SWIG_IsOK(res1
)) {
43040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43042 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43045 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43046 wxPyEndAllowThreads(__tstate
);
43047 if (PyErr_Occurred()) SWIG_fail
;
43049 resultobj
= SWIG_From_int(static_cast< int >(result
));
43056 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43057 PyObject
*resultobj
= 0;
43058 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43064 PyObject
* obj0
= 0 ;
43065 PyObject
* obj1
= 0 ;
43066 char * kwnames
[] = {
43067 (char *) "self",(char *) "prop", NULL
43070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43072 if (!SWIG_IsOK(res1
)) {
43073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43075 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43077 if (!SWIG_IsOK(ecode2
)) {
43078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43080 arg2
= static_cast< int >(val2
);
43082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43083 (arg1
)->SetTextCtrlProportion(arg2
);
43084 wxPyEndAllowThreads(__tstate
);
43085 if (PyErr_Occurred()) SWIG_fail
;
43087 resultobj
= SWIG_Py_Void();
43094 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43095 PyObject
*resultobj
= 0;
43096 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43100 PyObject
*swig_obj
[1] ;
43102 if (!args
) SWIG_fail
;
43103 swig_obj
[0] = args
;
43104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43105 if (!SWIG_IsOK(res1
)) {
43106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43108 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43111 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43112 wxPyEndAllowThreads(__tstate
);
43113 if (PyErr_Occurred()) SWIG_fail
;
43115 resultobj
= SWIG_From_int(static_cast< int >(result
));
43122 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43123 PyObject
*resultobj
= 0;
43124 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43130 PyObject
* obj0
= 0 ;
43131 PyObject
* obj1
= 0 ;
43132 char * kwnames
[] = {
43133 (char *) "self",(char *) "prop", NULL
43136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43138 if (!SWIG_IsOK(res1
)) {
43139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43141 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43143 if (!SWIG_IsOK(ecode2
)) {
43144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43146 arg2
= static_cast< int >(val2
);
43148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43149 (arg1
)->SetPickerCtrlProportion(arg2
);
43150 wxPyEndAllowThreads(__tstate
);
43151 if (PyErr_Occurred()) SWIG_fail
;
43153 resultobj
= SWIG_Py_Void();
43160 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43161 PyObject
*resultobj
= 0;
43162 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43166 PyObject
*swig_obj
[1] ;
43168 if (!args
) SWIG_fail
;
43169 swig_obj
[0] = args
;
43170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43171 if (!SWIG_IsOK(res1
)) {
43172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43174 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43177 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43178 wxPyEndAllowThreads(__tstate
);
43179 if (PyErr_Occurred()) SWIG_fail
;
43181 resultobj
= SWIG_From_int(static_cast< int >(result
));
43188 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43189 PyObject
*resultobj
= 0;
43190 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43194 PyObject
*swig_obj
[1] ;
43196 if (!args
) SWIG_fail
;
43197 swig_obj
[0] = args
;
43198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43199 if (!SWIG_IsOK(res1
)) {
43200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43202 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43205 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43206 wxPyEndAllowThreads(__tstate
);
43207 if (PyErr_Occurred()) SWIG_fail
;
43210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43218 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43219 PyObject
*resultobj
= 0;
43220 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43221 bool arg2
= (bool) true ;
43226 PyObject
* obj0
= 0 ;
43227 PyObject
* obj1
= 0 ;
43228 char * kwnames
[] = {
43229 (char *) "self",(char *) "grow", NULL
43232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43234 if (!SWIG_IsOK(res1
)) {
43235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43237 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43240 if (!SWIG_IsOK(ecode2
)) {
43241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43243 arg2
= static_cast< bool >(val2
);
43246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43247 (arg1
)->SetTextCtrlGrowable(arg2
);
43248 wxPyEndAllowThreads(__tstate
);
43249 if (PyErr_Occurred()) SWIG_fail
;
43251 resultobj
= SWIG_Py_Void();
43258 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43259 PyObject
*resultobj
= 0;
43260 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43264 PyObject
*swig_obj
[1] ;
43266 if (!args
) SWIG_fail
;
43267 swig_obj
[0] = args
;
43268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43269 if (!SWIG_IsOK(res1
)) {
43270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43272 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43275 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43276 wxPyEndAllowThreads(__tstate
);
43277 if (PyErr_Occurred()) SWIG_fail
;
43280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43288 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43289 PyObject
*resultobj
= 0;
43290 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43291 bool arg2
= (bool) true ;
43296 PyObject
* obj0
= 0 ;
43297 PyObject
* obj1
= 0 ;
43298 char * kwnames
[] = {
43299 (char *) "self",(char *) "grow", NULL
43302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43304 if (!SWIG_IsOK(res1
)) {
43305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43307 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43309 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43310 if (!SWIG_IsOK(ecode2
)) {
43311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43313 arg2
= static_cast< bool >(val2
);
43316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43317 (arg1
)->SetPickerCtrlGrowable(arg2
);
43318 wxPyEndAllowThreads(__tstate
);
43319 if (PyErr_Occurred()) SWIG_fail
;
43321 resultobj
= SWIG_Py_Void();
43328 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43329 PyObject
*resultobj
= 0;
43330 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43334 PyObject
*swig_obj
[1] ;
43336 if (!args
) SWIG_fail
;
43337 swig_obj
[0] = args
;
43338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43339 if (!SWIG_IsOK(res1
)) {
43340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43342 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43345 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43346 wxPyEndAllowThreads(__tstate
);
43347 if (PyErr_Occurred()) SWIG_fail
;
43350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43358 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43359 PyObject
*resultobj
= 0;
43360 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43361 wxTextCtrl
*result
= 0 ;
43364 PyObject
*swig_obj
[1] ;
43366 if (!args
) SWIG_fail
;
43367 swig_obj
[0] = args
;
43368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43369 if (!SWIG_IsOK(res1
)) {
43370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43372 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43375 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43376 wxPyEndAllowThreads(__tstate
);
43377 if (PyErr_Occurred()) SWIG_fail
;
43380 resultobj
= wxPyMake_wxObject(result
, 0);
43388 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43389 PyObject
*resultobj
= 0;
43390 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43391 wxControl
*result
= 0 ;
43394 PyObject
*swig_obj
[1] ;
43396 if (!args
) SWIG_fail
;
43397 swig_obj
[0] = args
;
43398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43399 if (!SWIG_IsOK(res1
)) {
43400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43402 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43405 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43406 wxPyEndAllowThreads(__tstate
);
43407 if (PyErr_Occurred()) SWIG_fail
;
43410 resultobj
= wxPyMake_wxObject(result
, 0);
43418 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43422 return SWIG_Py_Void();
43425 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43426 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43431 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43432 PyObject
*pyobj
= 0;
43436 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43438 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43445 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43446 PyObject
*resultobj
= 0;
43447 wxWindow
*arg1
= (wxWindow
*) 0 ;
43448 int arg2
= (int) -1 ;
43449 wxColour
const &arg3_defvalue
= *wxBLACK
;
43450 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43455 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43456 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43457 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43458 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43459 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43460 wxColourPickerCtrl
*result
= 0 ;
43472 bool temp8
= false ;
43473 PyObject
* obj0
= 0 ;
43474 PyObject
* obj1
= 0 ;
43475 PyObject
* obj2
= 0 ;
43476 PyObject
* obj3
= 0 ;
43477 PyObject
* obj4
= 0 ;
43478 PyObject
* obj5
= 0 ;
43479 PyObject
* obj6
= 0 ;
43480 PyObject
* obj7
= 0 ;
43481 char * kwnames
[] = {
43482 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43487 if (!SWIG_IsOK(res1
)) {
43488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43490 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43493 if (!SWIG_IsOK(ecode2
)) {
43494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43496 arg2
= static_cast< int >(val2
);
43501 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43513 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43517 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43518 if (!SWIG_IsOK(ecode6
)) {
43519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43521 arg6
= static_cast< long >(val6
);
43524 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43525 if (!SWIG_IsOK(res7
)) {
43526 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43531 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43535 arg8
= wxString_in_helper(obj7
);
43536 if (arg8
== NULL
) SWIG_fail
;
43541 if (!wxPyCheckForApp()) SWIG_fail
;
43542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43543 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43544 wxPyEndAllowThreads(__tstate
);
43545 if (PyErr_Occurred()) SWIG_fail
;
43547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43562 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43563 PyObject
*resultobj
= 0;
43564 wxColourPickerCtrl
*result
= 0 ;
43566 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43568 if (!wxPyCheckForApp()) SWIG_fail
;
43569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43570 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43571 wxPyEndAllowThreads(__tstate
);
43572 if (PyErr_Occurred()) SWIG_fail
;
43574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43581 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43582 PyObject
*resultobj
= 0;
43583 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43584 wxWindow
*arg2
= (wxWindow
*) 0 ;
43586 wxColour
const &arg4_defvalue
= *wxBLACK
;
43587 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43588 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43589 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43590 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43591 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43592 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43593 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43594 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43595 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43596 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43611 bool temp9
= false ;
43612 PyObject
* obj0
= 0 ;
43613 PyObject
* obj1
= 0 ;
43614 PyObject
* obj2
= 0 ;
43615 PyObject
* obj3
= 0 ;
43616 PyObject
* obj4
= 0 ;
43617 PyObject
* obj5
= 0 ;
43618 PyObject
* obj6
= 0 ;
43619 PyObject
* obj7
= 0 ;
43620 PyObject
* obj8
= 0 ;
43621 char * kwnames
[] = {
43622 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43627 if (!SWIG_IsOK(res1
)) {
43628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43630 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43632 if (!SWIG_IsOK(res2
)) {
43633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43637 if (!SWIG_IsOK(ecode3
)) {
43638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43640 arg3
= static_cast< int >(val3
);
43644 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43650 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43656 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43660 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43661 if (!SWIG_IsOK(ecode7
)) {
43662 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43664 arg7
= static_cast< long >(val7
);
43667 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43668 if (!SWIG_IsOK(res8
)) {
43669 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43674 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43678 arg9
= wxString_in_helper(obj8
);
43679 if (arg9
== NULL
) SWIG_fail
;
43684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43686 wxPyEndAllowThreads(__tstate
);
43687 if (PyErr_Occurred()) SWIG_fail
;
43690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43706 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43707 PyObject
*resultobj
= 0;
43708 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43712 PyObject
*swig_obj
[1] ;
43714 if (!args
) SWIG_fail
;
43715 swig_obj
[0] = args
;
43716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43717 if (!SWIG_IsOK(res1
)) {
43718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43720 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43723 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43724 wxPyEndAllowThreads(__tstate
);
43725 if (PyErr_Occurred()) SWIG_fail
;
43727 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43734 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43735 PyObject
*resultobj
= 0;
43736 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43737 wxColour
*arg2
= 0 ;
43741 PyObject
* obj0
= 0 ;
43742 PyObject
* obj1
= 0 ;
43743 char * kwnames
[] = {
43744 (char *) "self",(char *) "col", NULL
43747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43749 if (!SWIG_IsOK(res1
)) {
43750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43752 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43755 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43759 (arg1
)->SetColour((wxColour
const &)*arg2
);
43760 wxPyEndAllowThreads(__tstate
);
43761 if (PyErr_Occurred()) SWIG_fail
;
43763 resultobj
= SWIG_Py_Void();
43770 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43774 return SWIG_Py_Void();
43777 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43778 return SWIG_Python_InitShadowInstance(args
);
43781 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43782 PyObject
*resultobj
= 0;
43783 wxObject
*arg1
= (wxObject
*) 0 ;
43785 wxColour
*arg3
= 0 ;
43786 wxColourPickerEvent
*result
= 0 ;
43792 PyObject
* obj0
= 0 ;
43793 PyObject
* obj1
= 0 ;
43794 PyObject
* obj2
= 0 ;
43795 char * kwnames
[] = {
43796 (char *) "generator",(char *) "id",(char *) "col", NULL
43799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43801 if (!SWIG_IsOK(res1
)) {
43802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43804 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43806 if (!SWIG_IsOK(ecode2
)) {
43807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43809 arg2
= static_cast< int >(val2
);
43812 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43816 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43817 wxPyEndAllowThreads(__tstate
);
43818 if (PyErr_Occurred()) SWIG_fail
;
43820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43827 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43828 PyObject
*resultobj
= 0;
43829 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43833 PyObject
*swig_obj
[1] ;
43835 if (!args
) SWIG_fail
;
43836 swig_obj
[0] = args
;
43837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43838 if (!SWIG_IsOK(res1
)) {
43839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43841 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43844 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43845 wxPyEndAllowThreads(__tstate
);
43846 if (PyErr_Occurred()) SWIG_fail
;
43848 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43855 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43856 PyObject
*resultobj
= 0;
43857 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43858 wxColour
*arg2
= 0 ;
43862 PyObject
* obj0
= 0 ;
43863 PyObject
* obj1
= 0 ;
43864 char * kwnames
[] = {
43865 (char *) "self",(char *) "c", NULL
43868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43870 if (!SWIG_IsOK(res1
)) {
43871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43873 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43876 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43880 (arg1
)->SetColour((wxColour
const &)*arg2
);
43881 wxPyEndAllowThreads(__tstate
);
43882 if (PyErr_Occurred()) SWIG_fail
;
43884 resultobj
= SWIG_Py_Void();
43891 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43894 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43895 return SWIG_Py_Void();
43898 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43899 return SWIG_Python_InitShadowInstance(args
);
43902 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43903 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43908 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43909 PyObject
*pyobj
= 0;
43913 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43915 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43922 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43923 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43928 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43929 PyObject
*pyobj
= 0;
43933 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43935 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43942 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43943 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43948 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43949 PyObject
*pyobj
= 0;
43953 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43955 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43962 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43963 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43968 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43969 PyObject
*pyobj
= 0;
43973 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43975 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43982 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43983 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43988 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43989 PyObject
*pyobj
= 0;
43993 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43995 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44002 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44003 PyObject
*resultobj
= 0;
44004 wxWindow
*arg1
= (wxWindow
*) 0 ;
44005 int arg2
= (int) -1 ;
44006 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44007 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44008 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44009 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44010 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44011 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44012 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44013 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44014 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44015 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44016 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44017 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44018 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44019 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44020 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44021 wxFilePickerCtrl
*result
= 0 ;
44026 bool temp3
= false ;
44027 bool temp4
= false ;
44028 bool temp5
= false ;
44035 bool temp10
= false ;
44036 PyObject
* obj0
= 0 ;
44037 PyObject
* obj1
= 0 ;
44038 PyObject
* obj2
= 0 ;
44039 PyObject
* obj3
= 0 ;
44040 PyObject
* obj4
= 0 ;
44041 PyObject
* obj5
= 0 ;
44042 PyObject
* obj6
= 0 ;
44043 PyObject
* obj7
= 0 ;
44044 PyObject
* obj8
= 0 ;
44045 PyObject
* obj9
= 0 ;
44046 char * kwnames
[] = {
44047 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44052 if (!SWIG_IsOK(res1
)) {
44053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44058 if (!SWIG_IsOK(ecode2
)) {
44059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44061 arg2
= static_cast< int >(val2
);
44065 arg3
= wxString_in_helper(obj2
);
44066 if (arg3
== NULL
) SWIG_fail
;
44072 arg4
= wxString_in_helper(obj3
);
44073 if (arg4
== NULL
) SWIG_fail
;
44079 arg5
= wxString_in_helper(obj4
);
44080 if (arg5
== NULL
) SWIG_fail
;
44087 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44093 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44097 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44098 if (!SWIG_IsOK(ecode8
)) {
44099 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44101 arg8
= static_cast< long >(val8
);
44104 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44105 if (!SWIG_IsOK(res9
)) {
44106 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44111 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44115 arg10
= wxString_in_helper(obj9
);
44116 if (arg10
== NULL
) SWIG_fail
;
44121 if (!wxPyCheckForApp()) SWIG_fail
;
44122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44123 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
);
44124 wxPyEndAllowThreads(__tstate
);
44125 if (PyErr_Occurred()) SWIG_fail
;
44127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44166 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44167 PyObject
*resultobj
= 0;
44168 wxFilePickerCtrl
*result
= 0 ;
44170 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44172 if (!wxPyCheckForApp()) SWIG_fail
;
44173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44174 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44175 wxPyEndAllowThreads(__tstate
);
44176 if (PyErr_Occurred()) SWIG_fail
;
44178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44185 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44186 PyObject
*resultobj
= 0;
44187 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44188 wxWindow
*arg2
= (wxWindow
*) 0 ;
44189 int arg3
= (int) -1 ;
44190 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44191 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44192 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44193 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44194 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44196 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44197 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44198 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44199 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44200 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44201 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44202 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44203 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44204 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44212 bool temp4
= false ;
44213 bool temp5
= false ;
44214 bool temp6
= false ;
44221 bool temp11
= false ;
44222 PyObject
* obj0
= 0 ;
44223 PyObject
* obj1
= 0 ;
44224 PyObject
* obj2
= 0 ;
44225 PyObject
* obj3
= 0 ;
44226 PyObject
* obj4
= 0 ;
44227 PyObject
* obj5
= 0 ;
44228 PyObject
* obj6
= 0 ;
44229 PyObject
* obj7
= 0 ;
44230 PyObject
* obj8
= 0 ;
44231 PyObject
* obj9
= 0 ;
44232 PyObject
* obj10
= 0 ;
44233 char * kwnames
[] = {
44234 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44239 if (!SWIG_IsOK(res1
)) {
44240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44242 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44243 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44244 if (!SWIG_IsOK(res2
)) {
44245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44247 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44250 if (!SWIG_IsOK(ecode3
)) {
44251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44253 arg3
= static_cast< int >(val3
);
44257 arg4
= wxString_in_helper(obj3
);
44258 if (arg4
== NULL
) SWIG_fail
;
44264 arg5
= wxString_in_helper(obj4
);
44265 if (arg5
== NULL
) SWIG_fail
;
44271 arg6
= wxString_in_helper(obj5
);
44272 if (arg6
== NULL
) SWIG_fail
;
44279 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44285 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44289 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44290 if (!SWIG_IsOK(ecode9
)) {
44291 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44293 arg9
= static_cast< long >(val9
);
44296 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44297 if (!SWIG_IsOK(res10
)) {
44298 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44303 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44307 arg11
= wxString_in_helper(obj10
);
44308 if (arg11
== NULL
) SWIG_fail
;
44313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44314 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
);
44315 wxPyEndAllowThreads(__tstate
);
44316 if (PyErr_Occurred()) SWIG_fail
;
44319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44359 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44360 PyObject
*resultobj
= 0;
44361 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44365 PyObject
*swig_obj
[1] ;
44367 if (!args
) SWIG_fail
;
44368 swig_obj
[0] = args
;
44369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44370 if (!SWIG_IsOK(res1
)) {
44371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44373 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44376 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44377 wxPyEndAllowThreads(__tstate
);
44378 if (PyErr_Occurred()) SWIG_fail
;
44382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44393 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44394 PyObject
*resultobj
= 0;
44395 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44396 wxString
*arg2
= 0 ;
44399 bool temp2
= false ;
44400 PyObject
* obj0
= 0 ;
44401 PyObject
* obj1
= 0 ;
44402 char * kwnames
[] = {
44403 (char *) "self",(char *) "str", NULL
44406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44408 if (!SWIG_IsOK(res1
)) {
44409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44411 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44413 arg2
= wxString_in_helper(obj1
);
44414 if (arg2
== NULL
) SWIG_fail
;
44418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44419 (arg1
)->SetPath((wxString
const &)*arg2
);
44420 wxPyEndAllowThreads(__tstate
);
44421 if (PyErr_Occurred()) SWIG_fail
;
44423 resultobj
= SWIG_Py_Void();
44438 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44439 PyObject
*resultobj
= 0;
44440 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44441 wxString
*arg2
= 0 ;
44445 bool temp2
= false ;
44446 PyObject
* obj0
= 0 ;
44447 PyObject
* obj1
= 0 ;
44448 char * kwnames
[] = {
44449 (char *) "self",(char *) "path", NULL
44452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44454 if (!SWIG_IsOK(res1
)) {
44455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44457 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44459 arg2
= wxString_in_helper(obj1
);
44460 if (arg2
== NULL
) SWIG_fail
;
44464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44465 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44466 wxPyEndAllowThreads(__tstate
);
44467 if (PyErr_Occurred()) SWIG_fail
;
44470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44486 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44487 PyObject
*resultobj
= 0;
44488 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44492 PyObject
*swig_obj
[1] ;
44494 if (!args
) SWIG_fail
;
44495 swig_obj
[0] = args
;
44496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44497 if (!SWIG_IsOK(res1
)) {
44498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44500 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44503 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44504 wxPyEndAllowThreads(__tstate
);
44505 if (PyErr_Occurred()) SWIG_fail
;
44509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44520 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44523 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44524 return SWIG_Py_Void();
44527 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44528 return SWIG_Python_InitShadowInstance(args
);
44531 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44532 PyObject
*resultobj
= 0;
44533 wxWindow
*arg1
= (wxWindow
*) 0 ;
44534 int arg2
= (int) -1 ;
44535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44537 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44539 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44540 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44541 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44542 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44543 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44544 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44545 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44546 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44547 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44548 wxDirPickerCtrl
*result
= 0 ;
44553 bool temp3
= false ;
44554 bool temp4
= false ;
44561 bool temp9
= false ;
44562 PyObject
* obj0
= 0 ;
44563 PyObject
* obj1
= 0 ;
44564 PyObject
* obj2
= 0 ;
44565 PyObject
* obj3
= 0 ;
44566 PyObject
* obj4
= 0 ;
44567 PyObject
* obj5
= 0 ;
44568 PyObject
* obj6
= 0 ;
44569 PyObject
* obj7
= 0 ;
44570 PyObject
* obj8
= 0 ;
44571 char * kwnames
[] = {
44572 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44577 if (!SWIG_IsOK(res1
)) {
44578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44583 if (!SWIG_IsOK(ecode2
)) {
44584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44586 arg2
= static_cast< int >(val2
);
44590 arg3
= wxString_in_helper(obj2
);
44591 if (arg3
== NULL
) SWIG_fail
;
44597 arg4
= wxString_in_helper(obj3
);
44598 if (arg4
== NULL
) SWIG_fail
;
44605 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44611 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44615 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44616 if (!SWIG_IsOK(ecode7
)) {
44617 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44619 arg7
= static_cast< long >(val7
);
44622 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44623 if (!SWIG_IsOK(res8
)) {
44624 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44629 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44633 arg9
= wxString_in_helper(obj8
);
44634 if (arg9
== NULL
) SWIG_fail
;
44639 if (!wxPyCheckForApp()) SWIG_fail
;
44640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44641 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
);
44642 wxPyEndAllowThreads(__tstate
);
44643 if (PyErr_Occurred()) SWIG_fail
;
44645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44676 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44677 PyObject
*resultobj
= 0;
44678 wxDirPickerCtrl
*result
= 0 ;
44680 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44682 if (!wxPyCheckForApp()) SWIG_fail
;
44683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44684 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44685 wxPyEndAllowThreads(__tstate
);
44686 if (PyErr_Occurred()) SWIG_fail
;
44688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44695 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44696 PyObject
*resultobj
= 0;
44697 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44698 wxWindow
*arg2
= (wxWindow
*) 0 ;
44699 int arg3
= (int) -1 ;
44700 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44701 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44702 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44703 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44704 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44705 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44706 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44707 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44708 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44709 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44710 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44711 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44712 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44720 bool temp4
= false ;
44721 bool temp5
= false ;
44728 bool temp10
= false ;
44729 PyObject
* obj0
= 0 ;
44730 PyObject
* obj1
= 0 ;
44731 PyObject
* obj2
= 0 ;
44732 PyObject
* obj3
= 0 ;
44733 PyObject
* obj4
= 0 ;
44734 PyObject
* obj5
= 0 ;
44735 PyObject
* obj6
= 0 ;
44736 PyObject
* obj7
= 0 ;
44737 PyObject
* obj8
= 0 ;
44738 PyObject
* obj9
= 0 ;
44739 char * kwnames
[] = {
44740 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44745 if (!SWIG_IsOK(res1
)) {
44746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44748 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44750 if (!SWIG_IsOK(res2
)) {
44751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44756 if (!SWIG_IsOK(ecode3
)) {
44757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44759 arg3
= static_cast< int >(val3
);
44763 arg4
= wxString_in_helper(obj3
);
44764 if (arg4
== NULL
) SWIG_fail
;
44770 arg5
= wxString_in_helper(obj4
);
44771 if (arg5
== NULL
) SWIG_fail
;
44778 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44784 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44788 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44789 if (!SWIG_IsOK(ecode8
)) {
44790 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44792 arg8
= static_cast< long >(val8
);
44795 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44796 if (!SWIG_IsOK(res9
)) {
44797 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44802 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44806 arg10
= wxString_in_helper(obj9
);
44807 if (arg10
== NULL
) SWIG_fail
;
44812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44813 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
);
44814 wxPyEndAllowThreads(__tstate
);
44815 if (PyErr_Occurred()) SWIG_fail
;
44818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44850 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44851 PyObject
*resultobj
= 0;
44852 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44856 PyObject
*swig_obj
[1] ;
44858 if (!args
) SWIG_fail
;
44859 swig_obj
[0] = args
;
44860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44861 if (!SWIG_IsOK(res1
)) {
44862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44864 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44867 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44868 wxPyEndAllowThreads(__tstate
);
44869 if (PyErr_Occurred()) SWIG_fail
;
44873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44884 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44885 PyObject
*resultobj
= 0;
44886 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44887 wxString
*arg2
= 0 ;
44890 bool temp2
= false ;
44891 PyObject
* obj0
= 0 ;
44892 PyObject
* obj1
= 0 ;
44893 char * kwnames
[] = {
44894 (char *) "self",(char *) "str", NULL
44897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44899 if (!SWIG_IsOK(res1
)) {
44900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44902 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44904 arg2
= wxString_in_helper(obj1
);
44905 if (arg2
== NULL
) SWIG_fail
;
44909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44910 (arg1
)->SetPath((wxString
const &)*arg2
);
44911 wxPyEndAllowThreads(__tstate
);
44912 if (PyErr_Occurred()) SWIG_fail
;
44914 resultobj
= SWIG_Py_Void();
44929 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44930 PyObject
*resultobj
= 0;
44931 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44932 wxString
*arg2
= 0 ;
44936 bool temp2
= false ;
44937 PyObject
* obj0
= 0 ;
44938 PyObject
* obj1
= 0 ;
44939 char * kwnames
[] = {
44940 (char *) "self",(char *) "path", NULL
44943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44945 if (!SWIG_IsOK(res1
)) {
44946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44948 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44950 arg2
= wxString_in_helper(obj1
);
44951 if (arg2
== NULL
) SWIG_fail
;
44955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44956 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44957 wxPyEndAllowThreads(__tstate
);
44958 if (PyErr_Occurred()) SWIG_fail
;
44961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44977 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44978 PyObject
*resultobj
= 0;
44979 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44983 PyObject
*swig_obj
[1] ;
44985 if (!args
) SWIG_fail
;
44986 swig_obj
[0] = args
;
44987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44988 if (!SWIG_IsOK(res1
)) {
44989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44991 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44994 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44995 wxPyEndAllowThreads(__tstate
);
44996 if (PyErr_Occurred()) SWIG_fail
;
45000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45011 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45014 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45015 return SWIG_Py_Void();
45018 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45019 return SWIG_Python_InitShadowInstance(args
);
45022 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45023 PyObject
*resultobj
= 0;
45025 wxObject
*arg2
= (wxObject
*) 0 ;
45027 wxString
*arg4
= 0 ;
45028 wxFileDirPickerEvent
*result
= 0 ;
45035 bool temp4
= false ;
45036 PyObject
* obj0
= 0 ;
45037 PyObject
* obj1
= 0 ;
45038 PyObject
* obj2
= 0 ;
45039 PyObject
* obj3
= 0 ;
45040 char * kwnames
[] = {
45041 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45046 if (!SWIG_IsOK(ecode1
)) {
45047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45049 arg1
= static_cast< wxEventType
>(val1
);
45050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45051 if (!SWIG_IsOK(res2
)) {
45052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45054 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45056 if (!SWIG_IsOK(ecode3
)) {
45057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45059 arg3
= static_cast< int >(val3
);
45061 arg4
= wxString_in_helper(obj3
);
45062 if (arg4
== NULL
) SWIG_fail
;
45066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45067 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45068 wxPyEndAllowThreads(__tstate
);
45069 if (PyErr_Occurred()) SWIG_fail
;
45071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45086 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45087 PyObject
*resultobj
= 0;
45088 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45092 PyObject
*swig_obj
[1] ;
45094 if (!args
) SWIG_fail
;
45095 swig_obj
[0] = args
;
45096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45097 if (!SWIG_IsOK(res1
)) {
45098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45100 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45103 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45104 wxPyEndAllowThreads(__tstate
);
45105 if (PyErr_Occurred()) SWIG_fail
;
45109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45120 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45121 PyObject
*resultobj
= 0;
45122 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45123 wxString
*arg2
= 0 ;
45126 bool temp2
= false ;
45127 PyObject
* obj0
= 0 ;
45128 PyObject
* obj1
= 0 ;
45129 char * kwnames
[] = {
45130 (char *) "self",(char *) "p", NULL
45133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45135 if (!SWIG_IsOK(res1
)) {
45136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45138 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45140 arg2
= wxString_in_helper(obj1
);
45141 if (arg2
== NULL
) SWIG_fail
;
45145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45146 (arg1
)->SetPath((wxString
const &)*arg2
);
45147 wxPyEndAllowThreads(__tstate
);
45148 if (PyErr_Occurred()) SWIG_fail
;
45150 resultobj
= SWIG_Py_Void();
45165 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45168 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45169 return SWIG_Py_Void();
45172 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45173 return SWIG_Python_InitShadowInstance(args
);
45176 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45177 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45182 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45183 PyObject
*pyobj
= 0;
45187 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45189 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45196 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45197 PyObject
*resultobj
= 0;
45198 wxWindow
*arg1
= (wxWindow
*) 0 ;
45199 int arg2
= (int) -1 ;
45200 wxFont
const &arg3_defvalue
= wxNullFont
;
45201 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45206 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45207 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45208 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45209 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45210 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45211 wxFontPickerCtrl
*result
= 0 ;
45224 bool temp8
= false ;
45225 PyObject
* obj0
= 0 ;
45226 PyObject
* obj1
= 0 ;
45227 PyObject
* obj2
= 0 ;
45228 PyObject
* obj3
= 0 ;
45229 PyObject
* obj4
= 0 ;
45230 PyObject
* obj5
= 0 ;
45231 PyObject
* obj6
= 0 ;
45232 PyObject
* obj7
= 0 ;
45233 char * kwnames
[] = {
45234 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45239 if (!SWIG_IsOK(res1
)) {
45240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45242 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45245 if (!SWIG_IsOK(ecode2
)) {
45246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45248 arg2
= static_cast< int >(val2
);
45251 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45252 if (!SWIG_IsOK(res3
)) {
45253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45258 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45273 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45274 if (!SWIG_IsOK(ecode6
)) {
45275 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45277 arg6
= static_cast< long >(val6
);
45280 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45281 if (!SWIG_IsOK(res7
)) {
45282 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45287 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45291 arg8
= wxString_in_helper(obj7
);
45292 if (arg8
== NULL
) SWIG_fail
;
45297 if (!wxPyCheckForApp()) SWIG_fail
;
45298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45299 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45300 wxPyEndAllowThreads(__tstate
);
45301 if (PyErr_Occurred()) SWIG_fail
;
45303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45318 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45319 PyObject
*resultobj
= 0;
45320 wxFontPickerCtrl
*result
= 0 ;
45322 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45324 if (!wxPyCheckForApp()) SWIG_fail
;
45325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45326 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45327 wxPyEndAllowThreads(__tstate
);
45328 if (PyErr_Occurred()) SWIG_fail
;
45330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45337 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45338 PyObject
*resultobj
= 0;
45339 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45340 wxWindow
*arg2
= (wxWindow
*) 0 ;
45341 int arg3
= (int) -1 ;
45342 wxFont
const &arg4_defvalue
= wxNullFont
;
45343 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45344 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45345 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45346 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45347 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45348 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45349 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45350 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45351 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45352 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45368 bool temp9
= false ;
45369 PyObject
* obj0
= 0 ;
45370 PyObject
* obj1
= 0 ;
45371 PyObject
* obj2
= 0 ;
45372 PyObject
* obj3
= 0 ;
45373 PyObject
* obj4
= 0 ;
45374 PyObject
* obj5
= 0 ;
45375 PyObject
* obj6
= 0 ;
45376 PyObject
* obj7
= 0 ;
45377 PyObject
* obj8
= 0 ;
45378 char * kwnames
[] = {
45379 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45384 if (!SWIG_IsOK(res1
)) {
45385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45387 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45389 if (!SWIG_IsOK(res2
)) {
45390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45392 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45395 if (!SWIG_IsOK(ecode3
)) {
45396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45398 arg3
= static_cast< int >(val3
);
45401 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45402 if (!SWIG_IsOK(res4
)) {
45403 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45408 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45413 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45419 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45423 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45424 if (!SWIG_IsOK(ecode7
)) {
45425 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45427 arg7
= static_cast< long >(val7
);
45430 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45431 if (!SWIG_IsOK(res8
)) {
45432 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45437 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45441 arg9
= wxString_in_helper(obj8
);
45442 if (arg9
== NULL
) SWIG_fail
;
45447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45449 wxPyEndAllowThreads(__tstate
);
45450 if (PyErr_Occurred()) SWIG_fail
;
45453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45469 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45470 PyObject
*resultobj
= 0;
45471 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45475 PyObject
*swig_obj
[1] ;
45477 if (!args
) SWIG_fail
;
45478 swig_obj
[0] = args
;
45479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45480 if (!SWIG_IsOK(res1
)) {
45481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45483 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45486 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45487 wxPyEndAllowThreads(__tstate
);
45488 if (PyErr_Occurred()) SWIG_fail
;
45490 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45497 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45498 PyObject
*resultobj
= 0;
45499 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45505 PyObject
* obj0
= 0 ;
45506 PyObject
* obj1
= 0 ;
45507 char * kwnames
[] = {
45508 (char *) "self",(char *) "f", NULL
45511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45513 if (!SWIG_IsOK(res1
)) {
45514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45516 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45518 if (!SWIG_IsOK(res2
)) {
45519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45524 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45527 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45528 wxPyEndAllowThreads(__tstate
);
45529 if (PyErr_Occurred()) SWIG_fail
;
45531 resultobj
= SWIG_Py_Void();
45538 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45539 PyObject
*resultobj
= 0;
45540 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45541 unsigned int arg2
;
45544 unsigned int val2
;
45546 PyObject
* obj0
= 0 ;
45547 PyObject
* obj1
= 0 ;
45548 char * kwnames
[] = {
45549 (char *) "self",(char *) "max", NULL
45552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45554 if (!SWIG_IsOK(res1
)) {
45555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45557 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45558 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45559 if (!SWIG_IsOK(ecode2
)) {
45560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45562 arg2
= static_cast< unsigned int >(val2
);
45564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45565 (arg1
)->SetMaxPointSize(arg2
);
45566 wxPyEndAllowThreads(__tstate
);
45567 if (PyErr_Occurred()) SWIG_fail
;
45569 resultobj
= SWIG_Py_Void();
45576 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45577 PyObject
*resultobj
= 0;
45578 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45579 unsigned int result
;
45582 PyObject
*swig_obj
[1] ;
45584 if (!args
) SWIG_fail
;
45585 swig_obj
[0] = args
;
45586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45587 if (!SWIG_IsOK(res1
)) {
45588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45590 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45593 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45594 wxPyEndAllowThreads(__tstate
);
45595 if (PyErr_Occurred()) SWIG_fail
;
45597 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45604 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45607 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45608 return SWIG_Py_Void();
45611 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45612 return SWIG_Python_InitShadowInstance(args
);
45615 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45616 PyObject
*resultobj
= 0;
45617 wxObject
*arg1
= (wxObject
*) 0 ;
45620 wxFontPickerEvent
*result
= 0 ;
45627 PyObject
* obj0
= 0 ;
45628 PyObject
* obj1
= 0 ;
45629 PyObject
* obj2
= 0 ;
45630 char * kwnames
[] = {
45631 (char *) "generator",(char *) "id",(char *) "f", NULL
45634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45636 if (!SWIG_IsOK(res1
)) {
45637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45639 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45641 if (!SWIG_IsOK(ecode2
)) {
45642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45644 arg2
= static_cast< int >(val2
);
45645 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45646 if (!SWIG_IsOK(res3
)) {
45647 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45652 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45655 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45656 wxPyEndAllowThreads(__tstate
);
45657 if (PyErr_Occurred()) SWIG_fail
;
45659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45666 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45667 PyObject
*resultobj
= 0;
45668 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45672 PyObject
*swig_obj
[1] ;
45674 if (!args
) SWIG_fail
;
45675 swig_obj
[0] = args
;
45676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45677 if (!SWIG_IsOK(res1
)) {
45678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45680 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45683 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45684 wxPyEndAllowThreads(__tstate
);
45685 if (PyErr_Occurred()) SWIG_fail
;
45687 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45694 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45695 PyObject
*resultobj
= 0;
45696 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45702 PyObject
* obj0
= 0 ;
45703 PyObject
* obj1
= 0 ;
45704 char * kwnames
[] = {
45705 (char *) "self",(char *) "c", NULL
45708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45710 if (!SWIG_IsOK(res1
)) {
45711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45713 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45715 if (!SWIG_IsOK(res2
)) {
45716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45724 (arg1
)->SetFont((wxFont
const &)*arg2
);
45725 wxPyEndAllowThreads(__tstate
);
45726 if (PyErr_Occurred()) SWIG_fail
;
45728 resultobj
= SWIG_Py_Void();
45735 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45738 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45739 return SWIG_Py_Void();
45742 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45743 return SWIG_Python_InitShadowInstance(args
);
45746 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45747 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45752 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45753 PyObject
*pyobj
= 0;
45757 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45759 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45766 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45767 PyObject
*resultobj
= 0;
45768 wxWindow
*arg1
= (wxWindow
*) 0 ;
45769 int arg2
= (int) -1 ;
45770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45772 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45773 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45774 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45775 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45776 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45777 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45778 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45779 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45780 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45781 wxCollapsiblePane
*result
= 0 ;
45786 bool temp3
= false ;
45793 bool temp8
= false ;
45794 PyObject
* obj0
= 0 ;
45795 PyObject
* obj1
= 0 ;
45796 PyObject
* obj2
= 0 ;
45797 PyObject
* obj3
= 0 ;
45798 PyObject
* obj4
= 0 ;
45799 PyObject
* obj5
= 0 ;
45800 PyObject
* obj6
= 0 ;
45801 PyObject
* obj7
= 0 ;
45802 char * kwnames
[] = {
45803 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45808 if (!SWIG_IsOK(res1
)) {
45809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45814 if (!SWIG_IsOK(ecode2
)) {
45815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45817 arg2
= static_cast< int >(val2
);
45821 arg3
= wxString_in_helper(obj2
);
45822 if (arg3
== NULL
) SWIG_fail
;
45829 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45835 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45839 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45840 if (!SWIG_IsOK(ecode6
)) {
45841 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45843 arg6
= static_cast< long >(val6
);
45846 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45847 if (!SWIG_IsOK(res7
)) {
45848 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45853 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45857 arg8
= wxString_in_helper(obj7
);
45858 if (arg8
== NULL
) SWIG_fail
;
45863 if (!wxPyCheckForApp()) SWIG_fail
;
45864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45865 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45866 wxPyEndAllowThreads(__tstate
);
45867 if (PyErr_Occurred()) SWIG_fail
;
45869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45892 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45893 PyObject
*resultobj
= 0;
45894 wxCollapsiblePane
*result
= 0 ;
45896 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45898 if (!wxPyCheckForApp()) SWIG_fail
;
45899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45900 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45901 wxPyEndAllowThreads(__tstate
);
45902 if (PyErr_Occurred()) SWIG_fail
;
45904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45911 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45912 PyObject
*resultobj
= 0;
45913 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45914 wxWindow
*arg2
= (wxWindow
*) 0 ;
45915 int arg3
= (int) -1 ;
45916 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45917 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45922 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45923 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45924 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45925 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45926 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45934 bool temp4
= false ;
45941 bool temp9
= false ;
45942 PyObject
* obj0
= 0 ;
45943 PyObject
* obj1
= 0 ;
45944 PyObject
* obj2
= 0 ;
45945 PyObject
* obj3
= 0 ;
45946 PyObject
* obj4
= 0 ;
45947 PyObject
* obj5
= 0 ;
45948 PyObject
* obj6
= 0 ;
45949 PyObject
* obj7
= 0 ;
45950 PyObject
* obj8
= 0 ;
45951 char * kwnames
[] = {
45952 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45957 if (!SWIG_IsOK(res1
)) {
45958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45960 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45962 if (!SWIG_IsOK(res2
)) {
45963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45968 if (!SWIG_IsOK(ecode3
)) {
45969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45971 arg3
= static_cast< int >(val3
);
45975 arg4
= wxString_in_helper(obj3
);
45976 if (arg4
== NULL
) SWIG_fail
;
45983 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45989 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45993 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45994 if (!SWIG_IsOK(ecode7
)) {
45995 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45997 arg7
= static_cast< long >(val7
);
46000 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46001 if (!SWIG_IsOK(res8
)) {
46002 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46007 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46011 arg9
= wxString_in_helper(obj8
);
46012 if (arg9
== NULL
) SWIG_fail
;
46017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46019 wxPyEndAllowThreads(__tstate
);
46020 if (PyErr_Occurred()) SWIG_fail
;
46023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46047 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46048 PyObject
*resultobj
= 0;
46049 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46050 bool arg2
= (bool) true ;
46055 PyObject
* obj0
= 0 ;
46056 PyObject
* obj1
= 0 ;
46057 char * kwnames
[] = {
46058 (char *) "self",(char *) "collapse", NULL
46061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46063 if (!SWIG_IsOK(res1
)) {
46064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46066 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46068 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46069 if (!SWIG_IsOK(ecode2
)) {
46070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46072 arg2
= static_cast< bool >(val2
);
46075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46076 (arg1
)->Collapse(arg2
);
46077 wxPyEndAllowThreads(__tstate
);
46078 if (PyErr_Occurred()) SWIG_fail
;
46080 resultobj
= SWIG_Py_Void();
46087 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46088 PyObject
*resultobj
= 0;
46089 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46092 PyObject
*swig_obj
[1] ;
46094 if (!args
) SWIG_fail
;
46095 swig_obj
[0] = args
;
46096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46097 if (!SWIG_IsOK(res1
)) {
46098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46100 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46104 wxPyEndAllowThreads(__tstate
);
46105 if (PyErr_Occurred()) SWIG_fail
;
46107 resultobj
= SWIG_Py_Void();
46114 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46115 PyObject
*resultobj
= 0;
46116 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46120 PyObject
*swig_obj
[1] ;
46122 if (!args
) SWIG_fail
;
46123 swig_obj
[0] = args
;
46124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46125 if (!SWIG_IsOK(res1
)) {
46126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46128 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46131 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46132 wxPyEndAllowThreads(__tstate
);
46133 if (PyErr_Occurred()) SWIG_fail
;
46136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46144 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46145 PyObject
*resultobj
= 0;
46146 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46150 PyObject
*swig_obj
[1] ;
46152 if (!args
) SWIG_fail
;
46153 swig_obj
[0] = args
;
46154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46155 if (!SWIG_IsOK(res1
)) {
46156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46158 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46161 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46162 wxPyEndAllowThreads(__tstate
);
46163 if (PyErr_Occurred()) SWIG_fail
;
46166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46174 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46175 PyObject
*resultobj
= 0;
46176 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46177 wxWindow
*result
= 0 ;
46180 PyObject
*swig_obj
[1] ;
46182 if (!args
) SWIG_fail
;
46183 swig_obj
[0] = args
;
46184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46185 if (!SWIG_IsOK(res1
)) {
46186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46188 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46191 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46192 wxPyEndAllowThreads(__tstate
);
46193 if (PyErr_Occurred()) SWIG_fail
;
46196 resultobj
= wxPyMake_wxObject(result
, 0);
46204 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46207 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46208 return SWIG_Py_Void();
46211 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46212 return SWIG_Python_InitShadowInstance(args
);
46215 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46216 PyObject
*resultobj
= 0;
46217 wxObject
*arg1
= (wxObject
*) 0 ;
46220 wxCollapsiblePaneEvent
*result
= 0 ;
46227 PyObject
* obj0
= 0 ;
46228 PyObject
* obj1
= 0 ;
46229 PyObject
* obj2
= 0 ;
46230 char * kwnames
[] = {
46231 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46236 if (!SWIG_IsOK(res1
)) {
46237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46239 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46241 if (!SWIG_IsOK(ecode2
)) {
46242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46244 arg2
= static_cast< int >(val2
);
46245 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46246 if (!SWIG_IsOK(ecode3
)) {
46247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46249 arg3
= static_cast< bool >(val3
);
46251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46252 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46253 wxPyEndAllowThreads(__tstate
);
46254 if (PyErr_Occurred()) SWIG_fail
;
46256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46263 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46264 PyObject
*resultobj
= 0;
46265 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46269 PyObject
*swig_obj
[1] ;
46271 if (!args
) SWIG_fail
;
46272 swig_obj
[0] = args
;
46273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46274 if (!SWIG_IsOK(res1
)) {
46275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46277 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46280 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46281 wxPyEndAllowThreads(__tstate
);
46282 if (PyErr_Occurred()) SWIG_fail
;
46285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46293 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46294 PyObject
*resultobj
= 0;
46295 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46301 PyObject
* obj0
= 0 ;
46302 PyObject
* obj1
= 0 ;
46303 char * kwnames
[] = {
46304 (char *) "self",(char *) "c", NULL
46307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46309 if (!SWIG_IsOK(res1
)) {
46310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46312 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46313 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46314 if (!SWIG_IsOK(ecode2
)) {
46315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46317 arg2
= static_cast< bool >(val2
);
46319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46320 (arg1
)->SetCollapsed(arg2
);
46321 wxPyEndAllowThreads(__tstate
);
46322 if (PyErr_Occurred()) SWIG_fail
;
46324 resultobj
= SWIG_Py_Void();
46331 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46334 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46335 return SWIG_Py_Void();
46338 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46339 return SWIG_Python_InitShadowInstance(args
);
46342 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46343 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46348 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46349 PyObject
*pyobj
= 0;
46353 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46355 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46362 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46363 PyObject
*resultobj
= 0;
46364 wxWindow
*arg1
= (wxWindow
*) 0 ;
46365 int arg2
= (int) -1 ;
46366 wxString
const &arg3_defvalue
= wxEmptyString
;
46367 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46372 long arg6
= (long) 0 ;
46373 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46374 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46375 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46376 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46377 wxSearchCtrl
*result
= 0 ;
46382 bool temp3
= false ;
46389 bool temp8
= false ;
46390 PyObject
* obj0
= 0 ;
46391 PyObject
* obj1
= 0 ;
46392 PyObject
* obj2
= 0 ;
46393 PyObject
* obj3
= 0 ;
46394 PyObject
* obj4
= 0 ;
46395 PyObject
* obj5
= 0 ;
46396 PyObject
* obj6
= 0 ;
46397 PyObject
* obj7
= 0 ;
46398 char * kwnames
[] = {
46399 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46404 if (!SWIG_IsOK(res1
)) {
46405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46407 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46410 if (!SWIG_IsOK(ecode2
)) {
46411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46413 arg2
= static_cast< int >(val2
);
46417 arg3
= wxString_in_helper(obj2
);
46418 if (arg3
== NULL
) SWIG_fail
;
46425 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46431 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46435 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46436 if (!SWIG_IsOK(ecode6
)) {
46437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46439 arg6
= static_cast< long >(val6
);
46442 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46443 if (!SWIG_IsOK(res7
)) {
46444 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46449 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46453 arg8
= wxString_in_helper(obj7
);
46454 if (arg8
== NULL
) SWIG_fail
;
46459 if (!wxPyCheckForApp()) SWIG_fail
;
46460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46461 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46462 wxPyEndAllowThreads(__tstate
);
46463 if (PyErr_Occurred()) SWIG_fail
;
46465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46488 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46489 PyObject
*resultobj
= 0;
46490 wxSearchCtrl
*result
= 0 ;
46492 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46494 if (!wxPyCheckForApp()) SWIG_fail
;
46495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46496 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46497 wxPyEndAllowThreads(__tstate
);
46498 if (PyErr_Occurred()) SWIG_fail
;
46500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46507 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46508 PyObject
*resultobj
= 0;
46509 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46510 wxWindow
*arg2
= (wxWindow
*) 0 ;
46511 int arg3
= (int) -1 ;
46512 wxString
const &arg4_defvalue
= wxEmptyString
;
46513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46518 long arg7
= (long) 0 ;
46519 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46520 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46521 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46522 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46530 bool temp4
= false ;
46537 bool temp9
= false ;
46538 PyObject
* obj0
= 0 ;
46539 PyObject
* obj1
= 0 ;
46540 PyObject
* obj2
= 0 ;
46541 PyObject
* obj3
= 0 ;
46542 PyObject
* obj4
= 0 ;
46543 PyObject
* obj5
= 0 ;
46544 PyObject
* obj6
= 0 ;
46545 PyObject
* obj7
= 0 ;
46546 PyObject
* obj8
= 0 ;
46547 char * kwnames
[] = {
46548 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46553 if (!SWIG_IsOK(res1
)) {
46554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46556 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46558 if (!SWIG_IsOK(res2
)) {
46559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46564 if (!SWIG_IsOK(ecode3
)) {
46565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46567 arg3
= static_cast< int >(val3
);
46571 arg4
= wxString_in_helper(obj3
);
46572 if (arg4
== NULL
) SWIG_fail
;
46579 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46585 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46589 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46590 if (!SWIG_IsOK(ecode7
)) {
46591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46593 arg7
= static_cast< long >(val7
);
46596 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46597 if (!SWIG_IsOK(res8
)) {
46598 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46603 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46607 arg9
= wxString_in_helper(obj8
);
46608 if (arg9
== NULL
) SWIG_fail
;
46613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46615 wxPyEndAllowThreads(__tstate
);
46616 if (PyErr_Occurred()) SWIG_fail
;
46619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46643 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46644 PyObject
*resultobj
= 0;
46645 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46646 wxMenu
*arg2
= (wxMenu
*) 0 ;
46651 PyObject
* obj0
= 0 ;
46652 PyObject
* obj1
= 0 ;
46653 char * kwnames
[] = {
46654 (char *) "self",(char *) "menu", NULL
46657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46659 if (!SWIG_IsOK(res1
)) {
46660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46662 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46664 if (!SWIG_IsOK(res2
)) {
46665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46667 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46670 (arg1
)->SetMenu(arg2
);
46671 wxPyEndAllowThreads(__tstate
);
46672 if (PyErr_Occurred()) SWIG_fail
;
46674 resultobj
= SWIG_Py_Void();
46681 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46682 PyObject
*resultobj
= 0;
46683 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46684 wxMenu
*result
= 0 ;
46687 PyObject
*swig_obj
[1] ;
46689 if (!args
) SWIG_fail
;
46690 swig_obj
[0] = args
;
46691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46692 if (!SWIG_IsOK(res1
)) {
46693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46695 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46698 result
= (wxMenu
*)(arg1
)->GetMenu();
46699 wxPyEndAllowThreads(__tstate
);
46700 if (PyErr_Occurred()) SWIG_fail
;
46703 resultobj
= wxPyMake_wxObject(result
, 0);
46711 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46712 PyObject
*resultobj
= 0;
46713 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46719 PyObject
* obj0
= 0 ;
46720 PyObject
* obj1
= 0 ;
46721 char * kwnames
[] = {
46722 (char *) "self",(char *) "show", NULL
46725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46727 if (!SWIG_IsOK(res1
)) {
46728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46730 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46731 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46732 if (!SWIG_IsOK(ecode2
)) {
46733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46735 arg2
= static_cast< bool >(val2
);
46737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46738 (arg1
)->ShowSearchButton(arg2
);
46739 wxPyEndAllowThreads(__tstate
);
46740 if (PyErr_Occurred()) SWIG_fail
;
46742 resultobj
= SWIG_Py_Void();
46749 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46750 PyObject
*resultobj
= 0;
46751 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46755 PyObject
*swig_obj
[1] ;
46757 if (!args
) SWIG_fail
;
46758 swig_obj
[0] = args
;
46759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46760 if (!SWIG_IsOK(res1
)) {
46761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46763 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46766 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46767 wxPyEndAllowThreads(__tstate
);
46768 if (PyErr_Occurred()) SWIG_fail
;
46771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46779 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46780 PyObject
*resultobj
= 0;
46781 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46787 PyObject
* obj0
= 0 ;
46788 PyObject
* obj1
= 0 ;
46789 char * kwnames
[] = {
46790 (char *) "self",(char *) "show", NULL
46793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46795 if (!SWIG_IsOK(res1
)) {
46796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46798 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46799 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46800 if (!SWIG_IsOK(ecode2
)) {
46801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46803 arg2
= static_cast< bool >(val2
);
46805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46806 (arg1
)->ShowCancelButton(arg2
);
46807 wxPyEndAllowThreads(__tstate
);
46808 if (PyErr_Occurred()) SWIG_fail
;
46810 resultobj
= SWIG_Py_Void();
46817 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46818 PyObject
*resultobj
= 0;
46819 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46823 PyObject
*swig_obj
[1] ;
46825 if (!args
) SWIG_fail
;
46826 swig_obj
[0] = args
;
46827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46828 if (!SWIG_IsOK(res1
)) {
46829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46831 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46834 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46835 wxPyEndAllowThreads(__tstate
);
46836 if (PyErr_Occurred()) SWIG_fail
;
46839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46847 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46848 PyObject
*resultobj
= 0;
46849 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46850 wxString
*arg2
= 0 ;
46853 bool temp2
= false ;
46854 PyObject
* obj0
= 0 ;
46855 PyObject
* obj1
= 0 ;
46856 char * kwnames
[] = {
46857 (char *) "self",(char *) "text", NULL
46860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46862 if (!SWIG_IsOK(res1
)) {
46863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46865 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46867 arg2
= wxString_in_helper(obj1
);
46868 if (arg2
== NULL
) SWIG_fail
;
46872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46873 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46874 wxPyEndAllowThreads(__tstate
);
46875 if (PyErr_Occurred()) SWIG_fail
;
46877 resultobj
= SWIG_Py_Void();
46892 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46893 PyObject
*resultobj
= 0;
46894 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46898 PyObject
*swig_obj
[1] ;
46900 if (!args
) SWIG_fail
;
46901 swig_obj
[0] = args
;
46902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46903 if (!SWIG_IsOK(res1
)) {
46904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46906 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46909 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46910 wxPyEndAllowThreads(__tstate
);
46911 if (PyErr_Occurred()) SWIG_fail
;
46915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46926 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46927 PyObject
*resultobj
= 0;
46928 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46929 wxBitmap
*arg2
= 0 ;
46934 PyObject
* obj0
= 0 ;
46935 PyObject
* obj1
= 0 ;
46936 char * kwnames
[] = {
46937 (char *) "self",(char *)"arg2", NULL
46940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46942 if (!SWIG_IsOK(res1
)) {
46943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46945 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46947 if (!SWIG_IsOK(res2
)) {
46948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46953 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46956 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46957 wxPyEndAllowThreads(__tstate
);
46958 if (PyErr_Occurred()) SWIG_fail
;
46960 resultobj
= SWIG_Py_Void();
46967 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46968 PyObject
*resultobj
= 0;
46969 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46970 wxBitmap
*arg2
= 0 ;
46975 PyObject
* obj0
= 0 ;
46976 PyObject
* obj1
= 0 ;
46977 char * kwnames
[] = {
46978 (char *) "self",(char *)"arg2", NULL
46981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46983 if (!SWIG_IsOK(res1
)) {
46984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46986 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46988 if (!SWIG_IsOK(res2
)) {
46989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46994 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46997 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46998 wxPyEndAllowThreads(__tstate
);
46999 if (PyErr_Occurred()) SWIG_fail
;
47001 resultobj
= SWIG_Py_Void();
47008 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47009 PyObject
*resultobj
= 0;
47010 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47011 wxBitmap
*arg2
= 0 ;
47016 PyObject
* obj0
= 0 ;
47017 PyObject
* obj1
= 0 ;
47018 char * kwnames
[] = {
47019 (char *) "self",(char *)"arg2", NULL
47022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47024 if (!SWIG_IsOK(res1
)) {
47025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47027 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47029 if (!SWIG_IsOK(res2
)) {
47030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47035 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47038 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
47039 wxPyEndAllowThreads(__tstate
);
47040 if (PyErr_Occurred()) SWIG_fail
;
47042 resultobj
= SWIG_Py_Void();
47049 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47052 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47053 return SWIG_Py_Void();
47056 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47057 return SWIG_Python_InitShadowInstance(args
);
47060 static PyMethodDef SwigMethods
[] = {
47061 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47063 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47065 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47066 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47068 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47069 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47071 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47073 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47074 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47075 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47076 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47077 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47084 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47085 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47086 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47087 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47089 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47091 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47092 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47094 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47096 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47097 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47099 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47100 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47102 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47104 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47106 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47107 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47109 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47111 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47113 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47114 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47115 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47117 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47118 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47121 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47124 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47126 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47127 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47128 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47129 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47130 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47131 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47132 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47133 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47134 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47136 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47137 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47139 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47142 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47144 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47145 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47146 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47148 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47150 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47152 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47153 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47155 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47158 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47159 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47161 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47163 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47164 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47166 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47167 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47169 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"StaticText_IsEllipsized", (PyCFunction
)_wrap_StaticText_IsEllipsized
, METH_O
, NULL
},
47172 { (char *)"StaticText_RemoveMarkup", (PyCFunction
) _wrap_StaticText_RemoveMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"StaticText_EscapeMarkup", (PyCFunction
) _wrap_StaticText_EscapeMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47176 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47177 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47179 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47181 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47185 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47186 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47188 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47199 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47204 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47210 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47211 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47213 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47217 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47218 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47220 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47221 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47231 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47232 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47233 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47234 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47235 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47236 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47237 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47239 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47240 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47241 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47242 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47243 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47244 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47245 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47246 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47247 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47248 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47250 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47251 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47253 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47255 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47257 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47262 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47263 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47264 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47265 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47266 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47267 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47268 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47269 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47274 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47275 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47284 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47290 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47291 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47292 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47293 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47294 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47295 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47296 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47297 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47298 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47299 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47301 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47302 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47303 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47305 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47308 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47312 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47313 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47315 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47316 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47317 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47318 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47319 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47321 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47323 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47324 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47325 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47326 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47327 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47330 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47331 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47333 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47335 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47336 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47337 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47342 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47344 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47345 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47347 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47348 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47349 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47353 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47354 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47357 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47358 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47360 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47362 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47363 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47365 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47368 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47369 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47371 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47379 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47380 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47387 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47388 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47390 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47392 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47395 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47396 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47398 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47399 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47400 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47403 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47404 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47409 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47410 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47412 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47414 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47415 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47417 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47418 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47419 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47422 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47423 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47425 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47428 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47430 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47431 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47432 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47434 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47435 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47440 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47445 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47447 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47449 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47451 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47452 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47455 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47463 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47465 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47467 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47469 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47470 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47471 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47472 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47474 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47477 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47481 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47482 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47484 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47485 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47487 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47489 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47490 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47491 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47493 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47494 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47496 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47498 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47499 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47500 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47502 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47503 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47505 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47513 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47514 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47515 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47517 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47518 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47520 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47522 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47523 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47524 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47525 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47527 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47528 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47529 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47530 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47531 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47532 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47533 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47534 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47535 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47536 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47537 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47538 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47539 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47540 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47541 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47542 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47543 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47544 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47545 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47547 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47554 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47556 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47558 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47559 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47566 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47571 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47572 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47589 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47590 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47591 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47592 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47595 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47596 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47598 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47599 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47602 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47603 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47604 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47606 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47611 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47612 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47614 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47618 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47619 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47620 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47621 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47622 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47623 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47625 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47626 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47627 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47628 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47629 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47630 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47631 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47645 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47646 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47647 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47648 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47649 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47650 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47651 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47652 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47653 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47654 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47655 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47656 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47657 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47658 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47659 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47660 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47661 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47662 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47663 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47664 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47665 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47666 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47667 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47668 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47669 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47670 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47671 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47672 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47673 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47674 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47675 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47676 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47677 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47678 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47679 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47680 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47682 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47683 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47684 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47685 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47686 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47687 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47688 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47689 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47690 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47691 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47692 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47693 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47694 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47695 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47696 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47697 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47698 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47699 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47700 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47701 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47702 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47703 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47704 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47705 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47707 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47708 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47710 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47717 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47718 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47719 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47734 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47735 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47736 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47738 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47739 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47741 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47747 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47748 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47753 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47755 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47756 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47760 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47762 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47764 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47766 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47769 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47773 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47776 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47777 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47779 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47781 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47782 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47784 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47785 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47788 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47790 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47794 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47795 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47796 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47797 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47798 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47801 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47802 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47803 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47804 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47806 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47807 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47809 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47811 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47812 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47813 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47814 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47815 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47817 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47819 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47821 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47822 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47824 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47825 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47826 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47828 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47829 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47830 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47831 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47833 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47835 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47836 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47837 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47839 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47841 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47842 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47857 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47858 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47859 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47860 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47863 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47866 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47868 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47869 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47871 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47872 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47873 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47874 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47880 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47882 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47887 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47889 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47890 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47893 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47895 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47896 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47899 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47901 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47904 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47907 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47910 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47912 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47913 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47914 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47915 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47917 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47920 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47921 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47923 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47924 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47927 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47928 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47930 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47932 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47933 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47934 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47936 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47937 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47938 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47939 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47941 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47944 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47945 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47946 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47947 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47948 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47949 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47950 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47951 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47952 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47954 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47955 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47956 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47957 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47958 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47959 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47960 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47961 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47962 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47964 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47965 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47966 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47967 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47968 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47969 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47970 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47971 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47972 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47973 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47974 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47975 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47976 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47977 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47978 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47979 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47980 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47981 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47982 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47983 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47984 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47985 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47986 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47987 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47988 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47989 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47990 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47991 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47992 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47993 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47994 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47995 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47996 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47997 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47998 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47999 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48000 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48001 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48002 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48004 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48005 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48006 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48007 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48008 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48009 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48010 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48011 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48012 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48013 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48014 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48015 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48016 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48017 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48020 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48022 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48023 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48024 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48025 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48026 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48027 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48028 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48029 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48030 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48031 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48032 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48033 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48034 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48035 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48036 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48037 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48038 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48039 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48040 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48041 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48042 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48043 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48044 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48045 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48046 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48047 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48048 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48050 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48051 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48052 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48053 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48054 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48055 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48056 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48057 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48058 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48059 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48060 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48061 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48062 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48063 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48064 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48065 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48066 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48067 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48069 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48070 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48071 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48072 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48073 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48074 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48075 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48076 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48077 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48079 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48080 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48081 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48082 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48083 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48084 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48085 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48086 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48087 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48088 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48089 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48090 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48091 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48092 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48093 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48094 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48095 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48096 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48097 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48098 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48099 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48100 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48101 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48102 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48103 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48104 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48105 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48106 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48107 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48108 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48109 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48110 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48111 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48112 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48113 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48114 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48115 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48116 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48117 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48118 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48119 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48120 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48121 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48122 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48123 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48124 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48125 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48126 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48127 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48128 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48129 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48130 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48131 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48132 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48133 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48134 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48135 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48136 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48137 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48138 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48139 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48140 { NULL
, NULL
, 0, NULL
}
48144 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48146 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48149 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48150 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48152 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48153 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48155 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48156 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48158 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48159 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48161 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48162 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48164 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48165 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48167 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48168 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48170 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48173 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48174 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48176 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48179 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48180 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48182 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48185 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48188 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48191 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48192 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48194 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48195 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48197 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48198 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48200 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48201 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48203 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48204 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48206 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48207 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48209 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48210 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48212 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48213 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48215 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48218 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48219 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48221 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48224 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48225 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48227 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48228 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48230 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48231 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48233 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48234 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48236 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48237 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48239 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48240 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48242 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48245 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48248 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48249 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48251 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48252 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48254 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48257 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48260 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48261 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48263 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48264 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48266 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48267 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48269 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48270 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48272 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48275 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48276 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48278 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48279 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48281 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48284 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48285 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48287 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48288 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48290 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48291 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48293 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48296 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48297 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48299 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48300 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48302 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48303 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48305 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48306 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48308 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48309 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48311 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48312 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48314 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48315 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48317 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48318 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48320 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48321 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48323 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48324 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48326 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48327 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48329 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48330 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48332 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48333 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48335 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48336 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48338 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48339 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48341 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48342 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48344 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48345 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48347 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48348 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48350 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48351 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48353 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48354 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48356 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48357 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48359 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48360 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48362 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48363 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48365 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48366 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48368 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48369 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48371 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48372 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48374 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48375 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48377 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48378 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48380 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48381 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48383 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48384 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48386 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48387 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48389 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48390 return (void *)((wxControl
*) ((wxGauge
*) x
));
48392 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48393 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48395 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48396 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48398 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48399 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48401 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48402 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48404 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48405 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48407 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48408 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48410 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48411 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48413 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48414 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48416 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48417 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48419 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48420 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48422 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48423 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48425 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48426 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48428 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48429 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48431 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48432 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48434 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48435 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48437 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48438 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48440 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48441 return (void *)((wxControl
*) ((wxSlider
*) x
));
48443 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48444 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48446 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48447 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48449 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48450 return (void *)((wxControl
*) ((wxButton
*) x
));
48452 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48453 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48455 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48456 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48458 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48459 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48461 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48462 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48464 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48465 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48467 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48468 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48470 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48471 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48473 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48474 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48476 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48477 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48479 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48480 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48482 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48483 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48485 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48486 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48488 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48489 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48491 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48492 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48494 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48495 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48497 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48498 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48500 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48501 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48503 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48504 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48506 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48507 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48509 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48510 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48512 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48513 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48515 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48516 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48518 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48519 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48521 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48522 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48524 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48525 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48527 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48530 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48531 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48533 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48534 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48536 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48539 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48540 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48542 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48543 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48545 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48548 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48551 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48552 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48554 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48557 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48560 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48563 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48564 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48566 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48569 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48570 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48572 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48575 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48578 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48581 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48584 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48587 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48588 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48590 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48593 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48596 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48599 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48602 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48605 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48608 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48611 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48614 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48617 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48620 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48623 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48626 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48629 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48632 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48635 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48638 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48641 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48644 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48647 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48650 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48653 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48656 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48659 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48662 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48665 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48668 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48671 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48674 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48677 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48680 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48683 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48686 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48687 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48689 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48690 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48692 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48693 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48695 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48696 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48698 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48699 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48701 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48702 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48704 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48707 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48708 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48710 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48711 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48713 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48714 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48716 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48719 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48720 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48722 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48725 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48726 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48728 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48729 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48731 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48732 return (void *)((wxObject
*) ((wxSizer
*) x
));
48734 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48735 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48737 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48740 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48743 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48746 static void *_p_wxEventTo_p_wxObject(void *x
) {
48747 return (void *)((wxObject
*) ((wxEvent
*) x
));
48749 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48750 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48752 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48753 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48755 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48758 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48759 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48761 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48764 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48767 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48770 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48773 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48776 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48777 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48779 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48780 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48782 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48783 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48785 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48786 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48788 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48789 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48791 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48792 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48794 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48797 static void *_p_wxControlTo_p_wxObject(void *x
) {
48798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48800 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48803 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48806 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48809 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48812 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48815 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48816 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48818 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48821 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48824 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48827 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48830 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48831 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48833 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48834 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48836 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48839 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48842 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48845 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48848 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48851 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48852 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48854 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48857 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48860 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48863 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48864 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48866 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48869 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48872 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48873 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48875 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48878 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48879 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48881 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48884 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48885 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48887 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48888 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48890 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48891 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48893 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48894 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48896 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48897 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48899 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48900 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48902 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48905 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48906 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48908 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48911 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48914 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48917 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48920 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48923 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48926 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48929 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48932 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48935 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48936 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48938 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48941 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48944 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48945 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48947 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48950 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48953 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48956 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48957 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48959 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48960 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48962 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48965 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48968 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48971 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48974 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48977 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48980 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48983 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48984 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48986 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48987 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48989 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48992 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48995 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48998 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49001 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49002 return (void *)((wxObject
*) ((wxListItem
*) x
));
49004 static void *_p_wxImageTo_p_wxObject(void *x
) {
49005 return (void *)((wxObject
*) ((wxImage
*) x
));
49007 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49008 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49010 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49013 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49014 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49016 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49019 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49022 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49025 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49028 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49031 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49034 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49037 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49038 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49040 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49041 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49043 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49046 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49047 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49049 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49052 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49053 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49055 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49058 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49061 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49062 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49064 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49065 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49067 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49068 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49070 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49071 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49073 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49074 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49076 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49079 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49082 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49085 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49086 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49088 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49091 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49092 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49094 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49095 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49097 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49100 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49103 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49106 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49109 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49112 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49115 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49118 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49121 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49122 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49124 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49127 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49130 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49131 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49133 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49134 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49136 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49137 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49139 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49140 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49142 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49143 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49145 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49146 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49148 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49149 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49151 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49152 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49154 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49155 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49157 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49158 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49160 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49161 return (void *)((wxWindow
*) ((wxControl
*) x
));
49163 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49164 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49166 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49167 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49169 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49170 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49172 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49173 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49175 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49176 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49178 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49179 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49181 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49182 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49184 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49185 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49187 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49188 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49190 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49191 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49193 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49194 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49196 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49197 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49199 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49200 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49202 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49203 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49205 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49206 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49208 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49209 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49211 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49212 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49214 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49215 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49217 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49218 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49220 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49221 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49223 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49224 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49226 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49227 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49229 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49230 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49232 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49233 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49235 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49236 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49238 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49239 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49241 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49242 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49244 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49245 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49247 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49248 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49250 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49251 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49253 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49254 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49256 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49257 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49259 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49260 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49262 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49263 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49265 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49266 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49268 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49269 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49271 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49272 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49274 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49275 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49277 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49278 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49280 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49281 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49283 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49284 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49286 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49287 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49289 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49290 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49292 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49293 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49295 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49296 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49298 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49299 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49301 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49302 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49304 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49305 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49307 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49308 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49310 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49311 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49313 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49314 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49316 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49317 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49319 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49320 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49322 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49323 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49325 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49326 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49328 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49329 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49331 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49332 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49334 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49335 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49337 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49338 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49340 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49341 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49343 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49344 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49346 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49347 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49349 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49350 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49352 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49353 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49355 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49356 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49358 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49359 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49361 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49362 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49364 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49365 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49367 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49368 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49370 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49371 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49373 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49374 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49376 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49377 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49379 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49380 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49382 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49383 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49384 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};
49385 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49386 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49387 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49388 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49389 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49390 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49391 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49392 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49393 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49394 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49395 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49396 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49397 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49398 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49399 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49400 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49401 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49402 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49403 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49404 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49405 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49406 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49407 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49408 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49409 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49410 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49411 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49412 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49413 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49414 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49415 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49416 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49417 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49418 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49419 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49420 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49421 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49422 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49423 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49424 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49425 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49426 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49427 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49428 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49429 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49430 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49431 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49432 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49433 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49434 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49435 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49436 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49437 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49438 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49439 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49440 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49441 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49442 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49443 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49444 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49445 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49446 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49447 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49448 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49449 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49450 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49451 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49452 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49453 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49454 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49455 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49456 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49457 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49458 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49459 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49460 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49461 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49462 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49463 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49464 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49465 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49466 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49467 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49468 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49469 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49470 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49471 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49472 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49473 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49474 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49475 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49476 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49477 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49478 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49479 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49480 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49481 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49482 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49483 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49484 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49485 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49486 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49487 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49488 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49489 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49490 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49491 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49492 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49493 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49494 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49495 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49496 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49497 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49498 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49499 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49500 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49501 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49502 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49503 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49504 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49505 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49506 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49507 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49508 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49509 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49510 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49511 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49512 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49513 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49514 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49515 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49516 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49517 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49518 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49519 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49520 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49521 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49522 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49523 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49524 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49525 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49526 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49527 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49528 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49529 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49530 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49531 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49532 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49533 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49534 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49535 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49536 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49537 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49538 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49539 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49540 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49541 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49542 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49543 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49544 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49545 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49546 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49547 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49548 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49549 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49550 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49551 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49552 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49553 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49554 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49555 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49556 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49557 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49558 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49559 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49560 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49561 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49563 static swig_type_info
*swig_type_initial
[] = {
49566 &_swigt__p_form_ops_t
,
49569 &_swigt__p_unsigned_char
,
49570 &_swigt__p_unsigned_int
,
49571 &_swigt__p_unsigned_long
,
49573 &_swigt__p_wxANIHandler
,
49574 &_swigt__p_wxAcceleratorTable
,
49575 &_swigt__p_wxActivateEvent
,
49576 &_swigt__p_wxArrayInt
,
49577 &_swigt__p_wxArrayString
,
49578 &_swigt__p_wxBMPHandler
,
49579 &_swigt__p_wxBitmap
,
49580 &_swigt__p_wxBitmapButton
,
49581 &_swigt__p_wxBookCtrlBase
,
49582 &_swigt__p_wxBookCtrlBaseEvent
,
49583 &_swigt__p_wxBoxSizer
,
49584 &_swigt__p_wxButton
,
49585 &_swigt__p_wxCURHandler
,
49586 &_swigt__p_wxCheckBox
,
49587 &_swigt__p_wxCheckListBox
,
49588 &_swigt__p_wxChildFocusEvent
,
49589 &_swigt__p_wxChoice
,
49590 &_swigt__p_wxChoicebook
,
49591 &_swigt__p_wxChoicebookEvent
,
49592 &_swigt__p_wxClipboardTextEvent
,
49593 &_swigt__p_wxCloseEvent
,
49594 &_swigt__p_wxCollapsiblePane
,
49595 &_swigt__p_wxCollapsiblePaneEvent
,
49596 &_swigt__p_wxColour
,
49597 &_swigt__p_wxColourPickerCtrl
,
49598 &_swigt__p_wxColourPickerEvent
,
49599 &_swigt__p_wxComboBox
,
49600 &_swigt__p_wxCommandEvent
,
49601 &_swigt__p_wxContextHelp
,
49602 &_swigt__p_wxContextHelpButton
,
49603 &_swigt__p_wxContextMenuEvent
,
49604 &_swigt__p_wxControl
,
49605 &_swigt__p_wxControlWithItems
,
49606 &_swigt__p_wxCursor
,
49608 &_swigt__p_wxDateEvent
,
49609 &_swigt__p_wxDatePickerCtrl
,
49610 &_swigt__p_wxDateTime
,
49611 &_swigt__p_wxDirFilterListCtrl
,
49612 &_swigt__p_wxDirPickerCtrl
,
49613 &_swigt__p_wxDisplayChangedEvent
,
49614 &_swigt__p_wxDropFilesEvent
,
49615 &_swigt__p_wxDuplexMode
,
49616 &_swigt__p_wxEraseEvent
,
49617 &_swigt__p_wxEvent
,
49618 &_swigt__p_wxEventBlocker
,
49619 &_swigt__p_wxEvtHandler
,
49620 &_swigt__p_wxFSFile
,
49621 &_swigt__p_wxFileDirPickerEvent
,
49622 &_swigt__p_wxFilePickerCtrl
,
49623 &_swigt__p_wxFileSystem
,
49624 &_swigt__p_wxFlexGridSizer
,
49625 &_swigt__p_wxFocusEvent
,
49627 &_swigt__p_wxFontPickerCtrl
,
49628 &_swigt__p_wxFontPickerEvent
,
49629 &_swigt__p_wxGBSizerItem
,
49630 &_swigt__p_wxGIFHandler
,
49631 &_swigt__p_wxGauge
,
49632 &_swigt__p_wxGenericDirCtrl
,
49633 &_swigt__p_wxGenericDragImage
,
49634 &_swigt__p_wxGridBagSizer
,
49635 &_swigt__p_wxGridSizer
,
49636 &_swigt__p_wxHelpEvent
,
49637 &_swigt__p_wxHelpProvider
,
49638 &_swigt__p_wxHyperlinkCtrl
,
49639 &_swigt__p_wxHyperlinkEvent
,
49640 &_swigt__p_wxICOHandler
,
49642 &_swigt__p_wxIconizeEvent
,
49643 &_swigt__p_wxIdleEvent
,
49644 &_swigt__p_wxImage
,
49645 &_swigt__p_wxImageHandler
,
49646 &_swigt__p_wxImageList
,
49647 &_swigt__p_wxIndividualLayoutConstraint
,
49648 &_swigt__p_wxInitDialogEvent
,
49649 &_swigt__p_wxItemContainer
,
49650 &_swigt__p_wxJPEGHandler
,
49651 &_swigt__p_wxKeyEvent
,
49652 &_swigt__p_wxLayoutConstraints
,
49653 &_swigt__p_wxListBox
,
49654 &_swigt__p_wxListEvent
,
49655 &_swigt__p_wxListItem
,
49656 &_swigt__p_wxListItemAttr
,
49657 &_swigt__p_wxListView
,
49658 &_swigt__p_wxListbook
,
49659 &_swigt__p_wxListbookEvent
,
49660 &_swigt__p_wxMaximizeEvent
,
49661 &_swigt__p_wxMemoryDC
,
49663 &_swigt__p_wxMenuBar
,
49664 &_swigt__p_wxMenuEvent
,
49665 &_swigt__p_wxMenuItem
,
49666 &_swigt__p_wxMouseCaptureChangedEvent
,
49667 &_swigt__p_wxMouseCaptureLostEvent
,
49668 &_swigt__p_wxMouseEvent
,
49669 &_swigt__p_wxMoveEvent
,
49670 &_swigt__p_wxNavigationKeyEvent
,
49671 &_swigt__p_wxNcPaintEvent
,
49672 &_swigt__p_wxNotebook
,
49673 &_swigt__p_wxNotebookEvent
,
49674 &_swigt__p_wxNotifyEvent
,
49675 &_swigt__p_wxObject
,
49676 &_swigt__p_wxPCXHandler
,
49677 &_swigt__p_wxPNGHandler
,
49678 &_swigt__p_wxPNMHandler
,
49679 &_swigt__p_wxPaintEvent
,
49680 &_swigt__p_wxPaletteChangedEvent
,
49681 &_swigt__p_wxPaperSize
,
49682 &_swigt__p_wxPickerBase
,
49683 &_swigt__p_wxPoint
,
49684 &_swigt__p_wxPyApp
,
49685 &_swigt__p_wxPyCommandEvent
,
49686 &_swigt__p_wxPyControl
,
49687 &_swigt__p_wxPyEvent
,
49688 &_swigt__p_wxPyImageHandler
,
49689 &_swigt__p_wxPyListCtrl
,
49690 &_swigt__p_wxPySizer
,
49691 &_swigt__p_wxPyTreeCtrl
,
49692 &_swigt__p_wxPyTreeItemData
,
49693 &_swigt__p_wxPyValidator
,
49694 &_swigt__p_wxQueryNewPaletteEvent
,
49695 &_swigt__p_wxRadioBox
,
49696 &_swigt__p_wxRadioButton
,
49698 &_swigt__p_wxScrollBar
,
49699 &_swigt__p_wxScrollEvent
,
49700 &_swigt__p_wxScrollWinEvent
,
49701 &_swigt__p_wxSearchCtrl
,
49702 &_swigt__p_wxSetCursorEvent
,
49703 &_swigt__p_wxShowEvent
,
49704 &_swigt__p_wxSimpleHelpProvider
,
49706 &_swigt__p_wxSizeEvent
,
49707 &_swigt__p_wxSizer
,
49708 &_swigt__p_wxSizerItem
,
49709 &_swigt__p_wxSlider
,
49710 &_swigt__p_wxSpinButton
,
49711 &_swigt__p_wxSpinCtrl
,
49712 &_swigt__p_wxSpinEvent
,
49713 &_swigt__p_wxStaticBitmap
,
49714 &_swigt__p_wxStaticBox
,
49715 &_swigt__p_wxStaticBoxSizer
,
49716 &_swigt__p_wxStaticLine
,
49717 &_swigt__p_wxStaticText
,
49718 &_swigt__p_wxStdDialogButtonSizer
,
49719 &_swigt__p_wxString
,
49720 &_swigt__p_wxSysColourChangedEvent
,
49721 &_swigt__p_wxTGAHandler
,
49722 &_swigt__p_wxTIFFHandler
,
49723 &_swigt__p_wxTextAttr
,
49724 &_swigt__p_wxTextCtrl
,
49725 &_swigt__p_wxTextUrlEvent
,
49726 &_swigt__p_wxToggleButton
,
49727 &_swigt__p_wxToolBar
,
49728 &_swigt__p_wxToolBarBase
,
49729 &_swigt__p_wxToolBarToolBase
,
49730 &_swigt__p_wxToolbook
,
49731 &_swigt__p_wxToolbookEvent
,
49732 &_swigt__p_wxTreeEvent
,
49733 &_swigt__p_wxTreeItemId
,
49734 &_swigt__p_wxTreebook
,
49735 &_swigt__p_wxTreebookEvent
,
49736 &_swigt__p_wxUpdateUIEvent
,
49737 &_swigt__p_wxValidator
,
49738 &_swigt__p_wxVisualAttributes
,
49739 &_swigt__p_wxWindow
,
49740 &_swigt__p_wxWindowBase
,
49741 &_swigt__p_wxWindowCreateEvent
,
49742 &_swigt__p_wxWindowDestroyEvent
,
49743 &_swigt__p_wxXPMHandler
,
49746 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49747 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49748 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49749 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49757 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49758 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}};
49759 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}};
49760 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}};
49761 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}};
49762 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49763 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49764 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}};
49765 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49766 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49767 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49768 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49769 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49770 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49771 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49772 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49773 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49774 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49775 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49776 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49777 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49778 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49779 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49780 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49781 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49782 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}};
49783 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49784 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49785 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
49786 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}};
49787 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49788 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49789 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49790 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49791 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49792 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49793 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49794 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49795 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49796 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49797 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49798 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49799 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49800 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49801 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49802 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49803 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49804 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49805 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49806 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49807 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49808 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49809 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49810 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49811 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49812 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49813 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49814 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49815 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49816 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49817 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49818 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49819 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}};
49820 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49821 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49822 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49823 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49824 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49827 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49828 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49833 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49834 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}};
49835 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49836 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49837 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49838 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49839 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}};
49840 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49841 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}};
49842 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49843 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49844 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49845 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49846 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49847 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49853 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}};
49854 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49856 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49857 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49860 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49861 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49863 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49864 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49865 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49866 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49867 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49868 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49869 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49870 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49871 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49878 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49879 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49880 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49881 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49882 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49883 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49884 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49885 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49886 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49887 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}};
49888 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49889 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49890 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}};
49891 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49892 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49893 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49894 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49895 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49896 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49897 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49898 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49899 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49900 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49901 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49902 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49903 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49904 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49905 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49906 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49907 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49908 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49909 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49910 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49911 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49912 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49913 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49914 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}};
49915 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49916 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49917 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49918 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49919 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49920 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49921 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49922 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}};
49923 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49924 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
49925 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49927 static swig_cast_info
*swig_cast_initial
[] = {
49930 _swigc__p_form_ops_t
,
49933 _swigc__p_unsigned_char
,
49934 _swigc__p_unsigned_int
,
49935 _swigc__p_unsigned_long
,
49937 _swigc__p_wxANIHandler
,
49938 _swigc__p_wxAcceleratorTable
,
49939 _swigc__p_wxActivateEvent
,
49940 _swigc__p_wxArrayInt
,
49941 _swigc__p_wxArrayString
,
49942 _swigc__p_wxBMPHandler
,
49943 _swigc__p_wxBitmap
,
49944 _swigc__p_wxBitmapButton
,
49945 _swigc__p_wxBookCtrlBase
,
49946 _swigc__p_wxBookCtrlBaseEvent
,
49947 _swigc__p_wxBoxSizer
,
49948 _swigc__p_wxButton
,
49949 _swigc__p_wxCURHandler
,
49950 _swigc__p_wxCheckBox
,
49951 _swigc__p_wxCheckListBox
,
49952 _swigc__p_wxChildFocusEvent
,
49953 _swigc__p_wxChoice
,
49954 _swigc__p_wxChoicebook
,
49955 _swigc__p_wxChoicebookEvent
,
49956 _swigc__p_wxClipboardTextEvent
,
49957 _swigc__p_wxCloseEvent
,
49958 _swigc__p_wxCollapsiblePane
,
49959 _swigc__p_wxCollapsiblePaneEvent
,
49960 _swigc__p_wxColour
,
49961 _swigc__p_wxColourPickerCtrl
,
49962 _swigc__p_wxColourPickerEvent
,
49963 _swigc__p_wxComboBox
,
49964 _swigc__p_wxCommandEvent
,
49965 _swigc__p_wxContextHelp
,
49966 _swigc__p_wxContextHelpButton
,
49967 _swigc__p_wxContextMenuEvent
,
49968 _swigc__p_wxControl
,
49969 _swigc__p_wxControlWithItems
,
49970 _swigc__p_wxCursor
,
49972 _swigc__p_wxDateEvent
,
49973 _swigc__p_wxDatePickerCtrl
,
49974 _swigc__p_wxDateTime
,
49975 _swigc__p_wxDirFilterListCtrl
,
49976 _swigc__p_wxDirPickerCtrl
,
49977 _swigc__p_wxDisplayChangedEvent
,
49978 _swigc__p_wxDropFilesEvent
,
49979 _swigc__p_wxDuplexMode
,
49980 _swigc__p_wxEraseEvent
,
49982 _swigc__p_wxEventBlocker
,
49983 _swigc__p_wxEvtHandler
,
49984 _swigc__p_wxFSFile
,
49985 _swigc__p_wxFileDirPickerEvent
,
49986 _swigc__p_wxFilePickerCtrl
,
49987 _swigc__p_wxFileSystem
,
49988 _swigc__p_wxFlexGridSizer
,
49989 _swigc__p_wxFocusEvent
,
49991 _swigc__p_wxFontPickerCtrl
,
49992 _swigc__p_wxFontPickerEvent
,
49993 _swigc__p_wxGBSizerItem
,
49994 _swigc__p_wxGIFHandler
,
49996 _swigc__p_wxGenericDirCtrl
,
49997 _swigc__p_wxGenericDragImage
,
49998 _swigc__p_wxGridBagSizer
,
49999 _swigc__p_wxGridSizer
,
50000 _swigc__p_wxHelpEvent
,
50001 _swigc__p_wxHelpProvider
,
50002 _swigc__p_wxHyperlinkCtrl
,
50003 _swigc__p_wxHyperlinkEvent
,
50004 _swigc__p_wxICOHandler
,
50006 _swigc__p_wxIconizeEvent
,
50007 _swigc__p_wxIdleEvent
,
50009 _swigc__p_wxImageHandler
,
50010 _swigc__p_wxImageList
,
50011 _swigc__p_wxIndividualLayoutConstraint
,
50012 _swigc__p_wxInitDialogEvent
,
50013 _swigc__p_wxItemContainer
,
50014 _swigc__p_wxJPEGHandler
,
50015 _swigc__p_wxKeyEvent
,
50016 _swigc__p_wxLayoutConstraints
,
50017 _swigc__p_wxListBox
,
50018 _swigc__p_wxListEvent
,
50019 _swigc__p_wxListItem
,
50020 _swigc__p_wxListItemAttr
,
50021 _swigc__p_wxListView
,
50022 _swigc__p_wxListbook
,
50023 _swigc__p_wxListbookEvent
,
50024 _swigc__p_wxMaximizeEvent
,
50025 _swigc__p_wxMemoryDC
,
50027 _swigc__p_wxMenuBar
,
50028 _swigc__p_wxMenuEvent
,
50029 _swigc__p_wxMenuItem
,
50030 _swigc__p_wxMouseCaptureChangedEvent
,
50031 _swigc__p_wxMouseCaptureLostEvent
,
50032 _swigc__p_wxMouseEvent
,
50033 _swigc__p_wxMoveEvent
,
50034 _swigc__p_wxNavigationKeyEvent
,
50035 _swigc__p_wxNcPaintEvent
,
50036 _swigc__p_wxNotebook
,
50037 _swigc__p_wxNotebookEvent
,
50038 _swigc__p_wxNotifyEvent
,
50039 _swigc__p_wxObject
,
50040 _swigc__p_wxPCXHandler
,
50041 _swigc__p_wxPNGHandler
,
50042 _swigc__p_wxPNMHandler
,
50043 _swigc__p_wxPaintEvent
,
50044 _swigc__p_wxPaletteChangedEvent
,
50045 _swigc__p_wxPaperSize
,
50046 _swigc__p_wxPickerBase
,
50049 _swigc__p_wxPyCommandEvent
,
50050 _swigc__p_wxPyControl
,
50051 _swigc__p_wxPyEvent
,
50052 _swigc__p_wxPyImageHandler
,
50053 _swigc__p_wxPyListCtrl
,
50054 _swigc__p_wxPySizer
,
50055 _swigc__p_wxPyTreeCtrl
,
50056 _swigc__p_wxPyTreeItemData
,
50057 _swigc__p_wxPyValidator
,
50058 _swigc__p_wxQueryNewPaletteEvent
,
50059 _swigc__p_wxRadioBox
,
50060 _swigc__p_wxRadioButton
,
50062 _swigc__p_wxScrollBar
,
50063 _swigc__p_wxScrollEvent
,
50064 _swigc__p_wxScrollWinEvent
,
50065 _swigc__p_wxSearchCtrl
,
50066 _swigc__p_wxSetCursorEvent
,
50067 _swigc__p_wxShowEvent
,
50068 _swigc__p_wxSimpleHelpProvider
,
50070 _swigc__p_wxSizeEvent
,
50072 _swigc__p_wxSizerItem
,
50073 _swigc__p_wxSlider
,
50074 _swigc__p_wxSpinButton
,
50075 _swigc__p_wxSpinCtrl
,
50076 _swigc__p_wxSpinEvent
,
50077 _swigc__p_wxStaticBitmap
,
50078 _swigc__p_wxStaticBox
,
50079 _swigc__p_wxStaticBoxSizer
,
50080 _swigc__p_wxStaticLine
,
50081 _swigc__p_wxStaticText
,
50082 _swigc__p_wxStdDialogButtonSizer
,
50083 _swigc__p_wxString
,
50084 _swigc__p_wxSysColourChangedEvent
,
50085 _swigc__p_wxTGAHandler
,
50086 _swigc__p_wxTIFFHandler
,
50087 _swigc__p_wxTextAttr
,
50088 _swigc__p_wxTextCtrl
,
50089 _swigc__p_wxTextUrlEvent
,
50090 _swigc__p_wxToggleButton
,
50091 _swigc__p_wxToolBar
,
50092 _swigc__p_wxToolBarBase
,
50093 _swigc__p_wxToolBarToolBase
,
50094 _swigc__p_wxToolbook
,
50095 _swigc__p_wxToolbookEvent
,
50096 _swigc__p_wxTreeEvent
,
50097 _swigc__p_wxTreeItemId
,
50098 _swigc__p_wxTreebook
,
50099 _swigc__p_wxTreebookEvent
,
50100 _swigc__p_wxUpdateUIEvent
,
50101 _swigc__p_wxValidator
,
50102 _swigc__p_wxVisualAttributes
,
50103 _swigc__p_wxWindow
,
50104 _swigc__p_wxWindowBase
,
50105 _swigc__p_wxWindowCreateEvent
,
50106 _swigc__p_wxWindowDestroyEvent
,
50107 _swigc__p_wxXPMHandler
,
50111 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50113 static swig_const_info swig_const_table
[] = {
50114 {0, 0, 0, 0.0, 0, 0}};
50119 /* -----------------------------------------------------------------------------
50120 * Type initialization:
50121 * This problem is tough by the requirement that no dynamic
50122 * memory is used. Also, since swig_type_info structures store pointers to
50123 * swig_cast_info structures and swig_cast_info structures store pointers back
50124 * to swig_type_info structures, we need some lookup code at initialization.
50125 * The idea is that swig generates all the structures that are needed.
50126 * The runtime then collects these partially filled structures.
50127 * The SWIG_InitializeModule function takes these initial arrays out of
50128 * swig_module, and does all the lookup, filling in the swig_module.types
50129 * array with the correct data and linking the correct swig_cast_info
50130 * structures together.
50132 * The generated swig_type_info structures are assigned staticly to an initial
50133 * array. We just loop though that array, and handle each type individually.
50134 * First we lookup if this type has been already loaded, and if so, use the
50135 * loaded structure instead of the generated one. Then we have to fill in the
50136 * cast linked list. The cast data is initially stored in something like a
50137 * two-dimensional array. Each row corresponds to a type (there are the same
50138 * number of rows as there are in the swig_type_initial array). Each entry in
50139 * a column is one of the swig_cast_info structures for that type.
50140 * The cast_initial array is actually an array of arrays, because each row has
50141 * a variable number of columns. So to actually build the cast linked list,
50142 * we find the array of casts associated with the type, and loop through it
50143 * adding the casts to the list. The one last trick we need to do is making
50144 * sure the type pointer in the swig_cast_info struct is correct.
50146 * First off, we lookup the cast->type name to see if it is already loaded.
50147 * There are three cases to handle:
50148 * 1) If the cast->type has already been loaded AND the type we are adding
50149 * casting info to has not been loaded (it is in this module), THEN we
50150 * replace the cast->type pointer with the type pointer that has already
50152 * 2) If BOTH types (the one we are adding casting info to, and the
50153 * cast->type) are loaded, THEN the cast info has already been loaded by
50154 * the previous module so we just ignore it.
50155 * 3) Finally, if cast->type has not already been loaded, then we add that
50156 * swig_cast_info to the linked list (because the cast->type) pointer will
50158 * ----------------------------------------------------------------------------- */
50168 #define SWIGRUNTIME_DEBUG
50172 SWIG_InitializeModule(void *clientdata
) {
50174 swig_module_info
*module_head
;
50175 static int init_run
= 0;
50177 clientdata
= clientdata
;
50179 if (init_run
) return;
50182 /* Initialize the swig_module */
50183 swig_module
.type_initial
= swig_type_initial
;
50184 swig_module
.cast_initial
= swig_cast_initial
;
50186 /* Try and load any already created modules */
50187 module_head
= SWIG_GetModule(clientdata
);
50189 swig_module
.next
= module_head
->next
;
50190 module_head
->next
= &swig_module
;
50192 /* This is the first module loaded */
50193 swig_module
.next
= &swig_module
;
50194 SWIG_SetModule(clientdata
, &swig_module
);
50197 /* Now work on filling in swig_module.types */
50198 #ifdef SWIGRUNTIME_DEBUG
50199 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50201 for (i
= 0; i
< swig_module
.size
; ++i
) {
50202 swig_type_info
*type
= 0;
50203 swig_type_info
*ret
;
50204 swig_cast_info
*cast
;
50206 #ifdef SWIGRUNTIME_DEBUG
50207 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50210 /* if there is another module already loaded */
50211 if (swig_module
.next
!= &swig_module
) {
50212 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50215 /* Overwrite clientdata field */
50216 #ifdef SWIGRUNTIME_DEBUG
50217 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50219 if (swig_module
.type_initial
[i
]->clientdata
) {
50220 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50221 #ifdef SWIGRUNTIME_DEBUG
50222 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50226 type
= swig_module
.type_initial
[i
];
50229 /* Insert casting types */
50230 cast
= swig_module
.cast_initial
[i
];
50231 while (cast
->type
) {
50232 /* Don't need to add information already in the list */
50234 #ifdef SWIGRUNTIME_DEBUG
50235 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50237 if (swig_module
.next
!= &swig_module
) {
50238 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50239 #ifdef SWIGRUNTIME_DEBUG
50240 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50244 if (type
== swig_module
.type_initial
[i
]) {
50245 #ifdef SWIGRUNTIME_DEBUG
50246 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50251 /* Check for casting already in the list */
50252 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50253 #ifdef SWIGRUNTIME_DEBUG
50254 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50256 if (!ocast
) ret
= 0;
50261 #ifdef SWIGRUNTIME_DEBUG
50262 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50265 type
->cast
->prev
= cast
;
50266 cast
->next
= type
->cast
;
50272 /* Set entry in modules->types array equal to the type */
50273 swig_module
.types
[i
] = type
;
50275 swig_module
.types
[i
] = 0;
50277 #ifdef SWIGRUNTIME_DEBUG
50278 printf("**** SWIG_InitializeModule: Cast List ******\n");
50279 for (i
= 0; i
< swig_module
.size
; ++i
) {
50281 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50282 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50283 while (cast
->type
) {
50284 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50288 printf("---- Total casts: %d\n",j
);
50290 printf("**** SWIG_InitializeModule: Cast List ******\n");
50294 /* This function will propagate the clientdata field of type to
50295 * any new swig_type_info structures that have been added into the list
50296 * of equivalent types. It is like calling
50297 * SWIG_TypeClientData(type, clientdata) a second time.
50300 SWIG_PropagateClientData(void) {
50302 swig_cast_info
*equiv
;
50303 static int init_run
= 0;
50305 if (init_run
) return;
50308 for (i
= 0; i
< swig_module
.size
; i
++) {
50309 if (swig_module
.types
[i
]->clientdata
) {
50310 equiv
= swig_module
.types
[i
]->cast
;
50312 if (!equiv
->converter
) {
50313 if (equiv
->type
&& !equiv
->type
->clientdata
)
50314 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50316 equiv
= equiv
->next
;
50336 /* Python-specific SWIG API */
50337 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50338 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50339 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50341 /* -----------------------------------------------------------------------------
50342 * global variable support code.
50343 * ----------------------------------------------------------------------------- */
50345 typedef struct swig_globalvar
{
50346 char *name
; /* Name of global variable */
50347 PyObject
*(*get_attr
)(void); /* Return the current value */
50348 int (*set_attr
)(PyObject
*); /* Set the value */
50349 struct swig_globalvar
*next
;
50352 typedef struct swig_varlinkobject
{
50354 swig_globalvar
*vars
;
50355 } swig_varlinkobject
;
50357 SWIGINTERN PyObject
*
50358 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50359 return PyString_FromString("<Swig global variables>");
50362 SWIGINTERN PyObject
*
50363 swig_varlink_str(swig_varlinkobject
*v
) {
50364 PyObject
*str
= PyString_FromString("(");
50365 swig_globalvar
*var
;
50366 for (var
= v
->vars
; var
; var
=var
->next
) {
50367 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50368 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50370 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50375 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50376 PyObject
*str
= swig_varlink_str(v
);
50377 fprintf(fp
,"Swig global variables ");
50378 fprintf(fp
,"%s\n", PyString_AsString(str
));
50384 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50385 swig_globalvar
*var
= v
->vars
;
50387 swig_globalvar
*n
= var
->next
;
50394 SWIGINTERN PyObject
*
50395 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50396 PyObject
*res
= NULL
;
50397 swig_globalvar
*var
= v
->vars
;
50399 if (strcmp(var
->name
,n
) == 0) {
50400 res
= (*var
->get_attr
)();
50405 if (res
== NULL
&& !PyErr_Occurred()) {
50406 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50412 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50414 swig_globalvar
*var
= v
->vars
;
50416 if (strcmp(var
->name
,n
) == 0) {
50417 res
= (*var
->set_attr
)(p
);
50422 if (res
== 1 && !PyErr_Occurred()) {
50423 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50428 SWIGINTERN PyTypeObject
*
50429 swig_varlink_type(void) {
50430 static char varlink__doc__
[] = "Swig var link object";
50431 static PyTypeObject varlink_type
;
50432 static int type_init
= 0;
50434 const PyTypeObject tmp
50436 PyObject_HEAD_INIT(NULL
)
50437 0, /* Number of items in variable part (ob_size) */
50438 (char *)"swigvarlink", /* Type name (tp_name) */
50439 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50440 0, /* Itemsize (tp_itemsize) */
50441 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50442 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50443 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50444 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50445 0, /* tp_compare */
50446 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50447 0, /* tp_as_number */
50448 0, /* tp_as_sequence */
50449 0, /* tp_as_mapping */
50452 (reprfunc
)swig_varlink_str
, /* tp_str */
50453 0, /* tp_getattro */
50454 0, /* tp_setattro */
50455 0, /* tp_as_buffer */
50457 varlink__doc__
, /* tp_doc */
50458 0, /* tp_traverse */
50460 0, /* tp_richcompare */
50461 0, /* tp_weaklistoffset */
50462 #if PY_VERSION_HEX >= 0x02020000
50463 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50465 #if PY_VERSION_HEX >= 0x02030000
50468 #ifdef COUNT_ALLOCS
50469 0,0,0,0 /* tp_alloc -> tp_next */
50472 varlink_type
= tmp
;
50473 varlink_type
.ob_type
= &PyType_Type
;
50476 return &varlink_type
;
50479 /* Create a variable linking object for use later */
50480 SWIGINTERN PyObject
*
50481 SWIG_Python_newvarlink(void) {
50482 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50486 return ((PyObject
*) result
);
50490 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50491 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50492 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50494 size_t size
= strlen(name
)+1;
50495 gv
->name
= (char *)malloc(size
);
50497 strncpy(gv
->name
,name
,size
);
50498 gv
->get_attr
= get_attr
;
50499 gv
->set_attr
= set_attr
;
50500 gv
->next
= v
->vars
;
50506 SWIGINTERN PyObject
*
50508 static PyObject
*_SWIG_globals
= 0;
50509 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50510 return _SWIG_globals
;
50513 /* -----------------------------------------------------------------------------
50514 * constants/methods manipulation
50515 * ----------------------------------------------------------------------------- */
50517 /* Install Constants */
50519 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50522 for (i
= 0; constants
[i
].type
; ++i
) {
50523 switch(constants
[i
].type
) {
50524 case SWIG_PY_POINTER
:
50525 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50527 case SWIG_PY_BINARY
:
50528 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50535 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50541 /* -----------------------------------------------------------------------------*/
50542 /* Fix SwigMethods to carry the callback ptrs when needed */
50543 /* -----------------------------------------------------------------------------*/
50546 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50547 swig_const_info
*const_table
,
50548 swig_type_info
**types
,
50549 swig_type_info
**types_initial
) {
50551 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50552 const char *c
= methods
[i
].ml_doc
;
50553 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50555 swig_const_info
*ci
= 0;
50556 const char *name
= c
+ 10;
50557 for (j
= 0; const_table
[j
].type
; ++j
) {
50558 if (strncmp(const_table
[j
].name
, name
,
50559 strlen(const_table
[j
].name
)) == 0) {
50560 ci
= &(const_table
[j
]);
50565 size_t shift
= (ci
->ptype
) - types
;
50566 swig_type_info
*ty
= types_initial
[shift
];
50567 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50568 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50569 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50572 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50574 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50576 strncpy(buff
, "swig_ptr: ", 10);
50578 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50579 methods
[i
].ml_doc
= ndoc
;
50591 /* -----------------------------------------------------------------------------*
50592 * Partial Init method
50593 * -----------------------------------------------------------------------------*/
50598 SWIGEXPORT
void SWIG_init(void) {
50601 /* Fix SwigMethods to carry the callback ptrs when needed */
50602 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50604 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50605 d
= PyModule_GetDict(m
);
50607 SWIG_InitializeModule(0);
50608 SWIG_InstallConstants(d
,swig_const_table
);
50611 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50612 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50613 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50614 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50615 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50616 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50617 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50618 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50619 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50620 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50621 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50622 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50623 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50624 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50625 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50626 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50627 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50628 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50629 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50630 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50631 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50632 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50633 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50634 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50635 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50636 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50637 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
50638 SWIG_Python_SetConstant(d
, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP
)));
50639 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START
)));
50640 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE
)));
50641 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END
)));
50642 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50643 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50644 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50645 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50646 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50647 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50648 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50649 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50650 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50651 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50652 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50653 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50654 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50655 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50656 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50657 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50658 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50659 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50660 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50661 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50662 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50663 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50664 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50665 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50666 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50667 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50668 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50669 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50670 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50671 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50672 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50673 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50674 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50675 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50676 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50677 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50678 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50679 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50680 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50681 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50682 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50683 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50684 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50685 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50686 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50687 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50688 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50689 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50690 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50691 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50692 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50693 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50694 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50695 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50696 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50697 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50698 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50699 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50700 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50701 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50702 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50703 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50704 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50705 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50706 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50707 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50708 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50709 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50710 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50711 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50712 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50713 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50714 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50715 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50716 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50717 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50719 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50720 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50721 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50722 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50723 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50724 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50725 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50726 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50727 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50728 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50729 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50730 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50731 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50732 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50733 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50734 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50735 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50736 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50737 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50738 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50739 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50740 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50741 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50742 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50743 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50744 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50745 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50746 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50747 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50748 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50749 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50750 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50751 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50753 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50754 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50755 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50756 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50757 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50758 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50759 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50760 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50761 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50768 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50769 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50770 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50771 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50772 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50773 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50774 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50775 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50776 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50777 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50778 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50779 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50780 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50781 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50782 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50783 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50784 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50785 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50786 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50787 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50788 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50789 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50790 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50791 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50792 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50793 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50794 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50795 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50796 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50797 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50798 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50799 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50800 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50801 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50802 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50803 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50804 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50805 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50806 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50807 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50808 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50809 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50810 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50811 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50812 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50813 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50814 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50815 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50816 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50817 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50818 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50819 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50820 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50821 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50822 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50823 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50824 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50825 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50826 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50827 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50828 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50829 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50830 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50831 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50832 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50833 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50834 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50835 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50836 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50837 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50838 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50839 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50840 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50841 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50842 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50843 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50844 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50845 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50846 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50847 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50848 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50849 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50850 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50851 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50852 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50853 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50854 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50855 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50856 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50870 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50875 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50878 // Map renamed classes back to their common name for OOR
50879 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50881 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50882 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50883 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50884 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50885 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50886 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50887 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50888 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50889 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50890 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50891 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50892 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50893 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50894 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50895 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50896 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50897 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50898 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50899 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50900 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50901 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50902 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50903 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50904 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50905 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50906 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50907 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50908 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50909 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50910 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50911 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50912 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50913 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50914 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50915 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50916 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50917 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50918 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50919 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50920 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50921 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50922 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50923 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50924 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50925 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50926 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50927 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50928 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50929 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50930 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50931 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50932 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50936 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50938 // Map renamed classes back to their common name for OOR
50939 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50940 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50942 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50943 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50944 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50945 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50946 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50947 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50948 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50949 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50950 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50951 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50952 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50954 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50956 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50957 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50958 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50959 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50960 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50961 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50962 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50963 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50964 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50965 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50966 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50967 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50968 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50969 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50970 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50971 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50972 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50973 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50974 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50975 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50976 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50977 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50978 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50979 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50980 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50981 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50982 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50983 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50984 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50985 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50986 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50987 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50988 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50989 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50990 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50991 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50992 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50993 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50994 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50995 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50996 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50997 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50998 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50999 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51000 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51001 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51002 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51003 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51004 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51005 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));